From caa2aa47e6a2342b37df48e2d4314ff05cff8a1b Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Thu, 11 Jun 2020 13:59:47 +0000 Subject: [PATCH] Quick fixup Building is different from on-the-fly testing --- sepolicy/su.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolicy/su.te b/sepolicy/su.te index 32be15a..a0be12a 100644 --- a/sepolicy/su.te +++ b/sepolicy/su.te @@ -136,7 +136,7 @@ allow phhsu_daemon domain:fd { use }; allow phhsu_daemon domain:unix_stream_socket { connectto ioctl getattr getopt read write shutdown }; allow phhsu_daemon self:netlink_kobject_uevent_socket create_socket_perms; allow phhsu_daemon self:{ netlink_tcpdiag_socket } { create_socket_perms nlmsg_write nlmsg_read }; -allow phhsu_daemon self:{ netlink_selinux_socket } { create_socket_perms nlmsg_write nlmsg_read }; +allow phhsu_daemon self:{ netlink_selinux_socket } { create_socket_perms }; allow phhsu_daemon file_type:file create_file_perms; allow phhsu_daemon file_type:dir create_dir_perms;