All of lore.kernel.org
 help / color / mirror / Atom feed
* Why does SELinux treat access(file, W_OK) the same way as write(fd, "XYZ")?
@ 2006-09-20 15:27 Daniel J Walsh
  2006-09-20 21:03 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2006-09-20 15:27 UTC (permalink / raw)
  To: selinux

Shouldn't the access(file, W_OK) be treated as a getattr rather then a 
write access?

Several apps including the kernel do access checks on open file 
descriptors and we end up having to write dontaudit rules on {read write 
append} when what we really only want to allow the getattr.

Dan

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2006-09-20 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 15:27 Why does SELinux treat access(file, W_OK) the same way as write(fd, "XYZ")? Daniel J Walsh
2006-09-20 21:03 ` Stephen Smalley

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.