|
@@ -957,7 +957,7 @@ const struct tomoyo_path_info *tomoyo_get_name(const char *name);
|
|
|
const struct tomoyo_path_info *tomoyo_path_matches_group
|
|
|
(const struct tomoyo_path_info *pathname, const struct tomoyo_group *group);
|
|
|
int tomoyo_check_open_permission(struct tomoyo_domain_info *domain,
|
|
|
- struct path *path, const int flag);
|
|
|
+ const struct path *path, const int flag);
|
|
|
void tomoyo_close_control(struct tomoyo_io_buffer *head);
|
|
|
int tomoyo_env_perm(struct tomoyo_request_info *r, const char *env);
|
|
|
int tomoyo_execute_permission(struct tomoyo_request_info *r,
|
|
@@ -968,15 +968,15 @@ int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile,
|
|
|
int tomoyo_init_request_info(struct tomoyo_request_info *r,
|
|
|
struct tomoyo_domain_info *domain,
|
|
|
const u8 index);
|
|
|
-int tomoyo_mkdev_perm(const u8 operation, struct path *path,
|
|
|
+int tomoyo_mkdev_perm(const u8 operation, const struct path *path,
|
|
|
const unsigned int mode, unsigned int dev);
|
|
|
-int tomoyo_mount_permission(const char *dev_name, struct path *path,
|
|
|
+int tomoyo_mount_permission(const char *dev_name, const struct path *path,
|
|
|
const char *type, unsigned long flags,
|
|
|
void *data_page);
|
|
|
int tomoyo_open_control(const u8 type, struct file *file);
|
|
|
-int tomoyo_path2_perm(const u8 operation, struct path *path1,
|
|
|
- struct path *path2);
|
|
|
-int tomoyo_path_number_perm(const u8 operation, struct path *path,
|
|
|
+int tomoyo_path2_perm(const u8 operation, const struct path *path1,
|
|
|
+ const struct path *path2);
|
|
|
+int tomoyo_path_number_perm(const u8 operation, const struct path *path,
|
|
|
unsigned long number);
|
|
|
int tomoyo_path_perm(const u8 operation, const struct path *path,
|
|
|
const char *target);
|