Home
last modified time | relevance | path

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

/linux/kernel/
H A Daudit.c1265 struct lsm_context lsmctx = { NULL, 0, 0 }; in audit_receive_msg() local
1523 &lsmctx, LSM_ID_UNDEF); in audit_receive_msg()
1527 sig_data = kmalloc_flex(*sig_data, ctx, lsmctx.len); in audit_receive_msg()
1530 security_release_secctx(&lsmctx); in audit_receive_msg()
1536 memcpy(sig_data->ctx, lsmctx.context, lsmctx.len); in audit_receive_msg()
1537 security_release_secctx(&lsmctx); in audit_receive_msg()
1541 lsmctx.len)); in audit_receive_msg()
/linux/fs/ceph/
H A Dxattr.c1402 &name, &as_ctx->lsmctx); in ceph_security_init_secctx()
1427 4 * 2 + name_len + as_ctx->lsmctx.len); in ceph_security_init_secctx()
1450 ceph_pagelist_encode_32(pagelist, as_ctx->lsmctx.len); in ceph_security_init_secctx()
1451 ceph_pagelist_append(pagelist, as_ctx->lsmctx.context, in ceph_security_init_secctx()
1452 as_ctx->lsmctx.len); in ceph_security_init_secctx()
1470 security_release_secctx(&as_ctx->lsmctx); in ceph_release_acl_sec_ctx()
H A Dsuper.h1209 struct lsm_context lsmctx; member
/linux/drivers/android/
H A Dbinder.c3100 struct lsm_context lsmctx = { }; in binder_transaction()
3370 ret = security_secid_to_secctx(secid, &lsmctx); in binder_transaction()
3379 lsmctx_aligned_size = ALIGN(lsmctx.len, sizeof(u64)); in binder_transaction()
3413 if (lsmctx.context) { in binder_transaction()
3423 lsmctx.context, lsmctx.len); in binder_transaction()
3428 security_release_secctx(&lsmctx); in binder_transaction()
3429 lsmctx.context = NULL; in binder_transaction()
3865 if (lsmctx.context) in binder_transaction()
3866 security_release_secctx(&lsmctx); in binder_transaction()
3099 struct lsm_context lsmctx = { }; binder_transaction() local
[all...]
/linux/security/
H A Dsecurity.c1262 * @lsmctx: pointer to the resulting LSM context
1273 struct lsm_context *lsmctx) in security_dentry_init_security() argument
1276 xattr_name, lsmctx); in security_dentry_init_security()