Home
last modified time | relevance | path

Searched refs:behavior (Results 1 – 7 of 7) sorted by relevance

/security/
Ddevice_cgroup.c43 enum devcg_behavior behavior; member
165 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online()
183 dev_cgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_online()
188 dev_cgroup->behavior = parent_dev_cgroup->behavior; in devcgroup_online()
200 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_offline()
216 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_css_alloc()
280 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_seq_show()
391 enum devcg_behavior behavior) in verify_new_ex() argument
399 if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
400 if (behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
[all …]
/security/selinux/include/
Dobjsec.h68 unsigned short behavior; /* labeling behavior */ member
/security/smack/
DKconfig29 access rule set once the behavior is well understood.
/security/selinux/ss/
Dpolicydb.h198 u32 behavior; /* labeling behavior for fs_use */ member
Dservices.c2823 sbsec->behavior = c->v.behavior; in security_fs_use()
2835 sbsec->behavior = SECURITY_FS_USE_NONE; in security_fs_use()
2838 sbsec->behavior = SECURITY_FS_USE_GENFS; in security_fs_use()
Dpolicydb.c2157 c->v.behavior = le32_to_cpu(buf[0]); in ocontext_read()
2159 if (c->v.behavior == SECURITY_FS_USE_MNTPOINT) in ocontext_read()
2161 if (c->v.behavior > SECURITY_FS_USE_MAX) in ocontext_read()
3151 buf[0] = cpu_to_le32(c->v.behavior); in ocontext_write()
/security/selinux/
Dhooks.c519 switch (sbsec->behavior) { in selinux_is_sblabel_mnt()
544 if (sbsec->behavior == SECURITY_FS_USE_XATTR) { in sb_finish_set_opts()
765 if (!sbsec->behavior) { in selinux_set_mnt_opts()
792 if (sbsec->behavior == SECURITY_FS_USE_XATTR) { in selinux_set_mnt_opts()
793 sbsec->behavior = SECURITY_FS_USE_MNTPOINT; in selinux_set_mnt_opts()
820 sbsec->behavior = SECURITY_FS_USE_NATIVE; in selinux_set_mnt_opts()
841 sbsec->behavior = SECURITY_FS_USE_MNTPOINT; in selinux_set_mnt_opts()
855 if (sbsec->behavior != SECURITY_FS_USE_XATTR && in selinux_set_mnt_opts()
856 sbsec->behavior != SECURITY_FS_USE_NATIVE) { in selinux_set_mnt_opts()
959 newsbsec->behavior = oldsbsec->behavior; in selinux_sb_clone_mnt_opts()
[all …]