Searched refs:tsp (Results 1 – 4 of 4) sorted by relevance
/security/smack/ |
D | smack_lsm.c | 143 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_current() local 153 tsp->smk_task->smk_known, oskp->smk_known, in smk_bu_current() 164 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_task() local 175 tsp->smk_task->smk_known, smk_task->smk_known, acc, in smk_bu_task() 186 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_inode() local 205 tsp->smk_task->smk_known, isp->smk_inode->smk_known, acc, in smk_bu_inode() 216 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_file() local 217 struct smack_known *sskp = tsp->smk_task; in smk_bu_file() 246 struct task_smack *tsp = smack_cred(cred); in smk_bu_credfile() local 247 struct smack_known *sskp = tsp->smk_task; in smk_bu_credfile() [all …]
|
D | smack_access.c | 218 int smk_tskacc(struct task_smack *tsp, struct smack_known *obj_known, in smk_tskacc() argument 221 struct smack_known *sbj_known = smk_of_task(tsp); in smk_tskacc() 236 &tsp->smk_rules); in smk_tskacc() 273 struct task_smack *tsp = smack_cred(current_cred()); in smk_curacc() local 275 return smk_tskacc(tsp, obj_known, mode, a); in smk_curacc() 652 struct task_smack *tsp = smack_cred(cred); in smack_privileged_cred() local 653 struct smack_known *skp = tsp->smk_task; in smack_privileged_cred()
|
D | smack.h | 379 static inline struct smack_known *smk_of_task(const struct task_smack *tsp) in smk_of_task() argument 381 return tsp->smk_task; in smk_of_task() 403 static inline struct smack_known *smk_of_forked(const struct task_smack *tsp) in smk_of_forked() argument 405 return tsp->smk_forked; in smk_of_forked()
|
D | smackfs.c | 2214 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_start() local 2216 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self_seq_start() 2221 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_next() local 2223 return smk_seq_next(s, v, pos, &tsp->smk_rules); in load_self_seq_next() 2268 struct task_smack *tsp = smack_cred(current_cred()); in smk_write_load_self() local 2270 return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules, in smk_write_load_self() 2271 &tsp->smk_rules_lock, SMK_FIXED24_FMT); in smk_write_load_self() 2423 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_start() local 2425 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self2_seq_start() 2430 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_next() local [all …]
|