public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question about /proc/kmsg semantics..
@ 2001-05-01  4:52 Michael Bacarella
  2001-05-01  5:33 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Bacarella @ 2001-05-01  4:52 UTC (permalink / raw)
  To: linux-kernel

Two pronged:

I've seen a couple of patches in the archives to make open()/close()
on /proc/kmsg do more than NOP. As of 2.4.4, klogd still needs to
run as root since access is checked on read() rather than once at
open(). I can't find the rationale as to why they're rejected.

Also, why is reading /proc/kmsg a privileged operation, yet dmesg
can happily print out the entire ring via (do_)syslog() ?

Thanks

-- 
Michael Bacarella <mbac@nyct.net>
Technical Staff / System Development,
New York Connect.Net, Ltd.

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

end of thread, other threads:[~2001-05-01  5:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-01  4:52 Question about /proc/kmsg semantics Michael Bacarella
2001-05-01  5:33 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox