shmat -- wtf owns it?
Okay I've been back and forth through ipc/shm.c and shm.h about 3 or 4 times. Yes, rather cursory of me to not read it 40 times. But, seriously.
Who the FUCK owns a shm segment? I can't see a way to check the creator of a segment of shm in sys_shmat() in ipc/shm.c and I really tried too.
_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/
Quoted 6 lines · john moser
Okay I've been back and forth through
ipc/shm.candshm.habout 3 or 4 times. Yes, rather cursory of me to not read it 40 times. But, seriously.
Who the FUCK owns a shm segment? I can't see a way to check the creator of a segment of shm insys_shmat()inipc/shm.cand I really tried too.
There are uid's and gid's associated with shm segments.
c.f. struct ipc_perm
-- wli