/security/selinux/include/ |
D | objsec.h | 34 u32 sid; /* current SID */ member 64 u32 sid; /* SID of this object */ member 71 u32 sid; /* SID of open file description */ member 79 u32 sid; /* SID of file system superblock */ member 90 u32 sid; /* SID of message */ member 95 u32 sid; /* SID of IPC resource */ member 101 u32 sid; /* SID for this interface */ member 109 u32 sid; /* SID for this node */ member 114 u32 sid; /* SID for this node */ member 130 u32 sid; /* SID of this object */ member [all …]
|
D | xfrm.h | 74 static inline int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, in selinux_xfrm_decode_session() 85 static inline int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) in selinux_xfrm_skb_sid()
|
D | netlabel.h | 98 u32 *sid) in selinux_netlbl_skbuff_getsid() 106 u32 sid) in selinux_netlbl_skbuff_setsid()
|
D | security.h | 239 u32 *sid) in security_netlbl_secattr_to_sid() 244 static inline int security_netlbl_sid_to_secattr(u32 sid, in security_netlbl_sid_to_secattr()
|
/security/selinux/ss/ |
D | sidtab.c | 15 #define SIDTAB_HASH(sid) \ argument 34 int sidtab_insert(struct sidtab *s, u32 sid, struct context *context) in sidtab_insert() 79 static struct context *sidtab_search_core(struct sidtab *s, u32 sid, int force) in sidtab_search_core() 109 struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() 114 struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force() 119 int sidtab_map(struct sidtab *s, in sidtab_map() 195 u32 sid; in sidtab_context_to_sid() local
|
D | services.c | 1246 const char *security_get_initial_sid_context(u32 sid) in security_get_initial_sid_context() 1253 static int security_sid_to_context_core(u32 sid, char **scontext, in security_sid_to_context_core() 1313 int security_sid_to_context(u32 sid, char **scontext, u32 *scontext_len) in security_sid_to_context() 1318 int security_sid_to_context_force(u32 sid, char **scontext, u32 *scontext_len) in security_sid_to_context_force() 1409 u32 *sid, u32 def_sid, gfp_t gfp_flags, in security_context_to_sid_core() 1478 int security_context_to_sid(const char *scontext, u32 scontext_len, u32 *sid, in security_context_to_sid() 1485 int security_context_str_to_sid(const char *scontext, u32 *sid, gfp_t gfp) in security_context_str_to_sid() 1509 u32 *sid, u32 def_sid, gfp_t gfp_flags) in security_context_to_sid_default() 1516 u32 *sid) in security_context_to_sid_force() 1821 static int clone_sid(u32 sid, in clone_sid() [all …]
|
D | sidtab.h | 14 u32 sid; /* security identifier */ member
|
D | policydb.h | 205 u32 sid[2]; /* SID(s) */ member
|
/security/selinux/ |
D | hooks.c | 219 u32 sid; in task_sid() local 232 u32 sid = current_sid(); in inode_alloc_security() local 367 u32 sid = current_sid(); in file_alloc_security() local 442 static int may_context_mount_sb_relabel(u32 sid, in may_context_mount_sb_relabel() 459 static int may_context_mount_inode_relabel(u32 sid, in may_context_mount_inode_relabel() 771 u32 sid; in selinux_set_mnt_opts() local 1053 u32 sid = oldsbsec->mntpoint_sid; in selinux_sb_clone_mnt_opts() local 1476 u32 *sid) in selinux_genfs_get_sid() 1510 u32 task_sid, sid = 0; in inode_doinit_with_dentry() local 1747 u32 sid = cred_sid(cred); in cred_has_capability() local [all …]
|
D | netlabel.c | 59 u32 *sid) in selinux_netlbl_sidlookup_cached() 115 u32 sid) in selinux_netlbl_sock_getattr() 205 u32 *sid) in selinux_netlbl_skbuff_getsid() 241 u32 sid) in selinux_netlbl_skbuff_setsid()
|
D | netport.c | 148 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() 197 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid()
|
D | xfrm.c | 225 u32 *sid, int ckall) in selinux_xfrm_skb_sid_ingress() 259 int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall) in selinux_xfrm_decode_session() 268 int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) in selinux_xfrm_skb_sid()
|
D | ibpkey.c | 140 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() 189 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid()
|
D | netnode.c | 200 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() 263 int sel_netnode_sid(void *addr, u16 family, u32 *sid) in sel_netnode_sid()
|
D | netif.c | 136 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() 203 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid()
|
D | selinuxfs.c | 548 u32 sid, len; in sel_write_context() local 966 u32 sid, *sids = NULL; in sel_write_user() local 1264 u32 sid; in sel_make_bools() local 1523 u32 sid, len; in sel_read_initcon() local
|
/security/integrity/ima/ |
D | ima_policy.c | 288 u32 osid, sid; in ima_match_rules() local
|