fix stupid _depend define errors (s/ifdef/define/g)

This commit is contained in:
Chris PeBenito 2005-05-02 19:19:06 +00:00
parent 67484fced4
commit f360f82f54
1 changed files with 28 additions and 28 deletions

View File

@ -394,7 +394,7 @@ allow $1 self:dir search;
allow $1 self:file { getattr read };
')
ifdef(`kernel_get_selinuxfs_mount_point_depend',`
define(`kernel_get_selinuxfs_mount_point_depend',`
type proc_t;
class dir search;
class lnk_file read;
@ -411,7 +411,7 @@ allow $1 proc_t:dir { getattr search read };
allow $1 proc_t:{ lnk_file file } { getattr read };
')
ifdef(`kernel_read_system_state_depend',`
define(`kernel_read_system_state_depend',`
type proc_t;
class dir { search getattr read };
class lnk_file { getattr read };
@ -427,7 +427,7 @@ requires_block_template(kernel_ignore_read_system_state_depend)
allow $1 proc_t:file read;
')
ifdef(`kernel_ignore_read_system_state_depend',`
define(`kernel_ignore_read_system_state_depend',`
type proc_t;
class file read;
')
@ -442,7 +442,7 @@ allow $1 proc_t:dir { getattr search read };
allow $1 proc_mdstat_t:file { getattr read };
')
ifdef(`kernel_read_software_raid_state_depend',`
define(`kernel_read_software_raid_state_depend',`
type proc_t, proc_mdstat_t;
class dir { search getattr read };
class file { getattr read };
@ -458,7 +458,7 @@ allow $1 proc_t:dir { getattr search read };
allow $1 proc_kcore_t:file getattr;
')
ifdef(`kernel_get_core_interface_attributes_depend',`
define(`kernel_get_core_interface_attributes_depend',`
type proc_t, proc_kcore_t;
class dir { search getattr read };
class file getattr;
@ -509,7 +509,7 @@ allow $1 proc_net_t:dir { getattr search read };
allow $1 proc_net_t:file { getattr read };
')
ifdef(`kernel_read_network_state_depend',`
define(`kernel_read_network_state_depend',`
type proc_t, proc_net_t;
class dir { search getattr read };
class file { getattr read };
@ -527,7 +527,7 @@ allow $1 sysctl_dev_t:dir { getattr search read };
allow $1 sysctl_dev_t:file { getattr read };
')
ifdef(`kernel_read_device_sysctl_depend',`
define(`kernel_read_device_sysctl_depend',`
type proc_t, sysctl_t, sysctl_dev_t;
class dir { search getattr read };
class file { getattr read };
@ -544,7 +544,7 @@ allow $1 sysctl_t:dir { getattr search read };
allow $1 sysctl_dev_t:file { getattr read write };
')
ifdef(`kernel_modify_device_sysctl_depend',`
define(`kernel_modify_device_sysctl_depend',`
type proc_t, sysctl_t, sysctl_dev_t;
class dir { search getattr read };
class file { getattr read write };
@ -561,7 +561,7 @@ allow $1 sysctl_t:dir { getattr search read };
allow $1 sysctl_vm_t:file { getattr read };
')
ifdef(`kernel_read_virtual_memory_sysctl_depend',`
define(`kernel_read_virtual_memory_sysctl_depend',`
type proc_t, sysctl_t, sysctl_vm_t;
class dir { search getattr read };
class file { getattr read };
@ -578,7 +578,7 @@ allow $1 sysctl_t:dir { getattr search read };
allow $1 sysctl_vm_t:file { getattr read write };
')
ifdef(`kernel_modify_virtual_memory_sysctl_depend',`
define(`kernel_modify_virtual_memory_sysctl_depend',`
type proc_t, sysctl_t, sysctl_vm_t;
class dir { search getattr read };
class file { getattr read write };
@ -596,7 +596,7 @@ allow $1 sysctl_net_t:dir { getattr search read };
allow $1 sysctl_net_t:file { getattr read };
')
ifdef(`kernel_read_network_sysctl_depend',`
define(`kernel_read_network_sysctl_depend',`
type proc_t, sysctl_t, sysctl_net_t;
class dir { search getattr read };
class file { getattr read };
@ -614,7 +614,7 @@ allow $1 sysctl_net_t:dir { getattr search read };
allow $1 sysctl_net_t:file { getattr read write };
')
ifdef(`kernel_modify_network_sysctl_depend',`
define(`kernel_modify_network_sysctl_depend',`
type proc_t, sysctl_t, sysctl_net_t;
class dir { search getattr read };
class file { getattr read write };
@ -632,7 +632,7 @@ allow $1 sysctl_net_t:dir { getattr search read };
allow $1 sysctl_net_unix_t:file { getattr read };
')
ifdef(`kernel_read_net_sysctl_depend',`
define(`kernel_read_net_sysctl_depend',`
type proc_t, sysctl_t, sysctl_net_t, sysctl_net_unix_t;
class dir { search getattr read };
class file { getattr read };
@ -650,7 +650,7 @@ allow $1 sysctl_net_t:dir { getattr search read };
allow $1 sysctl_net_unix_t:file { getattr read write };
')
ifdef(`kernel_modify_net_sysctl_depend',`
define(`kernel_modify_net_sysctl_depend',`
type proc_t, sysctl_t, sysctl_net_t, sysctl_net_unix_t;
class dir { search getattr read };
class file { getattr read write };
@ -668,7 +668,7 @@ allow $1 sysctl_kernel_t:dir { getattr search read };
allow $1 sysctl_hotplug_t:file { getattr read };
')
ifdef(`kernel_read_hotplug_sysctl_depend',`
define(`kernel_read_hotplug_sysctl_depend',`
type proc_t, sysctl_t, sysctl_kernel_t, sysctl_hotplug_t;
class dir { search getattr read };
class file { getattr read };
@ -686,7 +686,7 @@ allow $1 sysctl_kernel_t:dir { getattr search read };
allow $1 sysctl_hotplug_t:file { getattr read write };
')
ifdef(`kernel_modify_hotplug_sysctl_depend',`
define(`kernel_modify_hotplug_sysctl_depend',`
type proc_t, sysctl_t, sysctl_kernel_t, sysctl_hotplug_t;
class dir { search getattr read };
class file { getattr read write };
@ -704,7 +704,7 @@ allow $1 sysctl_kernel_t:dir { getattr search read };
allow $1 sysctl_modprobe_t:file { getattr read };
')
ifdef(`kernel_read_modprobe_sysctl_depend',`
define(`kernel_read_modprobe_sysctl_depend',`
type proc_t, sysctl_t, sysctl_kernel_t, sysctl_modprobe_t;
class dir { search getattr read };
class file { getattr read };
@ -722,7 +722,7 @@ allow $1 sysctl_kernel_t:dir { getattr search read };
allow $1 sysctl_modprobe_t:file { getattr read write };
')
ifdef(`kernel_modify_modprobe_sysctl_depend',`
define(`kernel_modify_modprobe_sysctl_depend',`
type proc_t, sysctl_t, sysctl_kernel_t, sysctl_modprobe_t;
class dir { search getattr read };
class file { getattr read write };
@ -740,7 +740,7 @@ allow $1 sysctl_kernel_t:dir { getattr search read };
allow $1 sysctl_kernel_t:file { getattr read };
')
ifdef(`kernel_read_kernel_sysctl_depend',`
define(`kernel_read_kernel_sysctl_depend',`
type proc_t, sysctl_t, sysctl_kernel_t;
class dir { search getattr read };
class file { getattr read };
@ -758,7 +758,7 @@ allow $1 sysctl_kernel_t:dir { getattr search read };
allow $1 sysctl_kernel_t:file { getattr read write };
')
ifdef(`kernel_modify_kernel_sysctl_depend',`
define(`kernel_modify_kernel_sysctl_depend',`
type proc_t, sysctl_t, sysctl_kernel_t;
class dir { search getattr read };
class file { getattr read write };
@ -776,7 +776,7 @@ allow $1 sysctl_fs_t:dir { getattr search read };
allow $1 sysctl_fs_t:file { getattr read };
')
ifdef(`kernel_read_filesystem_sysctl_depend',`
define(`kernel_read_filesystem_sysctl_depend',`
type proc_t, sysctl_t, sysctl_fs_t;
class dir { search getattr read };
class file { getattr read };
@ -794,7 +794,7 @@ allow $1 sysctl_fs_t:dir { getattr search read };
allow $1 sysctl_fs_t:file { getattr read write };
')
ifdef(`kernel_modify_filesystem_sysctl_depend',`
define(`kernel_modify_filesystem_sysctl_depend',`
type proc_t, sysctl_t, sysctl_fs_t;
class dir { search getattr read };
class file { getattr read write };
@ -811,7 +811,7 @@ allow $1 sysctl_irq_t:dir { getattr search read };
allow $1 sysctl_irq_t:file { getattr read };
')
ifdef(`kernel_read_irq_sysctl_depend',`
define(`kernel_read_irq_sysctl_depend',`
type proc_t, sysctl_irq_t;
class dir { search getattr read };
class file { getattr read };
@ -828,7 +828,7 @@ allow $1 sysctl_irq_t:dir { getattr search read };
allow $1 sysctl_irq_t:file { getattr read write };
')
ifdef(`kernel_modify_irq_sysctl_depend',`
define(`kernel_modify_irq_sysctl_depend',`
type proc_t, sysctl_irq_t;
class dir { search getattr read };
class file { getattr read write };
@ -846,7 +846,7 @@ allow $1 sysctl_rpc_t:dir { getattr search read };
allow $1 sysctl_rpc_t:file { getattr read };
')
ifdef(`kernel_read_rpc_sysctl_depend',`
define(`kernel_read_rpc_sysctl_depend',`
type proc_t, proc_net_t, sysctl_rpc_t;
class dir { search getattr read };
class file { getattr read };
@ -864,7 +864,7 @@ allow $1 sysctl_rpc_t:dir { getattr search read };
allow $1 sysctl_rpc_t:file { getattr read write };
')
ifdef(`kernel_modify_rpc_sysctl_depend',`
define(`kernel_modify_rpc_sysctl_depend',`
type proc_t, proc_net_t, sysctl_rpc_t;
class dir { search getattr read };
class file { getattr read write };
@ -888,7 +888,7 @@ kernel_read_irq_sysctl($1,optional)
kernel_read_rpc_sysctl($1,optional)
')
ifdef(`kernel_read_all_sysctl_depend',`
define(`kernel_read_all_sysctl_depend',`
kernel_read_device_sysctl_depend
kernel_read_virtual_memory_sysctl_depend
kernel_read_network_sysctl_depend
@ -919,7 +919,7 @@ kernel_modify_irq_sysctl($1,optional)
kernel_modify_rpc_sysctl($1,optional)
')
ifdef(`kernel_modify_all_sysctl_depend',`
define(`kernel_modify_all_sysctl_depend',`
kernel_modify_device_sysctl_depend
kernel_modify_virtual_memory_sysctl_depend
kernel_modify_network_sysctl_depend