Searched refs:src (Results 1 – 11 of 11) sorted by relevance
/security/selinux/ss/ |
D | context.h | 40 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 …]
|
D | sidtab.c | 291 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()
|
D | sidtab.h | 51 void sidtab_set(struct sidtab *dst, struct sidtab *src);
|
D | ebitmap.c | 49 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()
|
D | ebitmap.h | 119 int ebitmap_cpy(struct ebitmap *dst, struct ebitmap *src);
|
/security/selinux/ |
D | avc.c | 306 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 …]
|
D | Makefile | 24 $(obj)/flask.h: $(src)/include/classmap.h FORCE
|
D | hooks.c | 3841 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/ |
D | Makefile | 61 $(src)/Makefile 64 $(src)/Makefile
|
/security/tomoyo/ |
D | util.c | 392 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()
|
D | common.h | 942 bool tomoyo_str_starts(char **src, const char *find);
|