Lines Matching defs:object

57  * @object_label: a pointer to the object's Smack label
60 * This function looks up the subject/object pair in the
76 * Do the object check first because that is more
103 * smk_access - determine if a subject has a specific access to an object
105 * @object: a pointer to the object'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,
125 * A star subject can't access any object.
132 * An internet object can be accessed by any subject.
134 * An internet subject can access any object.
136 if (object == &smack_known_web || subject == &smack_known_web)
139 * A star object can be accessed by any subject.
141 if (object == &smack_known_star)
144 * An object can be accessed in any way by a subject
147 if (subject->smk_known == object->smk_known)
150 * A hat subject can read or lock any object.
151 * A floor object can be read or locked by any subject.
155 if (object == &smack_known_floor)
168 may = smk_access_entry(subject->smk_known, object->smk_known,
190 if (object == smack_unconfined)
199 smack_log(subject->smk_known, object->smk_known,
207 * smk_tskacc - determine if a task has a specific access to an object
209 * @obj_known: a pointer to the object's label entry
213 * This function checks the subject task's label/object label pair
260 * smk_curacc - determine if current has a specific access to an object
261 * @obj_known: a pointer to the object's Smack label entry
265 * This function checks the current subject label/object label pair
320 audit_log_format(ab, " object=");
321 audit_log_untrustedstring(ab, sad->object);
331 * @object_label : smack label of the object being accessed
364 sad->object = object_label;