Home
last modified time | relevance | path

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

/linux-6.12.1/security/
Dsecurity.c888 size_t nctx_len; in lsm_fill_user_ctx() local
891 nctx_len = ALIGN(struct_size(nctx, ctx, val_len), sizeof(void *)); in lsm_fill_user_ctx()
892 if (nctx_len > *uctx_len) { in lsm_fill_user_ctx()
901 nctx = kzalloc(nctx_len, GFP_KERNEL); in lsm_fill_user_ctx()
908 nctx->len = nctx_len; in lsm_fill_user_ctx()
912 if (copy_to_user(uctx, nctx, nctx_len)) in lsm_fill_user_ctx()
917 *uctx_len = nctx_len; in lsm_fill_user_ctx()