All of lore.kernel.org
 help / color / mirror / Atom feed
* warped security
@ 2002-10-27  8:24 Albert D. Cahalan
  2002-10-27 18:45 ` jw schultz
  0 siblings, 1 reply; 4+ messages in thread
From: Albert D. Cahalan @ 2002-10-27  8:24 UTC (permalink / raw)
  To: linux-kernel


As a non-root user:

a. I can't do readlink() on /proc/1/exe ("ls -l /proc/1/exe")
b. I can do "cat /proc/1/maps" to see what files are mapped

That's backwards. If a user can read /proc/1/cmdline, then
they might as well be permitted to readlink() on /proc/1/exe
as well. Reading /proc/1/maps is quite another matter,
exposing more info than the (prohibited) /proc/1/fd/* does.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-28  7:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-27  8:24 warped security Albert D. Cahalan
2002-10-27 18:45 ` jw schultz
2002-10-28  6:01   ` Albert D. Cahalan
2002-10-28  7:50     ` jw schultz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.