selinux-refpolicy.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* read_file_perms vs mmap_read_file_perms
@ 2019-02-09 10:25 Russell Coker
  2019-02-09 14:07 ` Chris PeBenito
  0 siblings, 1 reply; 3+ messages in thread
From: Russell Coker @ 2019-02-09 10:25 UTC (permalink / raw)
  To: selinux-refpolicy

define(`read_file_perms',`{ getattr open read lock ioctl }')                                                                                                                                                                       
define(`mmap_read_file_perms',`{ getattr open map read ioctl }')

I think that the general expectation would be that mmap_read_file_perms is a 
superset of read_file_perms.  Is there any reason why mmap_read_file_perms 
doesn't include lock permission?  If not I think we should add it to avoid 
surprises.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/




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

end of thread, other threads:[~2019-02-10  0:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-09 10:25 read_file_perms vs mmap_read_file_perms Russell Coker
2019-02-09 14:07 ` Chris PeBenito
2019-02-10  0:04   ` Russell Coker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).