Searched refs:tomoyo_condition (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/security/tomoyo/
H A Dcondition.c10 /* List of "struct tomoyo_condition". */
217 * tomoyo_scan_exec_realpath - Check "exec.realpath" parameter of "struct tomoyo_condition".
337 * tomoyo_same_condition - Check for duplicated "struct tomoyo_condition" entry.
339 * @a: Pointer to "struct tomoyo_condition".
340 * @b: Pointer to "struct tomoyo_condition".
344 static inline bool tomoyo_same_condition(const struct tomoyo_condition *a, tomoyo_same_condition()
345 const struct tomoyo_condition *b) tomoyo_same_condition()
383 * tomoyo_commit_condition - Commit "struct tomoyo_condition".
385 * @entry: Pointer to "struct tomoyo_condition".
387 * Returns pointer to "struct tomoyo_condition" on success, NULL otherwise.
392 static struct tomoyo_condition *tomoyo_commit_condition tomoyo_commit_condition()
393 (struct tomoyo_condition *entry) tomoyo_commit_condition()
395 struct tomoyo_condition *ptr; tomoyo_commit_condition()
435 * @e: Pointer to "struct tomoyo_condition".
440 struct tomoyo_condition *e) tomoyo_get_transit_preference()
476 * Returns pointer to "struct tomoyo_condition" on success, NULL otherwise.
478 struct tomoyo_condition *tomoyo_get_condition(struct tomoyo_acl_param *param) tomoyo_get_condition()
480 struct tomoyo_condition *entry = NULL; tomoyo_get_condition()
486 struct tomoyo_condition e = { }; tomoyo_get_condition()
735 * tomoyo_condition - Check condition part.
738 * @cond: Pointer to "struct tomoyo_condition". Maybe NULL.
744 bool tomoyo_condition(struct tomoyo_request_info *r, tomoyo_condition() function
745 const struct tomoyo_condition *cond) tomoyo_condition()
H A Dcommon.h64 /* Index numbers for "struct tomoyo_condition". */
628 /* Structure for entries which follows "struct tomoyo_condition". */
648 struct tomoyo_condition { struct
670 struct tomoyo_condition *cond; /* Maybe NULL. */
920 bool tomoyo_condition(struct tomoyo_request_info *r,
921 const struct tomoyo_condition *cond);
1019 struct tomoyo_condition *tomoyo_get_condition(struct tomoyo_acl_param *param);
1173 * tomoyo_put_condition - Drop reference on "struct tomoyo_condition".
1175 * @cond: Pointer to "struct tomoyo_condition". Maybe NULL.
1179 static inline void tomoyo_put_condition(struct tomoyo_condition *cond) tomoyo_put_condition()
H A Dgc.c262 * tomoyo_del_condition - Delete members in "struct tomoyo_condition".
270 struct tomoyo_condition *cond = container_of(element, typeof(*cond), tomoyo_del_condition()
H A Ddomain.c171 if (!tomoyo_condition(r, ptr->cond)) list_for_each_entry_rcu()
H A Dcommon.c1196 * @cond: Pointer to "struct tomoyo_condition".
1201 const struct tomoyo_condition *cond) tomoyo_print_condition()

Completed in 94 milliseconds