Next: 8.15 conflict in global
Up: 8 Specification of simplified
Previous: 8.13 Configuring access control
Contents
Subsections
- Syntax
allowadm
[relabel][part_relabel][getsecurity][setenforce][load_policy][net][boot]
[insmod][quotaon][swapon]
[mount][raw_io][ptrace][chroot][search]
[unlabel] [read] [write] [all];
- Meaning
- relabel
Allow to relabel all files. You must also allow getsecurity.
- part_relabel
Allow to relabel files that the domain can write. You must
also allow getsecurity.
- getsecurity
Allow to get security policy decisions, by accessing /selinux.
- setenforce
Allow to toggle enforcing/permissive mode.
- load_policy
Allow to load policy to kernel.
- net
Allow capability CAP_NET_ADMIN(Such as
administrate NIC, route table).
- boot
Allow capabilityCAP_SYS_BOOT. This means allow the
usage of reboot system call.
- insmod
Allow capabilityCAP_SYS_MODULE. This means allow to
install kernel module.
- quotaon
Allow to quotaon.
- swapon
Allow to swapon.
- mount
Allow to mount device.
- raw_io
Allow capability CAP_SYS_RAWIO.This means usage of
ioperm, iopl system call and access to /dev/mem.
- ptrace
Allow to use ptrace.
- chroot
Allow to use chroot.
- unlabel
Allow full access to unlabeled files(Files labeled as
unlabeled_t or file_t). This also allows access to
unsupported file systems. To see what is unsupported see
base_policy/genfs_contexts.
- search
Allow s permission to all files.
- read
Allow r permission to all files.
- write
Allow w permission to all files.
- all
Allows EVERYTHING!!
Next: 8.15 conflict in global
Up: 8 Specification of simplified
Previous: 8.13 Configuring access control
Contents
2005-07-19