-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add SELinux CIL policy source files (#1124)
Common Intermediate Language is a format of SELinux policy source
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -354,6 +354,7 @@ Cabal | |
Cassius | ||
Ceylon | ||
CHeader | ||
Cil | ||
Clojure | ||
ClojureC | ||
ClojureScript | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
; 20 lines 15 code 3 comments 2 blanks | ||
;============= etcd_t ============== | ||
(allow etcd_t proc_sysctl_t (dir (search))) | ||
(allow etcd_t proc_sysctl_t (file (read open))) | ||
(allow etcd_t procfs_t (dir (search getattr))) | ||
(allow etcd_t procfs_t (lnk_file (read))) | ||
(allow etcd_t self (dir (read open search))) | ||
(allow etcd_t self (fifo_file (write read))) | ||
|
||
;============= kernel_t ============== | ||
(allow kernel_t bin_t (dir (search))) | ||
(allow kernel_t bin_t (file (read execute_no_trans open map execute))) | ||
(allow kernel_t debugfs_t (dir (search))) | ||
(allow kernel_t device_t (blk_file (create setattr))) | ||
(allow kernel_t device_t (chr_file (write create setattr))) | ||
(allow kernel_t self (capability (dac_override mknod))) | ||
(allow kernel_t self (dir (write add_name search))) | ||
(allow kernel_t self (file (write create open))) | ||
|
||
(filecon "/.extra(/.*)?" any (system_u object_r extra_t (systemLow systemLow))) |