/linux-4.4.14/net/netlabel/ |
H A D | netlabel_user.h | 52 audit_info->loginuid = audit_get_loginuid(current); netlbl_netlink_auditinfo()
|
H A D | netlabel_user.c | 107 from_kuid(&init_user_ns, audit_info->loginuid), netlbl_audit_start_common()
|
H A D | netlabel_unlabeled.c | 1534 audit_info.loginuid = GLOBAL_ROOT_UID; netlbl_unlabel_defconf()
|
/linux-4.4.14/kernel/ |
H A D | auditsc.c | 375 return audit_compare_uid(tsk->loginuid, name, f, ctx); audit_field_compare() 386 return audit_uid_comparator(cred->uid, f->op, tsk->loginuid); audit_field_compare() 395 return audit_uid_comparator(tsk->loginuid, f->op, cred->euid); audit_field_compare() 397 return audit_uid_comparator(tsk->loginuid, f->op, cred->suid); audit_field_compare() 399 return audit_uid_comparator(tsk->loginuid, f->op, cred->fsuid); audit_field_compare() 605 result = audit_uid_comparator(tsk->loginuid, f->op, f->uid); audit_filter_rules() 1960 static int audit_set_loginuid_perm(kuid_t loginuid) audit_set_loginuid_perm() argument 1972 if (is_audit_feature_set(AUDIT_FEATURE_ONLY_UNSET_LOGINUID) && uid_valid(loginuid)) audit_set_loginuid_perm() 1982 uid_t uid, oldloginuid, loginuid; audit_log_set_loginuid() local 1989 loginuid = from_kuid(&init_user_ns, kloginuid), audit_log_set_loginuid() 1997 oldloginuid, loginuid, oldsessionid, sessionid, !rc); audit_log_set_loginuid() 2002 * audit_set_loginuid - set current task's audit_context loginuid 2003 * @loginuid: loginuid value 2009 int audit_set_loginuid(kuid_t loginuid) audit_set_loginuid() argument 2019 rc = audit_set_loginuid_perm(loginuid); audit_set_loginuid() 2024 if (uid_valid(loginuid)) audit_set_loginuid() 2028 task->loginuid = loginuid; audit_set_loginuid() 2030 audit_log_set_loginuid(oldloginuid, loginuid, oldsessionid, sessionid, rc); audit_set_loginuid() 2245 if (uid_valid(tsk->loginuid)) __audit_signal_info() 2246 audit_sig_uid = tsk->loginuid; __audit_signal_info()
|
H A D | auditfilter.c | 447 /* Support legacy tests for a valid loginuid */ audit_data_to_entry() 1066 uid_t loginuid = from_kuid(&init_user_ns, audit_get_loginuid(current)); audit_log_rule_change() local 1075 audit_log_format(ab, "auid=%u ses=%u" ,loginuid, sessionid); audit_log_rule_change()
|
/linux-4.4.14/drivers/tty/ |
H A D | tty_audit.c | 70 uid_t loginuid = from_kuid(&init_user_ns, audit_get_loginuid(tsk)); tty_audit_log() local 79 loginuid, sessionid, major, minor); tty_audit_log()
|
/linux-4.4.14/include/linux/ |
H A D | init_task.h | 100 .loginuid = INVALID_UID, \
|
H A D | audit.h | 230 extern int audit_set_loginuid(kuid_t loginuid); 234 return tsk->loginuid; audit_get_loginuid()
|
H A D | sched.h | 1583 kuid_t loginuid; member in struct:task_struct
|
/linux-4.4.14/fs/proc/ |
H A D | base.c | 1242 uid_t loginuid; proc_loginuid_write() local 1258 rv = kstrtou32_from_user(buf, count, 10, &loginuid); proc_loginuid_write() 1262 /* is userspace tring to explicitly UNSET the loginuid? */ proc_loginuid_write() 1263 if (loginuid == AUDIT_UID_UNSET) { proc_loginuid_write() 1266 kloginuid = make_kuid(file->f_cred->user_ns, loginuid); proc_loginuid_write() 2801 REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations), 3149 REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations),
|
/linux-4.4.14/include/net/ |
H A D | netlabel.h | 112 kuid_t loginuid; member in struct:netlbl_audit
|
/linux-4.4.14/security/smack/ |
H A D | smackfs.c | 197 nap->loginuid = audit_get_loginuid(current); smk_netlabel_audit_set()
|