Home | History | Annotate | Download | only in shmat

Lines Matching refs:shmat

19  * Test for CVE-2017-5669 which allows us to map the nil page using shmat.
21 * When the bug is present shmat(..., (void *)1, SHM_RND) will round address
23 * in place, shmat it will return EINVAL instead. We also check to see if the
30 * See commit 95e91b831f (ipc/shm: Fix shmat mmap nil-page protection)
36 * See commit a73ab244f0da (Revert "ipc/shm: Fix shmat mmap nil-page protect...)
37 * See commit 8f89c007b6de (ipc/shm: fix shmat() nil address after round-dow...)
77 * shmat() for 0 (or < PAGESIZE with RND flag) has to fail with REMAPs
80 shm_addr = shmat(shm_id, ((void *)1), SHM_RND | SHM_REMAP);
84 tst_res(TPASS, "shmat returned EINVAL");
88 "The bug was not triggered, but the shmat error is unexpected");