1 |
commit: 4accddc2a2ee81d9ab501b96d866731969af79fa |
2 |
Author: Nicolas Iooss <nicolas.iooss <AT> m4x <DOT> org> |
3 |
AuthorDate: Sat Jul 5 16:40:44 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 29 14:05:28 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=4accddc2 |
7 |
|
8 |
Label /usr/bin/tftpd as tftpd_exec_t |
9 |
|
10 |
This TFTP daemon executable is provided by iputils package in Arch Linux |
11 |
(https://www.archlinux.org/packages/core/x86_64/iputils/files/). |
12 |
|
13 |
--- |
14 |
policy/modules/contrib/tftp.fc | 2 ++ |
15 |
1 file changed, 2 insertions(+) |
16 |
|
17 |
diff --git a/policy/modules/contrib/tftp.fc b/policy/modules/contrib/tftp.fc |
18 |
index 3dd87da..fb0b982 100644 |
19 |
--- a/policy/modules/contrib/tftp.fc |
20 |
+++ b/policy/modules/contrib/tftp.fc |
21 |
@@ -1,5 +1,7 @@ |
22 |
/etc/(x)?inetd\.d/tftp -- gen_context(system_u:object_r:tftpd_conf_t,s0) |
23 |
|
24 |
+/usr/bin/tftpd -- gen_context(system_u:object_r:tftpd_exec_t,s0) |
25 |
+ |
26 |
/usr/sbin/atftpd -- gen_context(system_u:object_r:tftpd_exec_t,s0) |
27 |
/usr/sbin/in\.tftpd -- gen_context(system_u:object_r:tftpd_exec_t,s0) |