|
@@ -1436,7 +1436,7 @@ struct security_operations {
|
|
|
int (*path_rename) (struct path *old_dir, struct dentry *old_dentry,
|
|
|
struct path *new_dir, struct dentry *new_dentry);
|
|
|
int (*path_chmod) (struct dentry *dentry, struct vfsmount *mnt,
|
|
|
- mode_t mode);
|
|
|
+ umode_t mode);
|
|
|
int (*path_chown) (struct path *path, uid_t uid, gid_t gid);
|
|
|
int (*path_chroot) (struct path *path);
|
|
|
#endif
|
|
@@ -2867,7 +2867,7 @@ int security_path_link(struct dentry *old_dentry, struct path *new_dir,
|
|
|
int security_path_rename(struct path *old_dir, struct dentry *old_dentry,
|
|
|
struct path *new_dir, struct dentry *new_dentry);
|
|
|
int security_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
|
|
|
- mode_t mode);
|
|
|
+ umode_t mode);
|
|
|
int security_path_chown(struct path *path, uid_t uid, gid_t gid);
|
|
|
int security_path_chroot(struct path *path);
|
|
|
#else /* CONFIG_SECURITY_PATH */
|
|
@@ -2921,7 +2921,7 @@ static inline int security_path_rename(struct path *old_dir,
|
|
|
|
|
|
static inline int security_path_chmod(struct dentry *dentry,
|
|
|
struct vfsmount *mnt,
|
|
|
- mode_t mode)
|
|
|
+ umode_t mode)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|