noexec on /dev/shm

Lennart Poettering mzerqung at 0pointer.de
Wed Dec 15 06:34:17 UTC 2010


On Tue, 14.12.10 22:19, John Reiser (jreiser at bitwagon.com) wrote:

> Also, the claim "The API for /dev/shm is shm_open()" is incorrect.
> See the other message for the history.  When something is in the file
> system, then by default the file system APIs (including creat, open,
> read, write, close, execve, dlopen, ...) are legitimate uses.
> (Originally [System V] shared memory was *not* in the file system,
> and this caused problems.)

Don't conflate SysV and POSIX shared memory. They are completely
orthogonal. SysV shared memory does not appear in /dev/shm.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list