Bugtraq mailing list archives
Re: xmms/xchat full access shared memory segments (and Mozilla)
From: Ian Freislich <iang () digs iafrica com>
Date: Sun, 16 Dec 2001 08:27:49 +0200
Hi Don't think that Linux has much to do with the permissions of the IPC, that's pretty much left up to the program. However, FWIW on my system (FreeBSD) I checked because I use xmms as well it appears that Mozilla has the same problem: [copernicus] ~ $ ipcs -p -m Shared Memory: T ID KEY MODE OWNER GROUP CPID LPID m 262146 0 --rwarwarwa ianf guest 54951 331 m 1769475 0 --rwarwarwa ianf guest 91109 331 [copernicus] ~ $ ps -p 54951 PID TT STAT TIME COMMAND 54951 p8- S 147:52.84 xmms [copernicus] ~ $ ps -p 91109 PID TT STAT TIME COMMAND 91109 ?? S 15:20.62 ./mozilla-bin
On slackware 8 : bash-2.05$ ipcs -m ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 4216960 mayhem 777 196608 2 dest 0x00000000 7636737 mayhem 777 196608 2 dest
bash-2.05$ ipcs -p -m ------ Shared Memory Creator/Last-op -------- shmid owner cpid lpid 4216960 mayhem 3921 1406 7636737 mayhem 26206 26209 bash-2.05$ cat /proc/3921/cmdline ; echo /opt/gnome/bin/xmms bash-2.05$ cat /proc/26206/cmdline ; echo /opt/gnome/bin/xchat bash-2.05$
-- Ian Freislich
Current thread:
- Re: xmms/xchat full access shared memory segments (and Mozilla) Ian Freislich (Dec 17)
- <Possible follow-ups>
- Re: xmms/xchat full access shared memory segments (and Mozilla) Ian Freislich (Dec 17)