Dwight Engen
fd5e2aa865
xfs: ioctl check for capabilities in the current user namespace
...
Use inode_capable() to check if SUID|SGID bits should be cleared to match
similar check in inode_change_ok().
The check for CAP_LINUX_IMMUTABLE was not modified since all other file
systems also check against init_user_ns rather than current_user_ns.
Only allow changing of projid from init_user_ns.
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-08-15 14:19:25 -05:00
..
2013-08-12 17:49:38 -05:00
2013-08-15 14:18:31 -05:00
2013-06-06 10:52:15 -05:00
2013-08-12 17:44:36 -05:00
2013-08-12 16:57:51 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 16:46:08 -05:00
2013-08-12 16:35:41 -05:00
2013-08-12 16:41:29 -05:00
2013-08-12 16:52:54 -05:00
2013-05-30 17:26:31 -05:00
2013-08-13 15:48:01 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:46:08 -05:00
2013-06-20 13:26:09 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 16:56:06 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 16:58:37 -05:00
2013-06-14 15:59:31 -05:00
2013-08-12 16:35:41 -05:00
2013-08-13 16:10:21 -05:00
2013-08-12 16:06:37 -05:00
2013-08-12 16:36:16 -05:00
2013-08-12 16:52:54 -05:00
2013-07-24 12:15:23 -05:00
2013-08-12 16:40:57 -05:00
2013-08-12 16:58:37 -05:00
2013-08-12 16:35:41 -05:00
2013-08-12 16:59:14 -05:00
2013-08-12 16:52:54 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:40:57 -05:00
2013-08-12 16:40:57 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:36:16 -05:00
2013-08-13 16:10:21 -05:00
2013-08-12 17:47:34 -05:00
2013-07-11 10:35:32 -05:00
2013-08-12 16:55:17 -05:00
2013-08-12 16:53:39 -05:00
2013-08-13 16:10:21 -05:00
2013-08-12 16:07:13 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:55:17 -05:00
2013-08-12 17:00:11 -05:00
2013-08-12 16:43:38 -05:00
2013-08-12 17:50:35 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 16:52:54 -05:00
2013-06-27 14:26:21 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:37:57 -05:00
2013-08-13 16:10:21 -05:00
2013-08-12 16:10:35 -05:00
2013-08-12 16:39:05 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:55:17 -05:00
2013-08-12 16:37:32 -05:00
2013-08-13 16:10:21 -05:00
2013-08-12 16:05:19 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 16:55:17 -05:00
2013-08-12 16:56:06 -05:00
2013-08-15 14:19:25 -05:00
2013-08-12 16:56:06 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 16:53:39 -05:00
2013-07-09 15:36:21 -05:00
2013-08-15 14:17:34 -05:00
2013-08-13 16:21:21 -05:00
2013-08-12 17:49:38 -05:00
2013-08-13 16:21:21 -05:00
2013-08-13 15:49:51 -05:00
2013-08-13 14:19:11 -05:00
2013-08-12 17:50:35 -05:00
2013-08-13 16:12:30 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 17:45:49 -05:00
2013-08-12 16:09:52 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 17:47:34 -05:00
2013-07-11 10:35:32 -05:00
2013-08-12 16:20:18 -05:00
2013-08-12 16:20:18 -05:00
2013-08-12 16:36:16 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 16:13:10 -05:00
2013-08-12 16:44:11 -05:00
2013-08-12 16:57:16 -05:00
2013-08-12 16:55:17 -05:00
2013-08-12 17:44:36 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 16:43:38 -05:00
2013-06-17 17:42:25 -05:00
2013-08-12 16:09:52 -05:00
2013-07-09 12:29:12 -07:00
2013-06-27 13:33:11 -05:00
2013-08-12 16:09:52 -05:00
2013-06-28 13:00:05 -05:00
2013-08-12 16:35:41 -05:00
2013-08-12 17:47:34 -05:00
2013-08-12 17:48:08 -05:00
2013-08-12 17:47:34 -05:00
2013-08-13 16:19:03 -05:00
2013-08-12 17:04:08 -05:00
2013-08-12 16:53:39 -05:00