Home
last modified time | relevance | path

Searched defs:sid (Results 1 – 17 of 17) sorted by relevance

/security/selinux/include/
Dobjsec.h34 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 …]
Dxfrm.h74 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()
Dnetlabel.h98 u32 *sid) in selinux_netlbl_skbuff_getsid()
106 u32 sid) in selinux_netlbl_skbuff_setsid()
Dsecurity.h239 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/
Dsidtab.c15 #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
Dservices.c1246 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 …]
Dsidtab.h14 u32 sid; /* security identifier */ member
Dpolicydb.h205 u32 sid[2]; /* SID(s) */ member
/security/selinux/
Dhooks.c219 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 …]
Dnetlabel.c59 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()
Dnetport.c148 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()
Dxfrm.c225 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()
Dibpkey.c140 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()
Dnetnode.c200 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()
Dnetif.c136 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()
Dselinuxfs.c548 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/
Dima_policy.c288 u32 osid, sid; in ima_match_rules() local