Module Name: src Committed By: martin Date: Mon Mar 11 18:00:06 UTC 2024
Modified Files: src/sys/kern [netbsd-10]: sysv_shm.c Log Message: Pull up following revision(s) (requested by riastradh in ticket #626): sys/kern/sysv_shm.c: revision 1.142 Avoid overflow when computing kern.ipc.shmmax. Keep shmmax (bytes) and shmall (pages) values aligned and use arithmetic everywhere instead of shifts. Should fix PR 57979 To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.141.26.1 src/sys/kern/sysv_shm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.