selinux-policy/refpolicy/policy/global_tunables

113 lines
3.2 KiB
Plaintext
Raw Normal View History

2005-06-23 20:27:06 +00:00
#
# This file is for the declaration of global booleans and tunables.
# To change the default value at build time, the tunables.conf
# file should be used.
#
2005-09-15 21:03:29 +00:00
## Allow making anonymous memory executable, e.g.
## for runtime-code generation or executable stack.
2005-06-13 20:44:23 +00:00
gen_tunable(allow_execmem,false)
2005-09-15 21:03:29 +00:00
## Allow making a modified private file
## mapping executable (text relocation).
2005-06-13 20:44:23 +00:00
gen_tunable(allow_execmod,false)
2005-09-15 21:03:29 +00:00
## Allow making the stack executable via mprotect.
## Also requires allow_execmem.
gen_tunable(allow_execstack,false)
2005-06-23 20:27:06 +00:00
## Allow gpg executable stack
2005-06-16 20:34:57 +00:00
gen_tunable(allow_gpg_execstack,false)
2005-06-23 20:27:06 +00:00
## Allow system to run with kerberos
2005-06-13 20:44:23 +00:00
gen_tunable(allow_kerberos,false)
2005-09-16 13:36:26 +00:00
## allow host key based authentication
gen_tunable(allow_ssh_keysign,false)
2005-09-27 19:40:44 +00:00
## Allow sysadm to ptrace all processes
gen_tunable(allow_ptrace,false)
2005-08-03 17:56:26 +00:00
## Allow users to connect to mysql
gen_tunable(allow_user_mysql_connect,false)
2005-06-23 20:27:06 +00:00
## Allow system to run with NIS
2005-06-13 20:44:23 +00:00
gen_tunable(allow_ypbind,false)
2005-06-23 20:27:06 +00:00
## Allow system cron jobs to relabel filesystem
## for restoring file contexts.
2005-06-13 20:44:23 +00:00
gen_tunable(cron_can_relabel,false)
2005-06-23 20:27:06 +00:00
## Enable extra rules in the cron domain
## to support fcron.
gen_tunable(fcron_crond,false)
2005-06-08 13:12:00 +00:00
2005-08-23 17:26:19 +00:00
## Allow BIND to write the master zone files.
## Generally this is used for dynamic DNS.
gen_tunable(named_write_master_zones,false)
2005-06-23 20:27:06 +00:00
## Allow reading of default_t files.
2005-06-13 20:44:23 +00:00
gen_tunable(read_default_t,false)
2005-09-19 21:17:45 +00:00
## Allow applications to read untrusted content
## If this is disallowed, Internet content has
## to be manually relabeled for read access to be granted
gen_tunable(read_untrusted_content,false)
2005-06-23 19:57:15 +00:00
## Allow ssh to run from inetd instead of as a daemon.
gen_tunable(run_ssh_inetd,false)
2005-06-23 20:27:06 +00:00
## Enabling secure mode disallows programs, such as
## newrole, from transitioning to administrative
## user domains.
2005-06-21 17:01:45 +00:00
gen_bool(secure_mode,false)
2005-09-13 13:06:07 +00:00
## Allow squid to connect to all ports, not just
## HTTP, FTP, and Gopher ports.
gen_tunable(squid_connect_any,false)
2005-06-23 19:57:15 +00:00
## Allow ssh logins as sysadm_r:sysadm_t
gen_tunable(ssh_sysadm_login,false)
2005-06-23 20:27:06 +00:00
## Allow staff_r users to search the sysadm home
## dir and read files (such as ~/.bashrc)
2005-06-13 20:44:23 +00:00
gen_tunable(staff_read_sysadm_file,false)
2005-06-23 20:27:06 +00:00
## Support NFS home directories
2005-06-13 20:44:23 +00:00
gen_tunable(use_nfs_home_dirs,false)
2005-06-23 20:27:06 +00:00
## Support SAMBA home directories
2005-06-13 20:44:23 +00:00
gen_tunable(use_samba_home_dirs,false)
2005-06-23 20:27:06 +00:00
## Allow regular users direct mouse access
2005-06-13 20:44:23 +00:00
gen_tunable(user_direct_mouse,false)
2005-06-23 20:27:06 +00:00
## Allow users to read system messages.
2005-06-13 20:44:23 +00:00
gen_tunable(user_dmesg,false)
2005-06-23 20:27:06 +00:00
## Allow users to control network interfaces
## (also needs USERCTL=true)
2005-06-13 20:44:23 +00:00
gen_tunable(user_net_control,false)
2005-06-23 20:27:06 +00:00
## Control users use of ping and traceroute
gen_tunable(user_ping,false)
2005-06-23 20:27:06 +00:00
## Allow user to r/w noextattrfile (FAT, CDROM, FLOPPY)
2005-06-13 20:44:23 +00:00
gen_tunable(user_rw_noexattrfile,false)
2005-06-23 20:27:06 +00:00
## Allow users to rw usb devices
2005-06-13 20:44:23 +00:00
gen_tunable(user_rw_usb,false)
2005-06-23 20:27:06 +00:00
## Allow users to run TCP servers (bind to ports and accept connection from
## the same domain and outside users) disabling this forces FTP passive mode
## and may change other protocols.
2005-06-13 20:44:23 +00:00
gen_tunable(user_tcp_server,false)
2005-06-23 20:27:06 +00:00
## Allow w to display everyone
2005-06-13 20:44:23 +00:00
gen_tunable(user_ttyfile_stat,false)
2005-09-19 21:17:45 +00:00
## Allow applications to write untrusted content
## If this is disallowed, no Internet content
## will be stored.
gen_tunable(write_untrusted_content,false)