diff options
author | 2017-09-14 13:46:04 +0200 | |
---|---|---|
committer | 2017-09-17 11:17:39 +0800 | |
commit | bbcc0fa3e3162e0a012c7b740d3e549b10e3709c (patch) | |
tree | afcb2ea1366fed4b563e0ae9dacd066a29f1d97d /policy/modules/system/fstools.fc | |
parent | chromium: allow mapping own types (diff) | |
download | hardened-refpolicy-bbcc0fa3e3162e0a012c7b740d3e549b10e3709c.tar.gz hardened-refpolicy-bbcc0fa3e3162e0a012c7b740d3e549b10e3709c.tar.bz2 hardened-refpolicy-bbcc0fa3e3162e0a012c7b740d3e549b10e3709c.zip |
dphysswapfile: add interfaces and sysadm access
v2:
add swapfile file context
Diffstat (limited to 'policy/modules/system/fstools.fc')
-rw-r--r-- | policy/modules/system/fstools.fc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc index 71dad308f..494d021e7 100644 --- a/policy/modules/system/fstools.fc +++ b/policy/modules/system/fstools.fc @@ -106,6 +106,8 @@ /usr/sbin/zstreamdump -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/ztest -- gen_context(system_u:object_r:fsadm_exec_t,s0) +/var/swap -- gen_context(system_u:object_r:swapfile_t,s0) + /var/log/fsck(/.*)? gen_context(system_u:object_r:fsadm_log_t,s0) /run/blkid(/.*)? gen_context(system_u:object_r:fsadm_run_t,s0) |