码迷,mamicode.com
首页 > 系统相关 > 详细

SELinux Policy Macros

时间:2015-06-23 19:37:11      阅读:327      评论:0      收藏:0      [点我收藏+]

标签:

参考:http://selinuxproject.org/page/NB_RefPolicy

Directory Macros

macroexpansion
getattr_dir_perms getattr
setattr_dir_perms
setattr
search_dir_perms
getattr search open
list_dir_perms
getattr search open read lock ioctl
add_entry_dir_perms
getattr search open lock ioctl write add_name
del_entry_dir_perms
getattr search open lock ioctl write remove_name
rw_dir_perms
open read getattr lock search ioctl add_name remove_name write
create_dir_perms
getattr create
rename_dir_perms
getattr rename
delete_dir_perms
getattr rmdir
manage_dir_perms
create open getattr setattr read write link unlink rename search add_name remove_name reparent rmdir lock ioctl
relabelfrom_dir_perms
getattr relabelfrom
relabelto_dir_perms
getattr relabelto
relabel_dir_perms
getattr relabelfrom relabelto

File macros 

macro
expansion
getattr_file_perms getattr
setattr_file_perms setattr
read_file_perms getattr open read lock ioctl
mmap_file_perms getattr open read execute ioctl
exec_file_perms getattr open read execute ioctl execute_no_trans
append_file_perms getattr open append lock ioctl
write_file_perms getattr open write append lock ioctl
rw_file_perms getattr open read write append ioctl lock
create_file_perms getattr create open
rename_file_perms getattr rename
delete_file_perms getattr unlink
manage_file_perms create open getattr setattr read write append rename link unlink ioctl lock
relabelfrom_file_perms getattr relabelfrom
relabelto_file_perms getattr relabelto
relabel_file_perms getattr relabelfrom relabelto

SELinux Policy Macros

标签:

原文地址:http://www.cnblogs.com/tswcypy/p/4595921.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!