Home
last modified time | relevance | path

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

/security/smack/
Dsmack_access.c115 int smk_access(struct smack_known *subject, struct smack_known *object, in smk_access() argument
127 if (subject == &smack_known_star) { in smk_access()
136 if (object == &smack_known_web || subject == &smack_known_web) in smk_access()
147 if (subject->smk_known == object->smk_known) in smk_access()
157 if (subject == &smack_known_hat) in smk_access()
168 may = smk_access_entry(subject->smk_known, object->smk_known, in smk_access()
169 &subject->smk_rules); in smk_access()
192 if (subject == smack_unconfined) in smk_access()
199 smack_log(subject->smk_known, object->smk_known, in smk_access()
319 audit_log_untrustedstring(ab, sad->subject); in smack_log_callback()
[all …]
Dsmack.h266 char *subject; member
Dsmackfs.c314 static int smk_fill_rule(const char *subject, const char *object, in smk_fill_rule() argument
323 rule->smk_subject = smk_import_entry(subject, len); in smk_fill_rule()
331 cp = smk_parse_smack(subject, len); in smk_fill_rule()
Dsmack_lsm.c2524 static int smk_ipv6_check(struct smack_known *subject, in smk_ipv6_check() argument
2543 rc = smk_access(subject, object, MAY_WRITE, &ad); in smk_ipv6_check()
2544 rc = smk_bu_note("IPv6 check", subject, object, MAY_WRITE, rc); in smk_ipv6_check()