Skip to content

Commit a6b58e3

Browse files
committed
Minor docs update, and initial SELinux work.
1 parent 6c48c20 commit a6b58e3

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed

docs/OpenAKC_Admin_Guide.odt

44 Bytes
Binary file not shown.

docs/OpenAKC_Admin_Guide.pdf

9 Bytes
Binary file not shown.

resources/openakc.pp

3.03 KB
Binary file not shown.

resources/openakc.te

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
module openakc 1.0;
3+
4+
require {
5+
type sysctl_t;
6+
type systemd_hwdb_etc_t;
7+
type udev_var_run_t;
8+
type hi_reserved_port_t;
9+
type var_lib_t;
10+
type ifconfig_exec_t;
11+
type sshd_t;
12+
type hostname_exec_t;
13+
type proc_kcore_t;
14+
type sysctl_dev_t;
15+
type hwdata_t;
16+
class file { execute execute_no_trans getattr map open read };
17+
class dir { create read search setattr };
18+
class tcp_socket name_connect;
19+
}
20+
21+
#============= sshd_t ==============
22+
23+
#!!!! This avc can be allowed using the boolean 'nis_enabled'
24+
allow sshd_t hi_reserved_port_t:tcp_socket name_connect;
25+
26+
#!!!! This avc can be allowed using the boolean 'domain_can_mmap_files'
27+
allow sshd_t hostname_exec_t:file map;
28+
allow sshd_t hostname_exec_t:file { execute execute_no_trans open read };
29+
allow sshd_t hwdata_t:file { open read };
30+
allow sshd_t ifconfig_exec_t:file { execute open read };
31+
allow sshd_t proc_kcore_t:file getattr;
32+
allow sshd_t sysctl_dev_t:dir search;
33+
allow sshd_t sysctl_t:dir read;
34+
allow sshd_t sysctl_t:file getattr;
35+
36+
#!!!! This avc can be allowed using the boolean 'domain_can_mmap_files'
37+
allow sshd_t systemd_hwdb_etc_t:file map;
38+
allow sshd_t udev_var_run_t:file { open read };
39+
40+
#!!!! This avc can be allowed using the boolean 'polyinstantiation_enabled'
41+
allow sshd_t var_lib_t:dir { create setattr };
42+
allow sshd_t var_lib_t:file { getattr open read };

0 commit comments

Comments
 (0)