constify chown_common/security_path_chown
[deliverable/linux.git] / include / linux / lsm_hooks.h
index cdee11cbcdf1487a7cd99d0f58a3c348e4b118d0..84f76cbc6d06cbed49b08afc2513f7d894b940eb 100644 (file)
@@ -1366,7 +1366,7 @@ union security_list_options {
        int (*path_rmdir)(struct path *dir, struct dentry *dentry);
        int (*path_mknod)(struct path *dir, struct dentry *dentry,
                                umode_t mode, unsigned int dev);
-       int (*path_truncate)(struct path *path);
+       int (*path_truncate)(const struct path *path);
        int (*path_symlink)(struct path *dir, struct dentry *dentry,
                                const char *old_name);
        int (*path_link)(struct dentry *old_dentry, struct path *new_dir,
@@ -1375,7 +1375,7 @@ union security_list_options {
                                struct path *new_dir,
                                struct dentry *new_dentry);
        int (*path_chmod)(struct path *path, umode_t mode);
-       int (*path_chown)(struct path *path, kuid_t uid, kgid_t gid);
+       int (*path_chown)(const struct path *path, kuid_t uid, kgid_t gid);
        int (*path_chroot)(struct path *path);
 #endif
 
This page took 0.027696 seconds and 5 git commands to generate.