Home
last modified time | relevance | path

Searched refs:src (Results 1 – 11 of 11) sorted by relevance

/security/selinux/ss/
Dcontext.h40 static inline int mls_context_cpy(struct context *dst, struct context *src) in mls_context_cpy() argument
44 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy()
45 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy()
49 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy()
50 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy()
60 static inline int mls_context_cpy_low(struct context *dst, struct context *src) in mls_context_cpy_low() argument
64 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low()
65 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
69 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low()
70 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); in mls_context_cpy_low()
[all …]
Dsidtab.c291 void sidtab_set(struct sidtab *dst, struct sidtab *src) in sidtab_set() argument
296 spin_lock_irqsave(&src->lock, flags); in sidtab_set()
297 dst->htable = src->htable; in sidtab_set()
298 dst->nel = src->nel; in sidtab_set()
299 dst->next_sid = src->next_sid; in sidtab_set()
303 spin_unlock_irqrestore(&src->lock, flags); in sidtab_set()
Dsidtab.h51 void sidtab_set(struct sidtab *dst, struct sidtab *src);
Debitmap.c49 int ebitmap_cpy(struct ebitmap *dst, struct ebitmap *src) in ebitmap_cpy() argument
54 n = src->node; in ebitmap_cpy()
73 dst->highbit = src->highbit; in ebitmap_cpy()
Debitmap.h119 int ebitmap_cpy(struct ebitmap *dst, struct ebitmap *src);
/security/selinux/
Davc.c306 struct extended_perms_decision *src) in avc_copy_xperms_decision() argument
308 dest->driver = src->driver; in avc_copy_xperms_decision()
309 dest->used = src->used; in avc_copy_xperms_decision()
311 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
312 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
314 memcpy(dest->auditallow->p, src->auditallow->p, in avc_copy_xperms_decision()
315 sizeof(src->auditallow->p)); in avc_copy_xperms_decision()
317 memcpy(dest->dontaudit->p, src->dontaudit->p, in avc_copy_xperms_decision()
318 sizeof(src->dontaudit->p)); in avc_copy_xperms_decision()
327 struct extended_perms_decision *src) in avc_quick_copy_xperms_decision() argument
[all …]
DMakefile24 $(obj)/flask.h: $(src)/include/classmap.h FORCE
Dhooks.c3841 char **_addrp, int src, u8 *proto) in selinux_parse_skb() argument
3851 addrp = (char *)(src ? &ad->u.net->v4info.saddr : in selinux_parse_skb()
3860 addrp = (char *)(src ? &ad->u.net->v6info.saddr : in selinux_parse_skb()
/security/apparmor/
DMakefile61 $(src)/Makefile
64 $(src)/Makefile
/security/tomoyo/
Dutil.c392 bool tomoyo_str_starts(char **src, const char *find) in tomoyo_str_starts() argument
395 char *tmp = *src; in tomoyo_str_starts()
400 *src = tmp; in tomoyo_str_starts()
Dcommon.h942 bool tomoyo_str_starts(char **src, const char *find);