| 1 | # ------------------------------------------------------------------ |
| 2 | # |
| 3 | # Copyright (C) 2002-2005 Novell/SUSE |
| 4 | # |
| 5 | # This program is free software; you can redistribute it and/or |
| 6 | # modify it under the terms of version 2 of the GNU General Public |
| 7 | # License published by the Free Software Foundation. |
| 8 | # |
| 9 | # ------------------------------------------------------------------ |
| 10 | |
| 11 | #include <tunables/global> |
| 12 | |
| 13 | /sbin/portmap { |
| 14 | #include <abstractions/base> |
| 15 | #include <abstractions/nameservice> |
| 16 | |
| 17 | capability net_bind_service, |
| 18 | capability setuid, |
| 19 | capability setgid, |
| 20 | |
| 21 | /etc/bindresvport.blacklist r, |
| 22 | /etc/hosts.allow r, |
| 23 | /etc/hosts.deny r, |
| 24 | /sbin/portmap rmix, |
| 25 | } |