NetBSD/src LvHWpzf — sys/compat/linux/common linux_ipc.c, sys/kern sysv_shm.c
Fix stupid bugs in linux_sys_shmctl(): the index could be out of bound (page fault) and there was no proper locking. Maybe we should just remove LINUX_SHM_STAT, like compat_linux32.
Version | Delta | File | |
---|---|---|---|
1.138 | +22 | -2 | sys/kern/sysv_shm.c |
1.57 | +7 | -3 | sys/compat/linux/common/linux_ipc.c |
1.54 | +3 | -1 | sys/sys/shm.h |
+32 | -6 | 3 files |