Add kernel_service class and access vector definition
PATCH 1/1 Add kernel_service class and access vector definition
The kernel_service class and permissions are now defined in the mainline kernel, and thus need to be reserved in the policy (thankfully there is no conflicting definition already there). With this patch applied, a make in policy/flask yields identical headers to the latest mainline kernel headers.
policy/flask/security_classes +3 -0
@@ -116,4 +116,7 @@ class x_synthetic_event # userspace class x_application_data # userspace +# kernel services that need to override task security, e.g. cachefiles +class kernel_service + # FLASK
policy/flask/access_vectors +6 -0
@@ -782,3 +782,9 @@ paste_after_confirm copy } + +class kernel_service +{ + use_as_override + create_files_as +}
Signature · 2 lines
Stephen Smalley National Security Agency
PATCH 1/1 Add kernel_service class and access vector definition
Quoted 5 lines · Stephen Smalley
The
kernel_serviceclass and permissions are now defined in the mainline kernel, and thus need to be reserved in the policy (thankfully there is no conflicting definition already there). With this patch applied, a make in policy/flask yields identical headers to the latest mainline kernel headers.
certainly an ACK from me.
-Eric
PATCH 1/1 Add kernel_service class and access vector definition
In reply to Stephen SmalleyQuoted 5 lines · Stephen Smalley
The
kernel_serviceclass and permissions are now defined in the mainline kernel, and thus need to be reserved in the policy (thankfully there is no conflicting definition already there). With this patch applied, a make in policy/flask yields identical headers to the latest mainline kernel headers.
Merged.
Quoted 27 lines
Index: refpolicy/policy/flask/security_classes
===================================================================policy/flask/security_classes +3
-0@@ -116,4 +116,7 @@ class x_synthetic_event # userspace class x_application_data # userspace +# kernel services that need to override task security, e.g. cachefiles +class kernel_service + # FLASKIndex: refpolicy/policy/flask/access_vectors
===================================================================policy/flask/access_vectors +6
-0@@ -782,3 +782,9 @@ paste_after_confirm copy } + +class kernel_service +{ + use_as_override + create_files_as +}
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150