|
Chris PeBenito |
9916c6 |
#
|
|
Chris PeBenito |
4f9f30 |
# This file is for the declaration of global tunables.
|
|
Chris PeBenito |
4f9f30 |
# To change the default value at build time, the booleans.conf
|
|
Chris PeBenito |
9916c6 |
# file should be used.
|
|
Chris PeBenito |
9916c6 |
#
|
|
Chris PeBenito |
9916c6 |
|
|
Chris PeBenito |
375c24 |
########################################
|
|
Chris PeBenito |
375c24 |
#
|
|
Chris PeBenito |
375c24 |
# Common tunables
|
|
Chris PeBenito |
375c24 |
#
|
|
Chris PeBenito |
375c24 |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
a225f9 |
## Allow making the heap executable.
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
a225f9 |
gen_tunable(allow_execheap,false)
|
|
Chris PeBenito |
a225f9 |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
98a8ea |
## Allow making anonymous memory executable, e.g.
|
|
Chris PeBenito |
98a8ea |
## for runtime-code generation or executable stack.
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
34c8fa |
gen_tunable(allow_execmem,false)
|
|
Chris PeBenito |
34c8fa |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
98a8ea |
## Allow making a modified private file
|
|
Chris PeBenito |
98a8ea |
## mapping executable (text relocation).
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
34c8fa |
gen_tunable(allow_execmod,false)
|
|
Chris PeBenito |
34c8fa |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
98a8ea |
## Allow making the stack executable via mprotect.
|
|
Chris PeBenito |
98a8ea |
## Also requires allow_execmem.
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
98a8ea |
gen_tunable(allow_execstack,false)
|
|
Chris PeBenito |
98a8ea |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
d9845a |
## Enable polyinstantiated directory support.
|
|
Chris PeBenito |
d9845a |
##
|
|
Chris PeBenito |
d9845a |
## </desc>
|
|
Chris PeBenito |
d9845a |
gen_tunable(allow_polyinstantiation,false)
|
|
Chris PeBenito |
d9845a |
|
|
Chris PeBenito |
d9845a |
## <desc>
|
|
Chris PeBenito |
d9845a |
##
|
|
Chris PeBenito |
9916c6 |
## Allow system to run with NIS
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
34c8fa |
gen_tunable(allow_ypbind,false)
|
|
Chris PeBenito |
34c8fa |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
3cfd48 |
## Enable reading of urandom for all domains.
|
|
Chris PeBenito |
3cfd48 |
##
|
|
Chris PeBenito |
3cfd48 |
##
|
|
Chris PeBenito |
3cfd48 |
## This should be enabled when all programs
|
|
Chris PeBenito |
3cfd48 |
## are compiled with ProPolice/SSP
|
|
Chris PeBenito |
3cfd48 |
## stack smashing protection. All domains will
|
|
Chris PeBenito |
3cfd48 |
## be allowed to read from /dev/urandom.
|
|
Chris PeBenito |
3cfd48 |
##
|
|
Chris PeBenito |
3cfd48 |
## </desc>
|
|
Chris PeBenito |
3cfd48 |
gen_tunable(global_ssp,false)
|
|
Chris PeBenito |
3cfd48 |
|
|
Chris PeBenito |
3cfd48 |
## <desc>
|
|
Chris PeBenito |
3cfd48 |
##
|
|
Chris PeBenito |
43989f |
## Allow nfs to be exported read/write.
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
43989f |
gen_tunable(nfs_export_all_rw,false)
|
|
Chris PeBenito |
43989f |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
43989f |
## Allow nfs to be exported read only
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
43989f |
gen_tunable(nfs_export_all_ro,false)
|
|
Chris PeBenito |
43989f |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
9916c6 |
## Allow reading of default_t files.
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
34c8fa |
gen_tunable(read_default_t,false)
|
|
Chris PeBenito |
34c8fa |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
9916c6 |
## Support NFS home directories
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
34c8fa |
gen_tunable(use_nfs_home_dirs,false)
|
|
Chris PeBenito |
34c8fa |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
9916c6 |
## Support SAMBA home directories
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
34c8fa |
gen_tunable(use_samba_home_dirs,false)
|
|
Chris PeBenito |
34c8fa |
|
|
Chris PeBenito |
465510 |
########################################
|
|
Chris PeBenito |
465510 |
#
|
|
Chris PeBenito |
465510 |
# Strict policy specific
|
|
Chris PeBenito |
465510 |
#
|
|
Chris PeBenito |
465510 |
|
|
Chris PeBenito |
465510 |
ifdef(`strict_policy',`
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
185272 |
## Allow email client to various content.
|
|
Chris PeBenito |
185272 |
## nfs, samba, removable devices, user temp
|
|
Chris PeBenito |
185272 |
## and untrusted content files
|
|
Chris PeBenito |
185272 |
##
|
|
Chris PeBenito |
185272 |
## </desc>
|
|
Chris PeBenito |
185272 |
gen_tunable(mail_read_content,false)
|
|
Chris PeBenito |
185272 |
|
|
Chris PeBenito |
185272 |
## <desc>
|
|
Chris PeBenito |
185272 |
##
|
|
Chris PeBenito |
cbdb4a |
## Allow applications to read untrusted content
|
|
Chris PeBenito |
cbdb4a |
## If this is disallowed, Internet content has
|
|
Chris PeBenito |
cbdb4a |
## to be manually relabeled for read access to be granted
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
cbdb4a |
gen_tunable(read_untrusted_content,false)
|
|
Chris PeBenito |
cbdb4a |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
9916c6 |
## Allow users to run TCP servers (bind to ports and accept connection from
|
|
Chris PeBenito |
9916c6 |
## the same domain and outside users) disabling this forces FTP passive mode
|
|
Chris PeBenito |
9916c6 |
## and may change other protocols.
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
34c8fa |
gen_tunable(user_tcp_server,false)
|
|
Chris PeBenito |
34c8fa |
|
|
Chris PeBenito |
885b83 |
## <desc>
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
a1fcff |
## Allow applications to write untrusted content
|
|
Chris PeBenito |
a1fcff |
## If this is disallowed, no Internet content
|
|
Chris PeBenito |
a1fcff |
## will be stored.
|
|
Chris PeBenito |
885b83 |
##
|
|
Chris PeBenito |
885b83 |
## </desc>
|
|
Chris PeBenito |
a1fcff |
gen_tunable(write_untrusted_content,false)
|
|
Chris PeBenito |
cbdb4a |
')
|