All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Bacarella <mbac@nyct.net>
To: linux-kernel@vger.kernel.org
Subject: Question about /proc/kmsg semantics..
Date: Tue, 1 May 2001 00:52:37 -0400	[thread overview]
Message-ID: <20010501005237.A2776@sync.nyct.net> (raw)

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.

             reply	other threads:[~2001-05-01  4:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-01  4:52 Michael Bacarella [this message]
2001-05-01  5:33 ` Question about /proc/kmsg semantics H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010501005237.A2776@sync.nyct.net \
    --to=mbac@nyct.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.