]> Pileus Git - ~andy/linux/commit
SELinux: allow seek operations on the file exposing policy
authorEric Paris <eparis@redhat.com>
Thu, 16 Feb 2012 20:08:39 +0000 (15:08 -0500)
committerEric Paris <eparis@redhat.com>
Mon, 9 Apr 2012 16:22:30 +0000 (12:22 -0400)
commit47a93a5bcb131879d4425d4559e90ad82990825d
tree93bc837f9ffbd3f2ed6f7e44e2d2773714b9ada0
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
SELinux: allow seek operations on the file exposing policy

sesearch uses:
lseek(3, 0, SEEK_SET)                   = -1 ESPIPE (Illegal seek)

Make that work.

Signed-off-by: Eric Paris <eparis@redhat.com>
security/selinux/selinuxfs.c