Linus Torvalds
9d05746e7b
vfs: allow O_PATH file descriptors for fstatfs()
...
Olga reported that file descriptors opened with O_PATH do not work with
fstatfs(), found during further development of ksh93's thread support.
There is no reason to not allow O_PATH file descriptors here (fstatfs is
very much a path operation), so use "fdget_raw()". See commit
55815f70147d ("vfs: make O_PATH file descriptors usable for 'fstat()'")
for a very similar issue reported for fstat() by the same team.
Reported-and-tested-by: ольга крыжановская <olga.kryzhanovska@gmail.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: stable@kernel.org # O_PATH introduced in 3.0+
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-10-12 13:12:31 -07:00
..
2013-09-17 22:31:01 -04:00
2013-09-12 15:38:02 -07:00
2013-09-12 15:38:02 -07:00
2013-09-29 22:02:24 -04:00
2013-09-16 19:16:38 -04:00
2013-06-29 12:56:55 +04:00
2013-09-12 15:38:02 -07:00
2013-10-12 12:54:24 -07:00
2013-09-20 15:15:43 -07:00
2013-09-06 12:55:29 -07:00
2013-10-04 20:50:16 -07:00
2013-07-05 18:59:33 +04:00
2013-07-14 11:42:26 -07:00
2013-06-29 12:56:46 +04:00
2013-07-31 12:16:31 -04:00
2013-08-12 15:22:43 -05:00
2013-09-06 16:58:18 -07:00
2013-07-14 17:48:35 +04:00
2013-08-24 12:10:22 -04:00
2013-09-12 15:38:02 -07:00
2013-09-07 19:54:55 -04:00
2013-09-12 15:38:02 -07:00
2013-09-06 09:06:02 -07:00
2013-10-12 12:55:15 -07:00
2013-09-05 13:50:32 +09:00
2013-09-12 15:38:02 -07:00
2013-06-29 12:56:53 +04:00
2013-09-19 12:50:37 -05:00
2013-10-01 16:41:23 +02:00
2013-09-16 19:17:24 -04:00
2013-09-12 15:38:02 -07:00
2013-09-12 15:38:02 -07:00
2013-09-07 10:38:29 +02:00
2013-09-12 15:38:02 -07:00
2013-07-03 16:07:41 -07:00
2013-08-24 12:10:17 -04:00
2013-07-31 22:14:50 +02:00
2013-08-09 10:49:00 +02:00
2013-08-28 14:59:58 -04:00
2013-06-29 12:56:47 +04:00
2013-09-12 15:38:02 -07:00
2013-08-05 15:03:46 -04:00
2013-07-02 09:39:34 -07:00
2013-09-12 15:38:02 -07:00
2013-07-09 10:33:25 -07:00
2013-09-29 16:03:34 -04:00
2013-09-12 15:01:38 -07:00
2013-09-30 14:31:02 -07:00
2013-07-09 10:33:20 -07:00
2013-09-12 15:38:02 -07:00
2013-09-29 22:02:20 -04:00
2013-09-12 15:38:02 -07:00
2013-06-29 12:56:32 +04:00
2013-09-12 15:38:03 -07:00
2013-09-16 09:28:29 -07:00
2013-06-29 12:56:38 +04:00
2013-06-29 12:56:39 +04:00
2013-09-10 18:56:31 -04:00
2013-09-11 15:59:37 -07:00
2013-09-24 11:24:21 +02:00
2013-06-29 12:56:29 +04:00
2013-09-06 04:57:54 +01:00
2013-09-07 14:36:57 -07:00
2013-09-29 22:02:02 -04:00
2013-09-16 15:36:55 -04:00
2013-09-24 11:23:33 +02:00
2013-09-12 15:38:02 -07:00
2013-10-04 13:56:12 -05:00
2013-09-26 20:34:51 -04:00
2013-07-16 09:32:17 -04:00
2013-06-29 12:57:04 +04:00
2013-07-10 18:11:34 -07:00
2013-09-30 14:31:01 -07:00
2013-09-22 15:00:11 -07:00
2013-09-24 14:41:42 -07:00
2013-09-13 23:06:40 -04:00
2013-07-03 16:07:29 -07:00
2013-06-29 12:46:44 +04:00
2013-06-29 12:57:05 +04:00
2013-09-11 15:59:01 -07:00
2013-09-15 07:11:01 -04:00
2013-09-09 10:47:42 -07:00
2013-09-10 18:56:31 -04:00
2013-09-11 15:58:50 -07:00
2013-09-11 15:59:09 -07:00
2013-08-05 18:25:32 +04:00
2013-09-11 15:59:01 -07:00
2013-09-13 23:06:40 -04:00
2013-09-10 18:56:31 -04:00
2013-09-10 18:56:31 -04:00
2013-07-14 17:43:25 +04:00
2013-07-08 13:36:42 +04:00
2013-09-10 18:56:31 -04:00
2013-09-17 17:08:50 -04:00
2013-09-11 15:59:37 -07:00
2013-09-16 19:17:24 -04:00
2013-08-26 18:42:15 -07:00
2013-07-30 11:53:12 -04:00
2013-06-29 12:57:05 +04:00
2013-07-10 17:08:27 -07:00
2013-07-08 13:36:41 +04:00
2013-07-03 09:10:19 -07:00
2013-08-17 09:32:32 -04:00
2013-10-12 13:12:31 -07:00
2013-10-01 13:11:21 -04:00