Home
last modified time | relevance | path

Searched refs:is_delete (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/security/tomoyo/
H A Ddomain.c38 int error = param->is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_policy()
50 entry->is_deleted = param->is_delete; in tomoyo_update_policy()
54 if (error && !param->is_delete) { in tomoyo_update_policy()
102 const bool is_delete = param->is_delete; in tomoyo_update_domain() local
103 int error = is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_domain()
132 is_delete); in tomoyo_update_domain()
134 entry->is_deleted = is_delete; in tomoyo_update_domain()
138 if (error && !is_delete) { in tomoyo_update_domain()
246 int error = param->is_delete in tomoyo_write_transition_control()
[all...]
H A Dcommon.c855 * @is_delete: True if it is a delete request.
862 const bool is_delete) in tomoyo_update_manager_entry()
867 .is_delete = is_delete, in tomoyo_update_manager_entry()
870 int error = is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_manager_entry()
898 tomoyo_manage_by_non_root = !head->w.is_delete; in tomoyo_write_manager()
901 return tomoyo_update_manager_entry(data, head->w.is_delete); in tomoyo_write_manager()
1120 * @is_delete: True if it is a delete request.
1128 const bool is_delete) in tomoyo_write_domain2()
1134 .is_delete in tomoyo_write_domain2()
861 tomoyo_update_manager_entry(const char *manager, const bool is_delete) tomoyo_update_manager_entry() argument
1126 tomoyo_write_domain2(struct tomoyo_policy_namespace *ns, struct list_head *list, char *data, const bool is_delete) tomoyo_write_domain2() argument
1177 const bool is_delete = head->w.is_delete; tomoyo_write_domain() local
1758 const bool is_delete = head->w.is_delete; tomoyo_write_exception() local
[all...]
H A Dfile.c355 * @is_delete: True for @a &= ~@b, false for @a |= @b.
361 const bool is_delete) in tomoyo_merge_path_acl()
368 if (is_delete) in tomoyo_merge_path_acl()
430 * @is_delete: True for @a &= ~@b, false for @a |= @b.
436 const bool is_delete) in tomoyo_merge_mkdev_acl()
444 if (is_delete) in tomoyo_merge_mkdev_acl()
510 * @is_delete: True for @a &= ~@b, false for @a |= @b.
516 const bool is_delete) in tomoyo_merge_path2_acl()
523 if (is_delete) in tomoyo_merge_path2_acl()
648 * @is_delete
359 tomoyo_merge_path_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_path_acl() argument
434 tomoyo_merge_mkdev_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_mkdev_acl() argument
514 tomoyo_merge_path2_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_path2_acl() argument
652 tomoyo_merge_path_number_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_path_number_acl() argument
[all...]
H A Dnetwork.c226 * @is_delete: True for @a &= ~@b, false for @a |= @b.
232 const bool is_delete) in tomoyo_merge_inet_acl()
239 if (is_delete) in tomoyo_merge_inet_acl()
252 * @is_delete: True for @a &= ~@b, false for @a |= @b.
258 const bool is_delete) in tomoyo_merge_unix_acl()
265 if (is_delete) in tomoyo_merge_unix_acl()
230 tomoyo_merge_inet_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_inet_acl() argument
256 tomoyo_merge_unix_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_unix_acl() argument
H A Dcommon.h784 bool is_delete; member
827 bool is_delete; member
/kernel/linux/linux-6.6/security/tomoyo/
H A Ddomain.c38 int error = param->is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_policy()
50 entry->is_deleted = param->is_delete; in tomoyo_update_policy()
54 if (error && !param->is_delete) { in tomoyo_update_policy()
102 const bool is_delete = param->is_delete; in tomoyo_update_domain() local
103 int error = is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_domain()
132 is_delete); in tomoyo_update_domain()
134 entry->is_deleted = is_delete; in tomoyo_update_domain()
138 if (error && !is_delete) { in tomoyo_update_domain()
246 int error = param->is_delete in tomoyo_write_transition_control()
[all...]
H A Dcommon.c847 * @is_delete: True if it is a delete request.
854 const bool is_delete) in tomoyo_update_manager_entry()
859 .is_delete = is_delete, in tomoyo_update_manager_entry()
862 int error = is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_manager_entry()
890 tomoyo_manage_by_non_root = !head->w.is_delete; in tomoyo_write_manager()
893 return tomoyo_update_manager_entry(data, head->w.is_delete); in tomoyo_write_manager()
1112 * @is_delete: True if it is a delete request.
1120 const bool is_delete) in tomoyo_write_domain2()
1126 .is_delete in tomoyo_write_domain2()
853 tomoyo_update_manager_entry(const char *manager, const bool is_delete) tomoyo_update_manager_entry() argument
1118 tomoyo_write_domain2(struct tomoyo_policy_namespace *ns, struct list_head *list, char *data, const bool is_delete) tomoyo_write_domain2() argument
1169 const bool is_delete = head->w.is_delete; tomoyo_write_domain() local
1750 const bool is_delete = head->w.is_delete; tomoyo_write_exception() local
[all...]
H A Dfile.c355 * @is_delete: True for @a &= ~@b, false for @a |= @b.
361 const bool is_delete) in tomoyo_merge_path_acl()
368 if (is_delete) in tomoyo_merge_path_acl()
430 * @is_delete: True for @a &= ~@b, false for @a |= @b.
436 const bool is_delete) in tomoyo_merge_mkdev_acl()
444 if (is_delete) in tomoyo_merge_mkdev_acl()
510 * @is_delete: True for @a &= ~@b, false for @a |= @b.
516 const bool is_delete) in tomoyo_merge_path2_acl()
523 if (is_delete) in tomoyo_merge_path2_acl()
648 * @is_delete
359 tomoyo_merge_path_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_path_acl() argument
434 tomoyo_merge_mkdev_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_mkdev_acl() argument
514 tomoyo_merge_path2_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_path2_acl() argument
652 tomoyo_merge_path_number_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_path_number_acl() argument
[all...]
H A Dnetwork.c226 * @is_delete: True for @a &= ~@b, false for @a |= @b.
232 const bool is_delete) in tomoyo_merge_inet_acl()
239 if (is_delete) in tomoyo_merge_inet_acl()
252 * @is_delete: True for @a &= ~@b, false for @a |= @b.
258 const bool is_delete) in tomoyo_merge_unix_acl()
265 if (is_delete) in tomoyo_merge_unix_acl()
230 tomoyo_merge_inet_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_inet_acl() argument
256 tomoyo_merge_unix_acl(struct tomoyo_acl_info *a, struct tomoyo_acl_info *b, const bool is_delete) tomoyo_merge_unix_acl() argument
H A Dcommon.h784 bool is_delete; member
827 bool is_delete; member

Completed in 15 milliseconds