Chris PeBenito e181fe0
Chris PeBenito 3c3c043
policy_module(kernel,1.3.17)
Chris PeBenito 960373d
Chris PeBenito ff7bc14
########################################
Chris PeBenito ff7bc14
#
Chris PeBenito ff7bc14
# Declarations
Chris PeBenito ff7bc14
#
Chris PeBenito ff7bc14
Chris PeBenito 18f25af
# assertion related attributes
Chris PeBenito a266e3c
attribute can_load_kernmodule;
Chris PeBenito a266e3c
attribute can_receive_kernel_messages;
Chris PeBenito a266e3c
Chris PeBenito b518fc2
neverallow ~{ can_load_kernmodule kern_unconfined } self:capability sys_module;
Chris PeBenito 712566e
Chris PeBenito d250634
# domains with unconfined access to kernel resources
Chris PeBenito d250634
attribute kern_unconfined;
Chris PeBenito d250634
Chris PeBenito d250634
# regular entries in proc
Chris PeBenito d250634
attribute proc_type;
Chris PeBenito d250634
Chris PeBenito d250634
# sysctls
Chris PeBenito d250634
attribute sysctl_type;
Chris PeBenito d250634
Chris PeBenito 9fd4b81
role system_r;
Chris PeBenito 9fd4b81
role sysadm_r;
Chris PeBenito 9fd4b81
role staff_r;
Chris PeBenito 9fd4b81
role user_r;
Chris PeBenito 18d59e1
Chris PeBenito 18d59e1
ifdef(`enable_mls',`
Chris PeBenito 18d59e1
	role secadm_r;
Chris PeBenito 2dbd382
	role auditadm_r;
Chris PeBenito 18d59e1
')
Chris PeBenito 9fd4b81
Chris PeBenito a266e3c
#
Chris PeBenito b4cd153
# kernel_t is the domain of kernel threads.
Chris PeBenito b4cd153
# It is also the target type when checking permissions in the system class.
Chris PeBenito b4cd153
# 
Chris PeBenito f0574fa
type kernel_t, can_load_kernmodule;
Chris PeBenito fb0a3a9
domain_base_type(kernel_t)
Chris PeBenito f0574fa
mls_rangetrans_source(kernel_t)
Chris PeBenito f0574fa
role system_r types kernel_t;
Chris PeBenito e070dd2
sid kernel gen_context(system_u:system_r:kernel_t,mls_systemhigh)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
#
Chris PeBenito a1fcff3
# DebugFS
Chris PeBenito a1fcff3
#
Chris PeBenito a1fcff3
Chris PeBenito a1fcff3
type debugfs_t;
Chris PeBenito a1fcff3
fs_type(debugfs_t)
Chris PeBenito a1fcff3
allow debugfs_t self:filesystem associate;
Chris PeBenito e02c61c
genfscon debugfs / gen_context(system_u:object_r:debugfs_t,s0)
Chris PeBenito a1fcff3
Chris PeBenito a1fcff3
#
Chris PeBenito b4cd153
# Procfs types
Chris PeBenito b4cd153
#
Chris PeBenito b4cd153
Chris PeBenito d250634
type proc_t, proc_type;
Chris PeBenito c9428d3
files_mountpoint(proc_t)
Chris PeBenito cbca03f
fs_type(proc_t)
Chris PeBenito e02c61c
genfscon proc / gen_context(system_u:object_r:proc_t,s0)
Chris PeBenito e02c61c
genfscon proc /sysvipc gen_context(system_u:object_r:proc_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# kernel message interface
Chris PeBenito d250634
type proc_kmsg_t, proc_type;
Chris PeBenito e070dd2
genfscon proc /kmsg gen_context(system_u:object_r:proc_kmsg_t,mls_systemhigh)
Chris PeBenito b518fc2
neverallow ~{ can_receive_kernel_messages kern_unconfined } proc_kmsg_t:file ~getattr;
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc kcore: inaccessible
Chris PeBenito d250634
type proc_kcore_t, proc_type;
Chris PeBenito b518fc2
neverallow ~kern_unconfined proc_kcore_t:file ~getattr;
Chris PeBenito e070dd2
genfscon proc /kcore gen_context(system_u:object_r:proc_kcore_t,mls_systemhigh)
Chris PeBenito b4cd153
Chris PeBenito d250634
type proc_mdstat_t, proc_type;
Chris PeBenito e02c61c
genfscon proc /mdstat gen_context(system_u:object_r:proc_mdstat_t,s0)
Chris PeBenito b4cd153
Chris PeBenito d250634
type proc_net_t, proc_type;
Chris PeBenito e02c61c
genfscon proc /net gen_context(system_u:object_r:proc_net_t,s0)
Chris PeBenito b4cd153
Chris PeBenito a3cf80d
type proc_xen_t, proc_type;
Chris PeBenito a3cf80d
genfscon proc /xen gen_context(system_u:object_r:proc_xen_t,s0)
Chris PeBenito a3cf80d
Chris PeBenito b4cd153
#
Chris PeBenito b4cd153
# Sysctl types
Chris PeBenito b4cd153
#
Chris PeBenito b4cd153
Chris PeBenito d250634
# /proc/sys directory, base directory of sysctls
Chris PeBenito d250634
type sysctl_t, sysctl_type;
Chris PeBenito d250634
files_mountpoint(sysctl_t)
Chris PeBenito e02c61c
sid sysctl gen_context(system_u:object_r:sysctl_t,s0)
Chris PeBenito e02c61c
genfscon proc /sys gen_context(system_u:object_r:sysctl_t,s0)
Chris PeBenito d250634
Chris PeBenito b4cd153
# /proc/irq directory and files
Chris PeBenito d250634
type sysctl_irq_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /irq gen_context(system_u:object_r:sysctl_irq_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/net/rpc directory and files
Chris PeBenito d250634
type sysctl_rpc_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /net/rpc gen_context(system_u:object_r:sysctl_rpc_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/sys/fs directory and files
Chris PeBenito d250634
type sysctl_fs_t, sysctl_type;
Chris PeBenito c9428d3
files_mountpoint(sysctl_fs_t)
Chris PeBenito e02c61c
genfscon proc /sys/fs gen_context(system_u:object_r:sysctl_fs_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/sys/kernel directory and files
Chris PeBenito d250634
type sysctl_kernel_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /sys/kernel gen_context(system_u:object_r:sysctl_kernel_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/sys/kernel/modprobe file
Chris PeBenito d250634
type sysctl_modprobe_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /sys/kernel/modprobe gen_context(system_u:object_r:sysctl_modprobe_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/sys/kernel/hotplug file
Chris PeBenito d250634
type sysctl_hotplug_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /sys/kernel/hotplug gen_context(system_u:object_r:sysctl_hotplug_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/sys/net directory and files
Chris PeBenito d250634
type sysctl_net_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /sys/net gen_context(system_u:object_r:sysctl_net_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/sys/net/unix directory and files
Chris PeBenito d250634
type sysctl_net_unix_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /sys/net/unix gen_context(system_u:object_r:sysctl_net_unix_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/sys/vm directory and files
Chris PeBenito d250634
type sysctl_vm_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /sys/vm gen_context(system_u:object_r:sysctl_vm_t,s0)
Chris PeBenito b4cd153
Chris PeBenito b4cd153
# /proc/sys/dev directory and files
Chris PeBenito d250634
type sysctl_dev_t, sysctl_type;
Chris PeBenito e02c61c
genfscon proc /sys/dev gen_context(system_u:object_r:sysctl_dev_t,s0)
Chris PeBenito a266e3c
Chris PeBenito d250634
#
Chris PeBenito d250634
# unlabeled_t is the type of unlabeled objects.
Chris PeBenito d250634
# Objects that have no known labeling information or that
Chris PeBenito d250634
# have labels that are no longer valid are treated as having this type.
Chris PeBenito d250634
#
Chris PeBenito d250634
type unlabeled_t;
Chris PeBenito e070dd2
sid unlabeled gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito d250634
Chris PeBenito d250634
# These initial sids are no longer used, and can be removed:
Chris PeBenito e070dd2
sid any_socket		gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito e02c61c
sid file_labels		gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e070dd2
sid icmp_socket		gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito e070dd2
sid igmp_packet		gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito b518fc2
sid init		gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e070dd2
sid kmod		gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito e070dd2
sid netmsg		gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito e070dd2
sid policy		gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito e070dd2
sid scmp_packet		gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito e02c61c
sid sysctl_modprobe 	gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e02c61c
sid sysctl_fs		gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e02c61c
sid sysctl_kernel	gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e02c61c
sid sysctl_net		gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e02c61c
sid sysctl_net_unix	gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e02c61c
sid sysctl_vm		gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e02c61c
sid sysctl_dev		gen_context(system_u:object_r:unlabeled_t,s0)
Chris PeBenito e070dd2
sid tcp_socket		gen_context(system_u:object_r:unlabeled_t,mls_systemhigh)
Chris PeBenito d250634
Chris PeBenito a266e3c
########################################
Chris PeBenito a266e3c
#
Chris PeBenito a266e3c
# kernel local policy
Chris PeBenito a266e3c
#
Chris PeBenito a266e3c
Chris PeBenito a266e3c
allow kernel_t self:capability *;
Chris PeBenito c381274
allow kernel_t self:process ~{ ptrace setcurrent setexec setfscreate setrlimit execmem execstack execheap };
Chris PeBenito c2c00be
allow kernel_t self:shm create_shm_perms;
Chris PeBenito c2c00be
allow kernel_t self:sem create_sem_perms;
Chris PeBenito a266e3c
allow kernel_t self:msg { send receive };
Chris PeBenito c2c00be
allow kernel_t self:msgq create_msgq_perms;
Chris PeBenito c2c00be
allow kernel_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito c2c00be
allow kernel_t self:unix_stream_socket create_stream_socket_perms;
Chris PeBenito a266e3c
allow kernel_t self:unix_dgram_socket sendto;
Chris PeBenito a266e3c
allow kernel_t self:unix_stream_socket connectto;
Chris PeBenito c2c00be
allow kernel_t self:fifo_file rw_file_perms;
Chris PeBenito 4614e83
allow kernel_t self:sock_file r_file_perms;
Chris PeBenito a266e3c
allow kernel_t self:fd use;
Chris PeBenito a266e3c
Chris PeBenito c2c00be
allow kernel_t proc_t:dir r_dir_perms;
Chris PeBenito c2c00be
allow kernel_t proc_t:{ lnk_file file } r_file_perms;
Chris PeBenito 72fcec8
Chris PeBenito c2c00be
allow kernel_t proc_net_t:dir r_dir_perms;
Chris PeBenito c2c00be
allow kernel_t proc_net_t:file r_file_perms;
Chris PeBenito 72fcec8
Chris PeBenito c2c00be
allow kernel_t proc_mdstat_t:file r_file_perms;
Chris PeBenito 72fcec8
Chris PeBenito a266e3c
allow kernel_t proc_kcore_t:file getattr;
Chris PeBenito 72fcec8
Chris PeBenito a266e3c
allow kernel_t proc_kmsg_t:file getattr;
Chris PeBenito 72fcec8
Chris PeBenito c2c00be
allow kernel_t sysctl_kernel_t:dir r_dir_perms;
Chris PeBenito c2c00be
allow kernel_t sysctl_kernel_t:file r_file_perms;
Chris PeBenito 72fcec8
allow kernel_t sysctl_t:dir r_dir_perms;
Chris PeBenito a266e3c
Chris PeBenito 72fcec8
# Other possible mount points for the root fs are in files
Chris PeBenito 72fcec8
allow kernel_t unlabeled_t:dir mounton;
Chris PeBenito 72fcec8
# Kernel-generated traffic e.g., TCP resets on
Chris PeBenito 72fcec8
# connections with invalidated labels:
Chris PeBenito 72fcec8
allow kernel_t unlabeled_t:packet send;
Chris PeBenito 605ba28
Chris PeBenito bd70373
corenet_non_ipsec_sendrecv(kernel_t)
Chris PeBenito a154cd4
# Kernel-generated traffic e.g., ICMP replies:
Chris PeBenito a154cd4
corenet_raw_sendrecv_all_if(kernel_t)
Chris PeBenito a154cd4
corenet_raw_sendrecv_all_nodes(kernel_t)
Chris PeBenito bf080a4
corenet_raw_send_generic_if(kernel_t)
Chris PeBenito a154cd4
# Kernel-generated traffic e.g., TCP resets:
Chris PeBenito 0fd9dc5
corenet_tcp_sendrecv_all_if(kernel_t)
Chris PeBenito 0fd9dc5
corenet_tcp_sendrecv_all_nodes(kernel_t)
Chris PeBenito bf080a4
corenet_raw_send_generic_node(kernel_t)
Chris PeBenito bf080a4
corenet_raw_send_multicast_node(kernel_t)
Chris PeBenito 006e998
corenet_send_all_packets(kernel_t)
Chris PeBenito a154cd4
Chris PeBenito 605ba28
dev_read_sysfs(kernel_t)
Chris PeBenito 605ba28
dev_search_usbfs(kernel_t)
Chris PeBenito a154cd4
Chris PeBenito a154cd4
# Mount root file system.  Used when loading a policy
Chris PeBenito a154cd4
# from initrd, then mounting the root filesystem
Chris PeBenito a154cd4
fs_mount_all_fs(kernel_t)
Chris PeBenito a154cd4
Chris PeBenito 605ba28
selinux_load_policy(kernel_t)
Chris PeBenito 605ba28
Chris PeBenito 605ba28
term_use_console(kernel_t)
Chris PeBenito 605ba28
Chris PeBenito c9428d3
corecmd_exec_shell(kernel_t)
Chris PeBenito c9428d3
corecmd_list_sbin(kernel_t)
Chris PeBenito a154cd4
# /proc/sys/kernel/modprobe is set to /bin/true if not using modules.
Chris PeBenito c9428d3
corecmd_exec_bin(kernel_t)
Chris PeBenito a154cd4
Chris PeBenito a154cd4
domain_signal_all_domains(kernel_t)
Chris PeBenito 605ba28
domain_search_all_domains_state(kernel_t)
Chris PeBenito 588ffae
Chris PeBenito c9428d3
files_list_root(kernel_t)
Chris PeBenito 712566e
files_list_etc(kernel_t)
Chris PeBenito c9428d3
files_list_home(kernel_t)
Chris PeBenito c9428d3
files_read_usr_files(kernel_t)
Chris PeBenito 588ffae
Chris PeBenito 9779f09
mcs_process_set_categories(kernel_t)
Chris PeBenito 9779f09
Chris PeBenito f0574fa
mls_process_read_up(kernel_t)
Chris PeBenito f0574fa
mls_process_write_down(kernel_t)
Chris PeBenito f0574fa
Chris PeBenito 2db2c7d
ifdef(`targeted_policy',`
Chris PeBenito 9550194
	unconfined_domain(kernel_t)
Chris PeBenito cf6a7d8
')
Chris PeBenito cf6a7d8
Chris PeBenito 7eec657
tunable_policy(`read_default_t',`
Chris PeBenito 7eec657
	files_list_default(kernel_t)
Chris PeBenito 7eec657
	files_read_default_files(kernel_t)
Chris PeBenito 7eec657
	files_read_default_symlinks(kernel_t)
Chris PeBenito 7eec657
	files_read_default_sockets(kernel_t)
Chris PeBenito 7eec657
	files_read_default_pipes(kernel_t)
Chris PeBenito 7eec657
')
Chris PeBenito 7eec657
Chris PeBenito bb7170f
optional_policy(`
Chris PeBenito 18cc016
	hotplug_search_config(kernel_t)
Chris PeBenito 18cc016
')
Chris PeBenito 18cc016
Chris PeBenito bb7170f
optional_policy(`
Chris PeBenito 18cc016
	init_sigchld(kernel_t)
Chris PeBenito 18cc016
')
Chris PeBenito 18cc016
Chris PeBenito bb7170f
optional_policy(`
Chris PeBenito 18cc016
	libs_use_ld_so(kernel_t)
Chris PeBenito 18cc016
	libs_use_shared_libs(kernel_t)
Chris PeBenito 18cc016
')
Chris PeBenito 18cc016
Chris PeBenito bb7170f
optional_policy(`
Chris PeBenito 18cc016
	logging_send_syslog_msg(kernel_t)
Chris PeBenito 18cc016
')
Chris PeBenito 18cc016
Chris PeBenito bb7170f
optional_policy(`
Chris PeBenito 34e722f
	nis_use_ypbind(kernel_t)
Chris PeBenito 34e722f
')
Chris PeBenito 34e722f
Chris PeBenito bb7170f
optional_policy(`
Chris PeBenito 43989f8
	# nfs kernel server needs kernel UDP access.  It is less risky and painful
Chris PeBenito 43989f8
	# to just give it everything.
Chris PeBenito 43989f8
	allow kernel_t self:tcp_socket create_stream_socket_perms;
Chris PeBenito 0377627
	allow kernel_t self:udp_socket create_socket_perms;
Chris PeBenito 43989f8
Chris PeBenito 43989f8
	# nfs kernel server needs kernel UDP access.  It is less risky and painful
Chris PeBenito 43989f8
	# to just give it everything.
Chris PeBenito 43989f8
	corenet_udp_sendrecv_all_if(kernel_t)
Chris PeBenito 43989f8
	corenet_udp_sendrecv_all_nodes(kernel_t)
Chris PeBenito 43989f8
	corenet_udp_sendrecv_all_ports(kernel_t)
Chris PeBenito 0377627
	corenet_udp_bind_all_nodes(kernel_t)
Chris PeBenito b8373ee
	corenet_sendrecv_portmap_client_packets(kernel_t)
Chris PeBenito 35a4b34
	corenet_sendrecv_generic_server_packets(kernel_t)
Chris PeBenito 43989f8
Chris PeBenito 43989f8
	auth_dontaudit_getattr_shadow(kernel_t)
Chris PeBenito 43989f8
Chris PeBenito 43989f8
	sysnet_read_config(kernel_t)
Chris PeBenito 43989f8
Chris PeBenito 43989f8
	rpc_manage_nfs_ro_content(kernel_t)
Chris PeBenito 43989f8
	rpc_manage_nfs_rw_content(kernel_t)
Chris PeBenito 43989f8
	rpc_udp_rw_nfs_sockets(kernel_t) 
Chris PeBenito 43989f8
Chris PeBenito 43989f8
	tunable_policy(`nfs_export_all_ro',`
Chris PeBenito 43989f8
		fs_list_noxattr_fs(kernel_t) 
Chris PeBenito 43989f8
		fs_read_noxattr_fs_files(kernel_t) 
Chris PeBenito 43989f8
		fs_read_noxattr_fs_symlinks(kernel_t) 
Chris PeBenito 43989f8
Chris PeBenito 15fefa4
		auth_read_all_dirs_except_shadow(kernel_t) 
Chris PeBenito 15fefa4
		auth_read_all_files_except_shadow(kernel_t) 
Chris PeBenito 15fefa4
		auth_read_all_symlinks_except_shadow(kernel_t) 
Chris PeBenito 43989f8
	')
Chris PeBenito 43989f8
Chris PeBenito 43989f8
	tunable_policy(`nfs_export_all_rw',`
Chris PeBenito 43989f8
		fs_list_noxattr_fs(kernel_t) 
Chris PeBenito 43989f8
		fs_read_noxattr_fs_files(kernel_t) 
Chris PeBenito 43989f8
		fs_read_noxattr_fs_symlinks(kernel_t) 
Chris PeBenito 43989f8
Chris PeBenito 15fefa4
		auth_manage_all_files_except_shadow(kernel_t)
Chris PeBenito 43989f8
	')
Chris PeBenito 43989f8
')
Chris PeBenito 43989f8
Chris PeBenito bb7170f
optional_policy(`
Chris PeBenito 18cc016
	seutil_read_config(kernel_t)
Chris PeBenito 1815bad
	seutil_read_bin_policy(kernel_t)
Chris PeBenito 18cc016
')
Chris PeBenito 18cc016
Chris PeBenito 588ffae
########################################
Chris PeBenito 588ffae
#
Chris PeBenito 588ffae
# Unlabeled process local policy
Chris PeBenito 588ffae
#
Chris PeBenito 588ffae
Chris PeBenito c98340c
ifdef(`targeted_policy',`
Chris PeBenito c98340c
	allow unlabeled_t self:filesystem associate;
Chris PeBenito c98340c
')
Chris PeBenito 18cc016
Chris PeBenito bb7170f
optional_policy(`
Chris PeBenito 18cc016
	# If you load a new policy that removes active domains, processes can
Chris PeBenito 18cc016
	# get stuck if you do not allow unlabeled processes to signal init.
Chris PeBenito 18cc016
	# If you load an incompatible policy, you should probably reboot,
Chris PeBenito 18cc016
	# since you may have compromised system security.
Chris PeBenito 18cc016
	init_sigchld(unlabeled_t)
Chris PeBenito 18cc016
')
Chris PeBenito b518fc2
Chris PeBenito b518fc2
########################################
Chris PeBenito b518fc2
#
Chris PeBenito b518fc2
# Rules for unconfined acccess to this module
Chris PeBenito b518fc2
#
Chris PeBenito b518fc2
Chris PeBenito b518fc2
allow kern_unconfined proc_type:{ dir file } *;
Chris PeBenito b518fc2
Chris PeBenito b518fc2
allow kern_unconfined sysctl_t:{ dir file } *;
Chris PeBenito b518fc2
Chris PeBenito b518fc2
allow kern_unconfined kernel_t:system *;
Chris PeBenito b518fc2
Chris PeBenito b518fc2
allow kern_unconfined unlabeled_t:dir_file_class_set *;
Chris PeBenito b518fc2
allow kern_unconfined unlabeled_t:filesystem *;
Chris PeBenito b518fc2
allow kern_unconfined unlabeled_t:association *;
Chris PeBenito c5657a2
allow kern_unconfined unlabeled_t:packet *;
Chris PeBenito 3c3c043
allow kern_unconfined unlabeled_t:process ~{ transition dyntransition execmem execstack execheap };
Chris PeBenito b518fc2
Chris PeBenito b518fc2
kernel_rw_all_sysctls(kern_unconfined)