[apparmor] [patch 15/XX] parser: update test features file for af_unix feature

Steve Beattie steve at nxnw.org
Sat Aug 23 07:23:12 UTC 2014


This patch tells the parser to do af_unix processing while running the
parser sanity tests, letting the af_unix tests generate the correct
results.

Signed-off-by: Steve Beattie <steve at nxnw.org>
---
 parser/tst/features_files/features.all |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Index: b/parser/tst/features_files/features.all
===================================================================
--- a/parser/tst/features_files/features.all
+++ b/parser/tst/features_files/features.all
@@ -23,7 +23,9 @@ profile {yes
 mount {mask {mount umount
 }
 }
-network {af_mask {unspec unix local inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock max
+network {af_unix {yes
+}
+af_mask {unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock
 }
 }
 file {mask {create read write exec append mmap_exec link lock
@@ -40,7 +42,9 @@ change_hat {yes
 }
 policy {set_load {yes
 }
-versions {v6 {yes
+versions {v7 {yes
+}
+v6 {yes
 }
 v5 {yes
 }

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140823/caa3ed4d/attachment.pgp>


More information about the AppArmor mailing list