SELinux: create new open permission
authorEric Paris <eparis@redhat.com>
Thu, 28 Feb 2008 17:58:40 +0000 (12:58 -0500)
committerJames Morris <jmorris@namei.org>
Fri, 18 Apr 2008 10:26:06 +0000 (20:26 +1000)
Adds a new open permission inside SELinux when 'opening' a file.  The idea
is that opening a file and reading/writing to that file are not the same
thing.  Its different if a program had its stdout redirected to /tmp/output
than if the program tried to directly open /tmp/output. This should allow
policy writers to more liberally give read/write permissions across the
policy while still blocking many design and programing flaws SELinux is so
good at catching today.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Reviewed-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found