www/py-pyweblib: Mark DEPRECATED
- Python 2 only (implicit relative imports)
- Fails to import on Python 3
- No consumers in the tree
- Set EXPIRATION_DATE 2026-12-17
x11/xautomation: Mark DEPRECATED
- xte cannot move the pointer on current Xorg servers
- Upstream inactive since 2015
- No consumers in the tree
- Use x11/xdotool instead
- Set EXPIRATION_DATE 2026-12-17
amd64/pt.c: Clear ToPa PMI status for stray interrupts
An inactive tracing session might encounter stray ToPA PMI
interrupts, in which case the interrupt handler skips processing
the interrupt but fails to reset the ToPA status bit.
amd64/pt.c: Plug a 'pt_backend_alloc_thread' error path memory leak
The thread-mode allocation method failed to release the previously
allocate `pt_ctx` structure on error.
Fixes: 310162ea218a
amd64/pt.c: Align ToPA table to page size
The Intel SDM states that the ToPA table must by 4k-aligned, and any
alignment issues will cause an operational error and disable tracing.
The default buffer size prevented this from happening, but a smaller
buffer size could hit this issue. Fix this by explicitly allocating
the ToPA table with malloc_aligned.
Fixes: 310162ea218a
unix: Do not copy out internalized SCM_RIGHTS on MSG_PEEK
recvmsg(2) with MSG_PEEK on a queued SCM_RIGHTS message copied the
control data out in its internalized form, an in-kernel struct file
pointer per descriptor, instead of as file descriptors. The
stream/seqpacket receive method noted this in an XXXGL comment; the
datagram peek path behaved the same way.
On a peek, return the SCM_RIGHTS message with -1 in place of each
descriptor. A descriptor is a non-negative integer, so -1 tells the
caller that descriptors are queued without installing any; they are
delivered by the next non-peek receive. Other control messages (e.g.
SCM_CREDS) are still returned. Document this in unix(4).
Reviewed by: glebius, markj
Suggested by: glebius
Pull Request: https://github.com/freebsd/freebsd-src/pull/2469
Signed-off-by: Patrick Crandol <patrick at crandol.com>
tests: unix: Check that MSG_PEEK returns -1 for SCM_RIGHTS
Add a regression test that a MSG_PEEK receive of a queued SCM_RIGHTS
message returns -1 in place of the descriptor, while other control
messages, here SCM_CREDS, are still returned, and that the following
receive still delivers the descriptor.
Signed-off-by: Patrick Crandol <patrick at crandol.com>