Serge E. Hallyn
0ad30b8fd5
add some long-missing capabilities to fs_mask
...
When POSIX capabilities were introduced during the 2.1 Linux
cycle, the fs mask, which represents the capabilities which having
fsuid==0 is supposed to grant, did not include CAP_MKNOD and
CAP_LINUX_IMMUTABLE. However, before capabilities the privilege
to call these did in fact depend upon fsuid==0.
This patch introduces those capabilities into the fsmask,
restoring the old behavior.
See the thread starting at http://lkml.org/lkml/2009/3/11/157 for
reference.
Note that if this fix is deemed valid, then earlier kernel versions (2.4
and 2.2) ought to be fixed too.
Changelog:
[Mar 23] Actually delete old CAP_FS_SET definition...
[Mar 20] Updated against J. Bruce Fields's patch
Reported-by: Igor Zhbanov <izh1979@gmail.com >
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com >
Cc: stable@kernel.org
Cc: J. Bruce Fields <bfields@citi.umich.edu >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-04-13 08:32:28 -07:00
..
2009-04-07 10:23:34 +01:00
2009-04-08 17:45:02 -07:00
2009-03-31 09:56:26 +01:00
2009-04-06 07:01:56 -07:00
2009-04-06 09:48:20 -07:00
2009-03-31 15:09:39 +11:00
2009-03-31 09:56:29 +01:00
2009-04-07 08:31:07 -07:00
2009-04-06 13:25:56 -07:00
2009-03-30 15:22:03 +02:00
2009-04-05 02:14:15 -04:00
2009-04-06 20:00:51 -04:00
2009-04-01 08:59:23 -07:00
2009-04-01 08:59:23 -07:00
2009-04-06 08:04:53 -07:00
2009-04-02 19:05:01 -07:00
2009-04-06 08:04:54 -07:00
2009-04-07 08:59:11 +02:00
2009-04-01 08:59:14 -07:00
2009-03-28 13:30:43 -07:00
2009-04-02 21:09:10 -07:00
2009-04-13 08:32:28 -07:00
2009-04-03 15:24:35 -07:00
2009-03-27 14:51:13 +01:00
2009-04-04 14:20:34 -07:00
2009-04-07 09:05:35 -07:00
2009-04-03 14:53:32 -07:00
2009-04-02 19:05:00 -07:00
2009-04-02 19:04:57 -07:00
2009-03-27 14:43:59 -04:00
2009-04-09 00:27:13 +01:00
2009-04-02 19:55:30 +01:00
2009-04-07 08:31:11 -07:00
2009-04-04 10:43:31 +01:00
2009-03-30 21:46:44 +02:00
2009-04-03 14:53:32 -07:00
2009-04-01 15:42:34 -07:00
2009-04-07 08:12:38 +02:00
2009-04-01 08:59:20 -07:00
2009-04-03 11:10:33 -07:00
2009-04-01 08:59:29 -07:00
2009-04-03 12:13:03 +02:00
2009-03-31 23:00:26 -04:00
2009-04-07 08:31:09 -07:00
2009-04-03 16:42:37 +01:00
2009-04-03 16:42:39 +01:00
2009-04-07 12:54:08 +10:00
2009-04-09 05:43:32 +02:00
2009-04-06 01:41:22 +02:00
2009-04-01 21:42:26 +02:00
2009-03-30 15:14:53 +02:00
2009-04-03 09:48:29 -07:00
2009-03-31 14:52:52 +02:00
2009-03-28 21:34:44 +01:00
2009-04-06 18:11:41 -07:00
2009-03-28 21:34:45 +01:00
2009-04-06 18:12:24 +02:00
2009-04-08 14:13:03 +02:00
2009-04-02 19:04:53 -07:00
2009-03-27 20:13:02 -04:00
2009-03-28 13:30:43 -07:00
2009-04-07 14:10:10 -07:00
2009-04-03 21:46:01 +01:00
2009-04-07 14:07:52 -07:00
2009-04-07 08:31:09 -07:00
2009-03-31 01:14:44 +04:00
2009-04-09 10:35:30 -07:00
2009-03-27 17:28:43 +01:00
2009-03-30 12:43:22 -03:00
2009-04-03 15:24:35 -07:00
2009-03-31 13:05:32 +10:30
2009-04-02 19:04:49 -07:00
2009-04-05 11:04:19 -07:00
2009-04-03 12:21:12 +02:00
2009-04-09 07:49:44 -07:00
2009-04-07 08:31:08 -07:00
2009-04-06 16:06:26 +01:00
2009-04-06 16:06:26 +01:00
2009-04-06 16:06:26 +01:00
2009-03-30 15:21:59 +02:00
2009-04-02 19:05:10 -07:00
2009-04-01 08:59:17 -07:00
2009-04-02 19:04:56 -07:00
2009-04-05 11:04:19 -07:00
2009-04-07 08:12:38 +02:00
2009-04-02 19:04:48 -07:00
2009-04-02 19:04:48 -07:00
2009-04-05 10:33:07 -07:00
2009-03-31 23:00:27 -04:00
2009-04-05 11:04:19 -07:00
2009-03-31 13:05:30 +10:30
2009-04-01 07:38:54 -04:00
2009-03-27 14:44:00 -04:00
2009-03-28 13:30:43 -07:00
2009-03-28 23:55:58 -07:00
2009-04-03 17:41:23 -07:00
2009-04-03 16:42:42 +01:00
2009-04-03 16:42:44 +01:00
2009-04-03 16:42:43 +01:00
2009-04-01 13:28:15 -04:00
2009-04-03 17:41:12 -07:00
2009-04-07 08:31:20 -07:00
2009-03-27 20:13:04 -04:00
2009-03-31 23:00:27 -04:00
2009-04-02 19:04:56 -07:00
2009-04-01 08:59:13 -07:00
2009-04-03 16:42:36 +01:00
2009-04-03 16:42:39 +01:00
2009-04-01 08:59:13 -07:00
2009-04-07 08:44:06 -07:00
2009-04-06 14:36:28 -07:00
2009-04-06 11:25:06 -07:00
2009-04-10 21:36:18 +02:00
2009-04-01 08:59:13 -07:00
2009-03-27 22:23:52 -04:00
2009-03-31 01:14:44 +04:00
2009-04-02 19:05:00 -07:00
2009-03-30 15:22:01 +02:00
2009-04-03 12:23:05 +02:00
2009-04-03 12:23:05 +02:00
2009-04-03 12:23:05 +02:00
2009-04-03 12:23:05 +02:00
2009-03-30 14:28:58 -07:00
2009-03-30 12:16:38 -07:00
2009-03-30 12:16:39 -07:00
2009-03-30 12:33:01 -07:00
2009-03-30 12:16:39 -07:00
2009-04-02 19:04:51 -07:00
2009-04-01 08:59:24 -07:00
2009-04-09 07:37:02 +02:00
2009-04-03 12:08:57 +02:00
2009-03-30 22:05:11 +10:30
2009-04-07 08:44:05 -07:00
2009-04-08 14:33:38 -07:00
2009-03-29 01:40:34 -07:00
2009-04-03 12:23:06 +02:00
2009-04-03 16:42:35 +01:00
2009-04-03 12:23:06 +02:00
2009-03-27 12:18:56 -04:00
2009-04-02 19:05:11 -07:00
2009-04-05 10:30:21 -07:00
2009-04-01 08:59:16 -07:00
2009-04-01 08:59:15 -07:00
2009-04-02 19:05:01 -07:00
2009-04-09 05:43:32 +02:00
2009-03-27 16:58:22 -04:00
2009-03-30 17:17:35 -07:00
2009-04-02 19:05:00 -07:00
2009-04-07 08:44:04 -07:00
2009-04-06 21:44:29 -03:00
2009-03-30 12:43:15 -03:00
2009-04-01 08:59:20 -07:00
2009-04-02 19:04:50 -07:00
2009-04-07 08:31:03 -07:00