Next: 8.14 conflict in global
Up: 8 Specification of Simplified
Previous: 8.12 Configuring access control
Contents
Subsections
allowpriv string;
configures other priveleges.
Configures priviledges to communicate and administrate kernel. For detail of what is granted see allow_admin_xxxx in
macros/seedit_macros.te. For example, to analyze what is allowed
in allowpriv klog_adm see allow_admin_klog_adm macro.
- Syntax
allowpriv load_policysetenforcerelabelpart_relabelgetsecuritygetsecattr;
- Meaning
Allow priviledges to administrate SELinux.
- relabel
Allow to relabel all files. You must also allow
getsecurity and allowpriv search.
- part_relabel
Allow to relabel files that the domain can write. You must
also allow getsecurity. setfscreate operation is also allowed.
- 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.
- setsecparam
Change performance parameter of SELinux via /selinux/avc
- getsecattr
Get security information(such as domain, stored in /proc/pid/attr) of other processes.
- Syntax
allowpriv netbootquotaonmount
rawioptracechrootunlabel
memlockniceresource
timedevcreatesetattrsearchread
writeall
- Meaning
Allow other priviledges.
- 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.
- mount
Allow to mount device.
- rawio
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).
- memlock
Allow capability CAP_IPC_LOCK. This means to lock
memory.
- nice
Allow capability CAP_SYS_NICE. This means process scheduling.
- resource
Allow capability CAP_SYS_RESOURCE. This means usage
of rlimit etc.
- time
Allow capability CAP_SYS_TIME. Thie means modify
system clock.
- sys_admin
The same as POSIX capability CAP_SYS_ADMIN. This
permissions overlaps other permissions, so if you allow
this, not so serious problem. By denying this,
it can restrict sethostname and some ioctl operations.
- tty_config
The same as capability CAP_TTY_CONFIG. Change
keyboard configuration, and usage of vhangup call.
- devcreate
Allow to create device files in directory that the domain can write.
Without this, a process can not create device
file on a directory even it is configured writable.
- setattr
Allow to setattr to files that the domain can s
access. Without this setattr permission is granted in w permission.
- search
Allow s permission to all files.
- read
Allow r permission to all files.
- write
Allow w permission to all files.
- all
This can be used to cancel allowpriv configuration described in global domain.
Next: 8.14 conflict in global
Up: 8 Specification of Simplified
Previous: 8.12 Configuring access control
Contents
2006-02-27