/linux/Documentation/ABI/stable/ |
H A D | procfs-audit_loginuid | 19 KernelVersion: 2.6.25-rc7 1e0bd7550ea9 ("[PATCH] export sessionid alongside the loginuid in procfs") 23 The /proc/$pid/sessionid pseudofile is read to get the
|
/linux/kernel/ |
H A D | audit.c | 2165 unsigned int sessionid = audit_get_sessionid(current); in audit_log_session_info() local 2168 audit_log_format(ab, "auid=%u ses=%u", auid, sessionid); in audit_log_session_info() 2325 unsigned int sessionid, int rc) in audit_log_set_loginuid() argument 2347 oldsessionid, sessionid, !rc); in audit_log_set_loginuid() 2362 unsigned int oldsessionid, sessionid = AUDIT_SID_UNSET; in audit_set_loginuid() local 2375 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid() 2376 if (unlikely(sessionid == AUDIT_SID_UNSET)) in audit_set_loginuid() 2377 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid() 2380 current->sessionid = sessionid; in audit_set_loginuid() 2383 audit_log_set_loginuid(oldloginuid, loginuid, oldsessionid, sessionid, rc); in audit_set_loginuid()
|
H A D | auditsc.c | 474 unsigned int sessionid; in audit_filter_rules() local 543 sessionid = audit_get_sessionid(tsk); in audit_filter_rules() 544 result = audit_comparator(sessionid, f->op, f->val); in audit_filter_rules() 1097 unsigned int sessionid, struct lsm_prop *prop, in audit_log_pid_context() argument 1111 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context() 2947 unsigned int sessionid; in audit_log_task() local 2951 sessionid = audit_get_sessionid(current); in audit_log_task() 2958 sessionid); in audit_log_task()
|
/linux/net/netlabel/ |
H A D | netlabel_user.h | 37 audit_info->sessionid = audit_get_sessionid(current); in netlbl_netlink_auditinfo()
|
H A D | netlabel_user.c | 99 audit_info->sessionid); in netlbl_audit_start_common()
|
H A D | netlabel_unlabeled.c | 1543 audit_info.sessionid = 0; in netlbl_unlabel_defconf()
|
/linux/drivers/tty/ |
H A D | tty_audit.c | 68 unsigned int sessionid = audit_get_sessionid(current); in tty_audit_log() local 76 description, pid, uid, loginuid, sessionid, in tty_audit_log()
|
/linux/init/ |
H A D | init_task.c | 148 .sessionid = AUDIT_SID_UNSET,
|
/linux/fs/nfsd/ |
H A D | nfs4state.c | 1842 hash_sessionid(struct nfs4_sessionid *sessionid) in hash_sessionid() argument 1844 struct nfsd4_sessionid *sid = (struct nfsd4_sessionid *)sessionid; in hash_sessionid() 1851 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument 1853 u32 *ptr = (u32 *)(&sessionid->data[0]); in dump_sessionid() 1858 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument 2177 __find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net) in __find_in_sessionid_hashtbl() argument 2185 dump_sessionid(__func__, sessionid); in __find_in_sessionid_hashtbl() 2186 idx = hash_sessionid(sessionid); in __find_in_sessionid_hashtbl() 2189 if (!memcmp(elem->se_sessionid.data, sessionid->data, in __find_in_sessionid_hashtbl() 2200 find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net, in find_in_sessionid_hashtbl() argument [all …]
|
H A D | trace.h | 750 (struct nfsd4_sessionid *)&sequence->sessionid;
|
/linux/include/linux/ |
H A D | nfs_xdr.h | 1382 struct nfs4_sessionid sessionid; member 1389 struct nfs4_sessionid sessionid; member 1415 struct nfs4_sessionid sessionid; member
|
H A D | audit.h | 206 return tsk->sessionid; in audit_get_sessionid()
|
H A D | sched.h | 1182 unsigned int sessionid; member
|
/linux/include/net/ |
H A D | netlabel.h | 102 unsigned int sessionid; member
|
/linux/security/smack/ |
H A D | smackfs.c | 186 nap->sessionid = audit_get_sessionid(current); in smk_netlabel_audit_set()
|
/linux/fs/nfs/ |
H A D | nfs4xdr.c | 1826 encode_opaque_fixed(xdr, args->sessionid.data, NFS4_MAX_SESSIONID_LEN); in encode_bind_conn_to_session() 5835 status = decode_sessionid(xdr, &res->sessionid); in decode_bind_conn_to_session() 5863 status = decode_sessionid(xdr, &res->sessionid); in decode_create_session()
|
H A D | nfs4proc.c | 8692 nfs4_copy_sessionid(&args.sessionid, &clp->cl_session->sess_id); in nfs4_proc_bind_one_conn_to_session() 8708 if (memcmp(res.sessionid.data, in nfs4_proc_bind_one_conn_to_session() 9400 nfs4_copy_sessionid(&session->sess_id, &res->sessionid); in nfs4_update_session()
|