Searched refs:lsmctx (Results 1 – 6 of 6) sorted by relevance
| /linux/kernel/ |
| H A D | audit.c | 1260 struct lsm_context lsmctx = { NULL, 0, 0 }; in audit_receive_msg() local 1512 &lsmctx, LSM_ID_UNDEF); in audit_receive_msg() 1516 sig_data = kmalloc(struct_size(sig_data, ctx, lsmctx.len), in audit_receive_msg() 1520 security_release_secctx(&lsmctx); in audit_receive_msg() 1526 memcpy(sig_data->ctx, lsmctx.context, lsmctx.len); in audit_receive_msg() 1527 security_release_secctx(&lsmctx); in audit_receive_msg() 1531 lsmctx.len)); in audit_receive_msg()
|
| /linux/fs/ceph/ |
| H A D | xattr.c | 1384 &name, &as_ctx->lsmctx); in ceph_security_init_secctx() 1409 4 * 2 + name_len + as_ctx->lsmctx.len); in ceph_security_init_secctx() 1432 ceph_pagelist_encode_32(pagelist, as_ctx->lsmctx.len); in ceph_security_init_secctx() 1433 ceph_pagelist_append(pagelist, as_ctx->lsmctx.context, in ceph_security_init_secctx() 1434 as_ctx->lsmctx.len); in ceph_security_init_secctx() 1452 security_release_secctx(&as_ctx->lsmctx); in ceph_release_acl_sec_ctx()
|
| H A D | super.h | 1151 struct lsm_context lsmctx; member
|
| /linux/fs/fuse/ |
| H A D | dir.c | 663 struct lsm_context lsmctx = { }; in get_security_context() local 671 &name, &lsmctx); in get_security_context() 677 if (lsmctx.len) { in get_security_context() 682 lsmctx.len > S32_MAX)) in get_security_context() 685 lsmctx.len); in get_security_context() 698 fctx->size = lsmctx.len; in get_security_context() 704 memcpy(ptr, lsmctx.context, lsmctx.len); in get_security_context() 711 security_release_secctx(&lsmctx); in get_security_context()
|
| /linux/drivers/android/ |
| H A D | binder.c | 3078 struct lsm_context lsmctx = { }; in binder_transaction() local 3350 ret = security_secid_to_secctx(secid, &lsmctx); in binder_transaction() 3359 added_size = ALIGN(lsmctx.len, sizeof(u64)); in binder_transaction() 3393 if (lsmctx.context) { in binder_transaction() 3398 ALIGN(lsmctx.len, sizeof(u64)); in binder_transaction() 3403 lsmctx.context, lsmctx.len); in binder_transaction() 3408 security_release_secctx(&lsmctx); in binder_transaction() 3409 lsmctx.context = NULL; in binder_transaction() 3453 ALIGN(lsmctx.len, sizeof(u64)); in binder_transaction() 3836 if (lsmctx.context) in binder_transaction() [all …]
|
| /linux/security/ |
| H A D | security.c | 1247 struct lsm_context *lsmctx) in security_dentry_init_security() argument 1250 xattr_name, lsmctx); in security_dentry_init_security()
|