Symbol: lsm_ctx
include/linux/lsm_hook_defs.h
293
struct lsm_ctx __user *ctx, u32 *size, u32 flags)
include/linux/lsm_hook_defs.h
295
struct lsm_ctx *ctx, u32 size, u32 flags)
include/linux/security.h
1519
struct lsm_ctx __user *ctx,
include/linux/security.h
1526
struct lsm_ctx __user *ctx,
include/linux/security.h
1593
static inline int lsm_fill_user_ctx(struct lsm_ctx __user *uctx,
include/linux/security.h
561
int security_getselfattr(unsigned int attr, struct lsm_ctx __user *ctx,
include/linux/security.h
563
int security_setselfattr(unsigned int attr, struct lsm_ctx __user *ctx,
include/linux/security.h
579
int lsm_fill_user_ctx(struct lsm_ctx __user *uctx, u32 *uctx_len,
include/linux/security.h
69
struct lsm_ctx;
include/linux/syscalls.h
73
struct lsm_ctx;
include/linux/syscalls.h
997
asmlinkage long sys_lsm_get_self_attr(unsigned int attr, struct lsm_ctx __user *ctx,
include/linux/syscalls.h
999
asmlinkage long sys_lsm_set_self_attr(unsigned int attr, struct lsm_ctx __user *ctx,
security/apparmor/lsm.c
781
static int apparmor_getselfattr(unsigned int attr, struct lsm_ctx __user *lx,
security/apparmor/lsm.c
926
static int apparmor_setselfattr(unsigned int attr, struct lsm_ctx *ctx,
security/lsm_syscalls.c
57
SYSCALL_DEFINE4(lsm_set_self_attr, unsigned int, attr, struct lsm_ctx __user *,
security/lsm_syscalls.c
79
SYSCALL_DEFINE4(lsm_get_self_attr, unsigned int, attr, struct lsm_ctx __user *,
security/security.c
3626
int security_getselfattr(unsigned int attr, struct lsm_ctx __user *uctx,
security/security.c
3630
struct lsm_ctx lctx = { .id = LSM_ID_UNDEF, };
security/security.c
3672
uctx = (struct lsm_ctx __user *)(base + total);
security/security.c
3717
int security_setselfattr(unsigned int attr, struct lsm_ctx __user *uctx,
security/security.c
3721
struct lsm_ctx *lctx;
security/security.c
375
int lsm_fill_user_ctx(struct lsm_ctx __user *uctx, u32 *uctx_len,
security/security.c
379
struct lsm_ctx *nctx = NULL;
security/selinux/hooks.c
6766
static int selinux_getselfattr(unsigned int attr, struct lsm_ctx __user *ctx,
security/selinux/hooks.c
6781
static int selinux_setselfattr(unsigned int attr, struct lsm_ctx *ctx,
security/smack/smack_lsm.c
3721
static int smack_getselfattr(unsigned int attr, struct lsm_ctx __user *ctx,
security/smack/smack_lsm.c
3850
static int smack_setselfattr(unsigned int attr, struct lsm_ctx *ctx,
tools/testing/selftests/lsm/common.h
17
static inline int lsm_set_self_attr(unsigned int attr, struct lsm_ctx *ctx,
tools/testing/selftests/lsm/common.h
9
static inline int lsm_get_self_attr(unsigned int attr, struct lsm_ctx *ctx,
tools/testing/selftests/lsm/lsm_get_self_attr_test.c
119
struct lsm_ctx *ctx = calloc(page_size, 1);
tools/testing/selftests/lsm/lsm_get_self_attr_test.c
144
struct lsm_ctx *ctx = calloc(page_size, 1);
tools/testing/selftests/lsm/lsm_get_self_attr_test.c
145
struct lsm_ctx *tctx = NULL;
tools/testing/selftests/lsm/lsm_get_self_attr_test.c
19
static struct lsm_ctx *next_ctx(struct lsm_ctx *ctxp)
tools/testing/selftests/lsm/lsm_get_self_attr_test.c
24
return (struct lsm_ctx *)vp;
tools/testing/selftests/lsm/lsm_get_self_attr_test.c
30
struct lsm_ctx *ctx = calloc(page_size, 1);
tools/testing/selftests/lsm/lsm_get_self_attr_test.c
59
struct lsm_ctx *ctx = calloc(page_size, 1);
tools/testing/selftests/lsm/lsm_get_self_attr_test.c
78
struct lsm_ctx *ctx = calloc(page_size, 1);
tools/testing/selftests/lsm/lsm_set_self_attr_test.c
21
sizeof(struct lsm_ctx), 0));
tools/testing/selftests/lsm/lsm_set_self_attr_test.c
27
struct lsm_ctx *ctx = calloc(page_size, 1);
tools/testing/selftests/lsm/lsm_set_self_attr_test.c
43
struct lsm_ctx *ctx = calloc(page_size, 1);
tools/testing/selftests/lsm/lsm_set_self_attr_test.c
59
struct lsm_ctx *ctx = calloc(page_size, 1);