Home
last modified time | relevance | path

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

/linux-2.6.39/security/smack/
Dsmackfs.c166 sp->smk_access = srp->smk_access; in smk_set_access()
245 rule->smk_access = 0; in smk_write_load_list()
252 rule->smk_access |= MAY_READ; in smk_write_load_list()
263 rule->smk_access |= MAY_WRITE; in smk_write_load_list()
274 rule->smk_access |= MAY_EXEC; in smk_write_load_list()
285 rule->smk_access |= MAY_APPEND; in smk_write_load_list()
296 rule->smk_access |= MAY_TRANSMUTE; in smk_write_load_list()
353 if (srp->smk_access & MAY_READ) in load_seq_show()
355 if (srp->smk_access & MAY_WRITE) in load_seq_show()
357 if (srp->smk_access & MAY_EXEC) in load_seq_show()
[all …]
Dsmack.h77 int smk_access; member
201 int smk_access(char *, char *, int, struct smk_audit_info *);
Dsmack_access.c100 may = srp->smk_access; in smk_access_entry()
129 int smk_access(char *subject_label, char *object_label, int request, in smk_access() function
224 rc = smk_access(sp, obj_label, mode, NULL); in smk_curacc()
Dsmack_lsm.c1195 may = srp->smk_access; in smack_file_mmap()
1197 may &= srp->smk_access; in smack_file_mmap()
1277 rc = smk_access(file->f_security, tsp, MAY_WRITE, NULL); in smack_file_send_sigiotask()
1626 return smk_access(smack_from_secid(secid), in smack_task_kill()
1644 rc = smk_access(tsp, sp, MAY_WRITE, NULL); in smack_task_wait()
1893 rc = smk_access(ssp->smk_out, hostsp, MAY_WRITE, &ad); in smack_netlabel_send()
2756 rc = smk_access(ssp->smk_out, osp->smk_in, MAY_WRITE, &ad); in smack_unix_stream_connect()
2780 rc = smk_access(ssp->smk_out, osp->smk_in, MAY_WRITE, &ad); in smack_unix_may_send()
2927 rc = smk_access(csp, ssp->smk_in, MAY_WRITE, &ad); in smack_socket_sock_rcv_skb()
3078 rc = smk_access(smack, ssp->smk_in, MAY_WRITE, &ad); in smack_inet_conn_request()
[all …]