CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/09/27 04:54:21

Modified files:
        usr.bin/ipcs   : Tag: OPENBSD_7_8 ipcs.c 

Log message:
In ipcs(1) use shm_cpid to determine whether a shared memory segment is in use.
As since kern_sysctl.c r1.490 shm_internal is always NULL.
from dgl@; OK deraadt@

sysctl KERN_SYSVIPC_SEM_INFO was leaking the sem_base kernel pointer to 
userland.
This was used by ipcs(1), so change to use sem_ctime instead to decide if it
should show the semaphore.
Found independently by me and a report from Bruce Dang of Calif.io (minutes 
apart).
from dgl@; OK deraadt@

this is errata/7.8/062_sysvipc.patch.sig

Reply via email to