update net/libtorrent 0.16.27
- major bump (removed symbol and data object sizes changes)
- unbreak tests due to sprinkling libtorrent.a and duplicate symbol
- plist changes
ok bentley@
Implement a different fix for the use-after-free in filt_procattach
from rev 1.207.
Instead of shuffling locks around take a process reference in this
code to prevent the process from exiting under us while sleeping
for the kqueue_ps_list_lock rwlock. This is the same solution that
was used for a similar issue in fork1.
Reported by Acts1631 and OpenAI
Patch provided by OpenAI
OK mvs@
Plug another mbuf leak. In ip6_forward in the ip6_forwarding == 2 case
the mbuf is not freed if it was not put through ipsec.
Unlike the similar IPv4 code in ip_output the version in ip6_forward
needs an m_freem call before the goto senderr.
OK jan@ mvs@
add Q flag/key to show pledge/chroot/unveil usage
Show promises in COMMAND and ps(1) state letters pertaining to pledge,
chroot and unveil usage in PRIV instead of TIME.
To quickly identify programs (un)aware of their privileges and thus
in extend the system's security.
A non-root user it not enough and alternatives like ps(1) -o state,pledge
in tree-mode or wrapped in watch(1) are not nearly as ergonomic as top(1).
p and P are already in use, Q has no meaning, but is free.
OK deraadt
vio: fix control queue handling during reset
At virtio_reset(), the features are reset, so we need to check for
control queue availability in a different way.
After reset, we first need to re-enable the control-queue before we can
use it for configuring multiqueue.
ok jan@