Home
last modified time | relevance | path

Searched refs:smk_rules (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/security/smack/
Dsmack_lsm.c109 INIT_LIST_HEAD(&tsp->smk_rules); in new_task_smack()
573 may = smk_access_entry(csp, dsp, &skp->smk_rules); in smack_inode_init_security()
1220 list_for_each_entry_rcu(srp, &skp->smk_rules, list) { in smack_file_mmap()
1232 &tsp->smk_rules); in smack_file_mmap()
1250 mmay = smk_access_entry(msmack, osmack, &skp->smk_rules); in smack_file_mmap()
1259 tmay = smk_access_entry(msmack, osmack, &tsp->smk_rules); in smack_file_mmap()
1412 list_for_each_safe(l, n, &tsp->smk_rules) { in smack_cred_free()
1439 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()
1462 INIT_LIST_HEAD(&new_tsp->smk_rules); in smack_cred_transfer()
2788 rc = smk_copy_rules(&tsp->smk_rules, &oldtsp->smk_rules, GFP_KERNEL); in smack_setprocattr()
[all …]
Dsmack_access.c178 may = smk_access_entry(subject_label, object_label, &skp->smk_rules); in smk_access()
220 may = smk_access_entry(sp, obj_label, &tsp->smk_rules); in smk_curacc()
409 INIT_LIST_HEAD(&skp->smk_rules); in smk_import_entry()
Dsmack.h63 struct list_head smk_rules; /* per task access rules */ member
130 struct list_head smk_rules; /* access rules */ member
Dsmackfs.c351 rule_list = &skp->smk_rules; in smk_write_load_list()
1385 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self_seq_start()
1392 return smk_seq_next(s, v, pos, &tsp->smk_rules); in load_self_seq_next()
1457 return smk_write_load_list(file, buf, count, ppos, &tsp->smk_rules, in smk_write_load_self()