lsm_ctx
struct lsm_ctx __user *ctx, u32 *size, u32 flags)
struct lsm_ctx *ctx, u32 size, u32 flags)
struct lsm_ctx __user *ctx,
struct lsm_ctx __user *ctx,
static inline int lsm_fill_user_ctx(struct lsm_ctx __user *uctx,
int security_getselfattr(unsigned int attr, struct lsm_ctx __user *ctx,
int security_setselfattr(unsigned int attr, struct lsm_ctx __user *ctx,
int lsm_fill_user_ctx(struct lsm_ctx __user *uctx, u32 *uctx_len,
struct lsm_ctx;
struct lsm_ctx;
asmlinkage long sys_lsm_get_self_attr(unsigned int attr, struct lsm_ctx __user *ctx,
asmlinkage long sys_lsm_set_self_attr(unsigned int attr, struct lsm_ctx __user *ctx,
static int apparmor_getselfattr(unsigned int attr, struct lsm_ctx __user *lx,
static int apparmor_setselfattr(unsigned int attr, struct lsm_ctx *ctx,
SYSCALL_DEFINE4(lsm_set_self_attr, unsigned int, attr, struct lsm_ctx __user *,
SYSCALL_DEFINE4(lsm_get_self_attr, unsigned int, attr, struct lsm_ctx __user *,
int security_getselfattr(unsigned int attr, struct lsm_ctx __user *uctx,
struct lsm_ctx lctx = { .id = LSM_ID_UNDEF, };
uctx = (struct lsm_ctx __user *)(base + total);
int security_setselfattr(unsigned int attr, struct lsm_ctx __user *uctx,
struct lsm_ctx *lctx;
int lsm_fill_user_ctx(struct lsm_ctx __user *uctx, u32 *uctx_len,
struct lsm_ctx *nctx = NULL;
static int selinux_getselfattr(unsigned int attr, struct lsm_ctx __user *ctx,
static int selinux_setselfattr(unsigned int attr, struct lsm_ctx *ctx,
static int smack_getselfattr(unsigned int attr, struct lsm_ctx __user *ctx,
static int smack_setselfattr(unsigned int attr, struct lsm_ctx *ctx,
static inline int lsm_set_self_attr(unsigned int attr, struct lsm_ctx *ctx,
static inline int lsm_get_self_attr(unsigned int attr, struct lsm_ctx *ctx,
struct lsm_ctx *ctx = calloc(page_size, 1);
struct lsm_ctx *ctx = calloc(page_size, 1);
struct lsm_ctx *tctx = NULL;
static struct lsm_ctx *next_ctx(struct lsm_ctx *ctxp)
return (struct lsm_ctx *)vp;
struct lsm_ctx *ctx = calloc(page_size, 1);
struct lsm_ctx *ctx = calloc(page_size, 1);
struct lsm_ctx *ctx = calloc(page_size, 1);
sizeof(struct lsm_ctx), 0));
struct lsm_ctx *ctx = calloc(page_size, 1);
struct lsm_ctx *ctx = calloc(page_size, 1);
struct lsm_ctx *ctx = calloc(page_size, 1);