diff options
author | Tim Shimmin <tes@sgi.com> | 2008-10-30 03:30:48 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-10-30 03:30:48 -0400 |
commit | e0b8e8b65d578f5d5538465dff8392cf02e1cc5d (patch) | |
tree | be3d83c0db87e305ea7af18f3ab5cefaa0032b49 /fs/xfs/linux-2.6/xfs_ioctl.c | |
parent | f3f0d7b026ae34d6ed5ae67cd4dd5909f9cd70a5 (diff) |
[XFS] remove restricted chown parameter from xfs linux
On Linux all filesystems are supposed to be operating under Posix'
restricted chown. Restricted chown means it restricts chown to the owner
unless you have CAP_FOWNER.
NOTE: that 2 files outside of fs/xfs have been modified too for this
change.
Reviewed-by: Dave Chinner <david@fromorbit.com>
SGI-PV: 988919
SGI-Modid: xfs-linux-melb:xfs-kern:32413a
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_ioctl.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_ioctl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c index b5ea3f2afdcb..d25694e8cd62 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl.c +++ b/fs/xfs/linux-2.6/xfs_ioctl.c | |||
@@ -1103,10 +1103,6 @@ xfs_ioctl_setattr( | |||
1103 | 1103 | ||
1104 | /* | 1104 | /* |
1105 | * Change file ownership. Must be the owner or privileged. | 1105 | * Change file ownership. Must be the owner or privileged. |
1106 | * If the system was configured with the "restricted_chown" | ||
1107 | * option, the owner is not permitted to give away the file, | ||
1108 | * and can change the group id only to a group of which he | ||
1109 | * or she is a member. | ||
1110 | */ | 1106 | */ |
1111 | if (mask & FSX_PROJID) { | 1107 | if (mask & FSX_PROJID) { |
1112 | /* | 1108 | /* |