selinux-refpolicy/refpolicy/policy/global_tunables

100 lines
2.8 KiB
Plaintext

#
# 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.
#
## Allow making anonymous memory executable, e.g.
## for runtime-code generation or executable stack.
gen_tunable(allow_execmem,false)
## Allow making a modified private file
## mapping executable (text relocation).
gen_tunable(allow_execmod,false)
## Allow making the stack executable via mprotect.
## Also requires allow_execmem.
gen_tunable(allow_execstack,false)
## Allow gpg executable stack
gen_tunable(allow_gpg_execstack,false)
## Allow system to run with kerberos
gen_tunable(allow_kerberos,false)
## allow host key based authentication
gen_tunable(allow_ssh_keysign,false)
## Allow users to connect to mysql
gen_tunable(allow_user_mysql_connect,false)
## Allow system to run with NIS
gen_tunable(allow_ypbind,false)
## Allow system cron jobs to relabel filesystem
## for restoring file contexts.
gen_tunable(cron_can_relabel,false)
## Enable extra rules in the cron domain
## to support fcron.
gen_tunable(fcron_crond,false)
## Allow BIND to write the master zone files.
## Generally this is used for dynamic DNS.
gen_tunable(named_write_master_zones,false)
## Allow reading of default_t files.
gen_tunable(read_default_t,false)
## Allow ssh to run from inetd instead of as a daemon.
gen_tunable(run_ssh_inetd,false)
## Enabling secure mode disallows programs, such as
## newrole, from transitioning to administrative
## user domains.
gen_bool(secure_mode,false)
## Allow squid to connect to all ports, not just
## HTTP, FTP, and Gopher ports.
gen_tunable(squid_connect_any,false)
## Allow ssh logins as sysadm_r:sysadm_t
gen_tunable(ssh_sysadm_login,false)
## Allow staff_r users to search the sysadm home
## dir and read files (such as ~/.bashrc)
gen_tunable(staff_read_sysadm_file,false)
## Support NFS home directories
gen_tunable(use_nfs_home_dirs,false)
## Support SAMBA home directories
gen_tunable(use_samba_home_dirs,false)
## Allow regular users direct mouse access
gen_tunable(user_direct_mouse,false)
## Allow users to read system messages.
gen_tunable(user_dmesg,false)
## Allow users to control network interfaces
## (also needs USERCTL=true)
gen_tunable(user_net_control,false)
## Control users use of ping and traceroute
gen_tunable(user_ping,false)
## Allow user to r/w noextattrfile (FAT, CDROM, FLOPPY)
gen_tunable(user_rw_noexattrfile,false)
## Allow users to rw usb devices
gen_tunable(user_rw_usb,false)
## 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.
gen_tunable(user_tcp_server,false)
## Allow w to display everyone
gen_tunable(user_ttyfile_stat,false)