libc: add posix_spawnattr_{get,set}execfd_np(3)
If execfd is set, the fexecve(2) is used by posix_spawn() instead of the
provided path.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54862
japanese/proxy2ch: Fix MASTER_SITES and disable Link Time Optimization
Conform MASTER_SITES with the convention of the ports that use Codeberg.
PORTREVISION has been bumped because Link Time Optimization has been
disabled.
Reported by: diizzy
sysutils/devtui: Update 0.33.2 -> 0.34.0
Changes:
New serve functionality where the TUI can be served over ssh and a web UI can
be served over http.
New CLI tools:
cvs2json
html2fmt
jsconstruct
numbers (conversion)
uuiddecode
uuidgenerate
xml2json
yaml2fmt
yamlstruct
Changelog:
https://github.com/skatkov/devtui/releases/tag/v0.34.0
[2 lines not shown]
Bump __FreeBSD_version to 1600011 after changes to eventfd
This covers the commits that updated the API and the commit that exposes
that API in linuxkpi for DRM drivers.
Sponsored by: The FreeBSD Foundation
linuxkpi: Add eventfd_*()
Add <linux/eventfd.h> and expose the `eventfd_*()` API. This is used by
DRM drivers for some time, but the code was commented out so far.
Note that Linux uses `struct eventfd_ctx`, but FreeBSD defines `struct
eventfd`. We define `eventfd_ctx` as a synonym to `eventfd`.
Reviewed by: christos, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50853
eventfd: Add eventfd_signal()
The `eventfd_signal()` function is the equivalent to a write to an
eventfd file descriptor: it bumps the internal counter and wakes up
processes waiting for it.
`eventfd_signal()` is meant to be used by kernel drivers. DRM drivers
will call it through linuxkpi.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50850
eventfd: Add refcounting
An eventfd file descriptor can be used by drivers such as DRM drivers
through linuxkpi. A driver can hold a reference to such a file
regardless of the fact it is used by userland or not.
This patch introduces a refcount in `struct eventfd`, plus the
`eventfd_get()` and `eventfd_put()` functions to acquire and release
references. These functions will be used by DRM drivers for instance.
This structure is internal to `sys/kern/sys_eventfd.c` and not used
anywhere else. Thus it is safe to add a field without breaking anything.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50849
net/liferea: unbreak after 66d6d48a3884
The code assumed that with pygobject > 3.52 we'd also have
glib > 2.86 - but at the time of this commit, we have only
glib 2.84.4. On the downside, this needs to be revisited once
glib is updated.