selinux-policy/refpolicy/policy/global_tunables

179 lines
5.0 KiB
Plaintext
Raw Normal View History

2005-06-23 20:27:06 +00:00
#
# This file is for the declaration of global tunables.
# To change the default value at build time, the booleans.conf
2005-06-23 20:27:06 +00:00
# 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-10-05 19:52:53 +00:00
## Allow ftp servers to modify public files
## used for public file transfer services.
gen_tunable(allow_ftpd_anon_write,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-10-24 01:53:13 +00:00
## Allow gssd to read temp directory.
gen_tunable(allow_gssd_read_tmp,true)
2005-10-05 21:17:22 +00:00
## Allow Apache to modify public files
## used for public file transfer services.
gen_tunable(allow_httpd_anon_write,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-10-25 19:03:15 +00:00
## Allow rsync to modify public files
## used for public file transfer services.
gen_tunable(allow_rsync_anon_write,false)
2005-10-10 18:50:08 +00:00
## Allow sasl to read shadow
gen_tunable(allow_saslauthd_read_shadow,false)
2005-10-24 21:33:46 +00:00
## Allow samba to modify public files
## used for public file transfer services.
gen_tunable(allow_smbd_anon_write,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-09-29 13:32:28 +00:00
## Allow ftp to read and write files in the user home directories
gen_tunable(ftp_home_dir,false)
## Allow ftpd to run directly without inetd
gen_tunable(ftpd_is_daemon,false)
2005-09-29 20:59:00 +00:00
## Allow httpd to use built in scripting (usually php)
gen_tunable(httpd_builtin_scripting,false)
## Allow http daemon to tcp connect
gen_tunable(httpd_can_network_connect,false)
## Allow httpd cgi support
gen_tunable(httpd_enable_cgi,false)
## Allow httpd to read home directories
gen_tunable(httpd_enable_homedirs,false)
## Run SSI execs in system CGI script domain.
gen_tunable(httpd_ssi_exec,false)
## Allow http daemon to communicate with the TTY
gen_tunable(httpd_tty_comm,false)
## Run CGI in the main httpd domain
gen_tunable(httpd_unified,false)
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-10-24 01:53:13 +00:00
## Allow nfs to be exported read/write.
gen_tunable(nfs_export_all_rw,false)
## Allow nfs to be exported read only
gen_tunable(nfs_export_all_ro,false)
2005-10-14 20:00:07 +00:00
## Allow pppd to load kernel modules for certain modems
gen_tunable(pppd_can_insmod,false)
## Allow pppd to be run for a regular user
gen_tunable(pppd_for_user,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-10-24 21:33:46 +00:00
## Allow samba to export user home directories.
gen_tunable(samba_enable_home_dirs,false)
2005-10-22 23:50:23 +00:00
## Allow user spamassassin clients to use the network.
gen_tunable(spamassassin_can_network,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-10-26 21:03:19 +00:00
## Configure stunnel to be a standalone daemon or
## inetd service.
gen_tunable(stunnel_is_daemon,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)