Searched refs:sclass (Results 1 – 9 of 9) sorted by relevance
/security/selinux/include/ |
D | objsec.h | 51 u16 sclass; /* security class of this object */ member 80 u16 sclass; /* security class of this object */ member 118 u16 sclass; /* sock security class */ member
|
D | security.h | 352 const char *fstype, char *name, u16 sclass, 409 extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);
|
/security/selinux/ |
D | hooks.c | 252 isec->sclass = SECCLASS_FILE; in inode_alloc_security() 1449 u16 sclass; in inode_doinit_with_dentry() local 1460 if (isec->sclass == SECCLASS_FILE) in inode_doinit_with_dentry() 1461 isec->sclass = inode_mode_to_security_class(inode->i_mode); in inode_doinit_with_dentry() 1475 sclass = isec->sclass; in inode_doinit_with_dentry() 1533 sclass, NULL, &sid); in inode_doinit_with_dentry() 1571 rc = selinux_genfs_get_sid(dentry, sclass, in inode_doinit_with_dentry() 1654 u16 sclass; in cred_has_capability() local 1664 sclass = initns ? SECCLASS_CAPABILITY : SECCLASS_CAP_USERNS; in cred_has_capability() 1667 sclass = initns ? SECCLASS_CAPABILITY2 : SECCLASS_CAP2_USERNS; in cred_has_capability() [all …]
|
D | nlmsgtab.c | 158 int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) in selinux_nlmsg_lookup() argument 162 switch (sclass) { in selinux_nlmsg_lookup()
|
D | netlabel.c | 452 switch (sksec->sclass) { in selinux_netlbl_sock_rcv_skb() 464 sksec->sid, nlbl_sid, sksec->sclass, perm, ad); in selinux_netlbl_sock_rcv_skb()
|
D | selinuxfs.c | 2015 isec->sclass = SECCLASS_CHR_FILE; in sel_fill_super()
|
/security/selinux/ss/ |
D | policydb.h | 197 u32 sclass; /* security class for genfs */ member
|
D | policydb.c | 2033 newc->v.sclass = le32_to_cpu(buf[0]); in genfs_read() 2042 (!c->v.sclass || !newc->v.sclass || in genfs_read() 2043 newc->v.sclass == c->v.sclass)) { in genfs_read() 3259 buf[0] = cpu_to_le32(c->v.sclass); in genfs_write()
|
D | services.c | 2771 u16 sclass; in __security_genfs_sid() local 2779 sclass = unmap_class(&state->ss->map, orig_sclass); in __security_genfs_sid() 2793 if ((!c->v.sclass || sclass == c->v.sclass) && in __security_genfs_sid()
|