Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dxt_SECMARK.c47 info->secctx[SECMARK_SECCTX_MAX - 1] = '\0'; in checkentry_lsm()
50 err = security_secctx_to_secid(info->secctx, strlen(info->secctx), in checkentry_lsm()
55 info->secctx); in checkentry_lsm()
61 info->secctx); in checkentry_lsm()
126 memcpy(newinfo.secctx, info->secctx, SECMARK_SECCTX_MAX); in secmark_tg_check_v0()
/linux/include/uapi/linux/netfilter/
H A Dxt_SECMARK.h20 char secctx[SECMARK_SECCTX_MAX]; member
25 char secctx[SECMARK_SECCTX_MAX]; member
/linux/kernel/
H A Dcred.c654 int set_security_override_from_ctx(struct cred *new, const char *secctx) in set_security_override_from_ctx() argument
659 ret = security_secctx_to_secid(secctx, strlen(secctx), &secid); in set_security_override_from_ctx()
/linux/drivers/android/binder/
H A Dthread.rs936 let mut secctx = if let Some(offset) = txn_security_ctx_offset { in copy_transaction_data() localVariable
956 let aligned_secctx_size = match secctx.as_ref() { in copy_transaction_data()
1074 if let Some((off_out, secctx)) = secctx.as_mut() { in copy_transaction_data()
1075 if let Err(err) = alloc.write(secctx_off, secctx.as_bytes()) { in copy_transaction_data()
H A Dtransaction.rs398 tr_sec.secctx = (self.data_address + off) as u64; in do_work()
/linux/include/uapi/linux/android/
H A Dbinder.h338 binder_uintptr_t secctx; member
/linux/drivers/android/
H A Dbinder.c5086 tr.secctx = t->security_ctx; in binder_thread_read()