Home
last modified time | relevance | path

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

/linux/kernel/
H A Daudit.c1264 struct lsm_context lsmctx = { NULL, 0, 0 }; in audit_receive_msg() local
1522 &lsmctx, LSM_ID_UNDEF); in audit_receive_msg()
1526 sig_data = kmalloc_flex(*sig_data, ctx, lsmctx.len); in audit_receive_msg()
1529 security_release_secctx(&lsmctx); in audit_receive_msg()
1535 memcpy(sig_data->ctx, lsmctx.context, lsmctx.len); in audit_receive_msg()
1536 security_release_secctx(&lsmctx); in audit_receive_msg()
1540 lsmctx.len)); in audit_receive_msg()
/linux/fs/ceph/
H A Dxattr.c1401 &name, &as_ctx->lsmctx); in ceph_security_init_secctx()
1426 4 * 2 + name_len + as_ctx->lsmctx.len); in ceph_security_init_secctx()
1449 ceph_pagelist_encode_32(pagelist, as_ctx->lsmctx.len); in ceph_security_init_secctx()
1450 ceph_pagelist_append(pagelist, as_ctx->lsmctx.context, in ceph_security_init_secctx()
1451 as_ctx->lsmctx.len); in ceph_security_init_secctx()
1469 security_release_secctx(&as_ctx->lsmctx); in ceph_release_acl_sec_ctx()
H A Dsuper.h1174 struct lsm_context lsmctx; member
/linux/drivers/android/
H A Dbinder.c3082 struct lsm_context lsmctx = { }; in binder_transaction() local
3354 ret = security_secid_to_secctx(secid, &lsmctx); in binder_transaction()
3363 added_size = ALIGN(lsmctx.len, sizeof(u64)); in binder_transaction()
3397 if (lsmctx.context) { in binder_transaction()
3402 ALIGN(lsmctx.len, sizeof(u64)); in binder_transaction()
3407 lsmctx.context, lsmctx.len); in binder_transaction()
3412 security_release_secctx(&lsmctx); in binder_transaction()
3413 lsmctx.context = NULL; in binder_transaction()
3457 ALIGN(lsmctx.len, sizeof(u64)); in binder_transaction()
3849 if (lsmctx.context) in binder_transaction()
[all …]
/linux/security/
H A Dsecurity.c1273 struct lsm_context *lsmctx) in security_dentry_init_security() argument
1276 xattr_name, lsmctx); in security_dentry_init_security()