public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* capable open_port() check wrong for kmem
@ 2002-12-10  3:22 carbonated beverage
  2002-12-10  5:45 ` David Wagner
  2002-12-10 11:33 ` Olaf Dietsche
  0 siblings, 2 replies; 9+ messages in thread
From: carbonated beverage @ 2002-12-10  3:22 UTC (permalink / raw)
  To: linux-kernel

hi all,

	I found that I can't open /dev/kmem O_RDONLY.  The open_mem
and open_kmem calls (open_port()) in drivers/char/mem.c checks for
CAP_SYS_RAWIO.

	Is there a possibility of splitting that off into a read and
write pair, i.e. CAP_SYS_RAWIO_WRITE, CAP_SYS_RAWIO_READ?

	If not, is there a way to grant read-only access to /dev/kmem?

-- DN
Daniel

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

end of thread, other threads:[~2002-12-12  2:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-10  3:22 capable open_port() check wrong for kmem carbonated beverage
2002-12-10  5:45 ` David Wagner
2002-12-10  6:27   ` David Schwartz
     [not found]   ` <20021210064134.GA17928@net-ronin.org>
2002-12-10  6:51     ` carbonated beverage
2002-12-12  0:43       ` Chris Wright
2002-12-12  1:38         ` carbonated beverage
2002-12-12  2:11           ` Chris Wright
2002-12-10 11:33 ` Olaf Dietsche
2002-12-11 22:38   ` carbonated beverage

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