linux: Implement setfsuid(2) and setfsgid(2) as no-ops
These system calls exist to decouple the Linux filesystem credentials
from the effective credentials, avoiding signal exposure during
privilege transitions.
The signal permission model that motivated this was revised
in Linux 2.0, making these syscalls obsolete for new applications.
Implement both syscalls as no-ops that return the current effective
UID/GID as the previous filesystem UID/GID.
Linux returns the previous filesystem UID/GID for these syscalls
with no error indication.
Same for the equivalent setfsuid16() & setfsgid16() system calls.
Signed-off-by: Ricardo Branco <rbranco at suse.de>
PR: 294879
Reviewed by: kib, pouria
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2175
net/tcpstats-{kmod,reader}: Add new ports
tcpstats-kmod is a FreeBSD kernel module that exports per-connection
TCP socket statistics via a /dev/tcpstats character device.
Provides 320-byte fixed-size records containing addresses, ports,
TCP state, congestion control parameters, RTT measurements,
retransmit counts, and ECN state.
Includes a tcpstats(4) man page.
tcpstats-reader is a companion CLI tool that reads from /dev/tcpstats
and outputs JSON Lines to stdout.
Includes a tcpstats-reader(1) man page.
WWW: https://github.com/randomizedcoder/bsd-xtcp
Signed-off-by: randomizedcoder <dave.seddon.ca at gmail.com>
Approved by: fuz (ports)
Reviewed by: fuz, pouria
Pull-Request: https://github.com/freebsd/freebsd-ports/pull/497
devel/capnproto: Remove BROKEN because it's actually working
There are 2 failing testcases out of 480 in kj-heavy-tests-run:
kj/async-unix-test.c++:977: failed: expected hupPromise.poll(waitScope)
[ FAIL ] async-unix-test.c++:941: UnixEventPort whenWriteDisconnected() (221 μs)
kj/async-io-test.c++:2953: failed: expected abortedPromise.poll(io.waitScope)
[ FAIL ] async-io-test.c++:2940: OS TwoWayPipe whenWriteDisconnected() (46 μs)
and this will be addressed but should not prevent us from building packages.
Scope of this seems to be limited to FreeBSD 15+ and exists at least since
capnproto 1.3+ but was actually only noticed when running the testsuite.
PR: 294259
See: https://github.com/capnproto/capnproto/issues/2594
amdsmu: Add Krackan Point support
Reviewed by: obiwac, emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56619
multimedia/gstreamer1-plugins: Introduce GST_PLUGIN_DEPENDS
Some plugins such as graphics/gstreamer1-plugins-vulkan has a dependency
of wayland which previously were handled by passing both CONFIGURE_ARGS and
MESON_ARGS via the gstreamer1 "framework" as the framework isn't
aware if dependencies to get what would eventually end up in MESON_ARGS in
correct order. This approach broke with commit
bf193dc1da282c769d3291817a8378adbd762ac7 as we now only make use of
MESON_ARGS instead of incorrectly using CONFIGURE_ARGS to pass
MESON_ARGS. In order to fix this introduce GST_PLUGIN_DEPENDS which
gets appended after gstreamer's current framework logic in MESON_ARGS.
It only supports defining one dependency but it's sufficient fow now.