CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/04/16 01:03:15
Modified files:
sys/kern : kern_sysctl.c
usr.bin/ipcs : ipcs.c
Log message:
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).
ok deraadt
