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 <[email protected]>
---
 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
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to