Created
March 23, 2024 10:45
-
-
Save lemenkov/0e17b9ea4d2b58687669238df1e307a1 to your computer and use it in GitHub Desktop.
benoitb.te
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module benoitb 1.0; | |
require { | |
type user_home_t; | |
type init_t; | |
class file { execute execute_no_trans ioctl map open read }; | |
class lnk_file read; | |
} | |
#============= init_t ============== | |
allow init_t user_home_t:file { execute execute_no_trans ioctl open read }; | |
#!!!! This avc can be allowed using the boolean 'domain_can_mmap_files' | |
allow init_t user_home_t:file map; | |
allow init_t user_home_t:lnk_file read; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment