Lines Matching full:subject
56 * @subject_label: a pointer to the subject's Smack label
60 * This function looks up the subject/object pair in the
103 * smk_access - determine if a subject has a specific access to an object
104 * @subject: a pointer to the subject's Smack label entry
109 * This function looks up the subject/object pair in the
115 int smk_access(struct smack_known *subject, struct smack_known *object, in smk_access() argument
125 * A star subject can't access any object. in smk_access()
127 if (subject == &smack_known_star) { in smk_access()
132 * An internet object can be accessed by any subject. in smk_access()
134 * An internet subject can access any object. in smk_access()
136 if (object == &smack_known_web || subject == &smack_known_web) in smk_access()
139 * A star object can be accessed by any subject. in smk_access()
144 * An object can be accessed in any way by a subject in smk_access()
147 if (subject->smk_known == object->smk_known) in smk_access()
150 * A hat subject can read or lock any object. in smk_access()
151 * A floor object can be read or locked by any subject. 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()
208 * @tsp: a pointer to the subject's task
213 * This function checks the subject task's label/object label pair
265 * This function checks the current subject label/object label pair
318 audit_log_format(ab, " subject="); in smack_log_callback()
319 audit_log_untrustedstring(ab, sad->subject); in smack_log_callback()
363 sad->subject = subject_label; in smack_log()