Jeimon
8ab78863e9
net/nfc/rawsock.c: fix a permission check bug
...
The function rawsock_create() calls a privileged function sk_alloc(), which requires a ns-aware check to check net->user_ns, i.e., ns_capable(). However, the original code checks the init_user_ns using capable(). So we replace the capable() with ns_capable().
Signed-off-by: Jeimon <jjjinmeng.zhou@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-05-10 14:21:02 -07:00
..
2021-03-24 17:52:11 -07:00
2021-03-28 17:56:56 -07:00
2021-04-26 12:00:00 -07:00
2021-02-12 16:40:28 -08:00
2021-01-29 18:24:05 -08:00
2021-03-30 16:54:50 -07:00
2021-04-09 20:48:35 -07:00
2021-04-29 11:57:23 -07:00
2021-03-26 20:41:52 -07:00
2021-01-27 17:04:12 -08:00
2021-04-29 15:33:17 -07:00
2021-02-15 13:21:48 -08:00
2021-04-25 19:43:00 +02:00
2021-05-06 10:27:02 -07:00
2021-04-30 11:20:43 -07:00
2021-01-27 17:03:52 -08:00
2021-04-09 16:34:56 -07:00
2021-03-30 16:54:50 -07:00
2021-01-27 17:04:12 -08:00
2021-04-28 14:06:45 -07:00
2021-04-13 14:35:02 -07:00
2021-05-05 12:41:10 -07:00
2021-05-03 13:33:54 -07:00
2021-04-07 14:43:28 -07:00
2021-01-27 17:04:12 -08:00
2021-05-07 16:10:12 -07:00
2021-04-29 15:34:15 -07:00
2021-03-28 17:31:13 -07:00
2021-03-28 17:31:13 -07:00
2021-01-04 10:05:50 +01:00
2021-04-27 14:23:13 -07:00
2021-03-28 17:56:55 -07:00
2021-03-23 14:14:50 -07:00
2021-04-27 14:16:14 -07:00
2021-04-29 11:57:23 -07:00
2021-04-06 22:42:16 +02:00
2021-04-27 14:17:00 -07:00
2021-05-07 15:53:40 -07:00
2021-04-09 20:48:35 -07:00
2021-05-07 10:01:39 +02:00
2021-04-29 11:57:23 -07:00
2021-04-16 17:01:04 -07:00
2021-04-28 13:59:08 -07:00
2021-05-10 14:21:02 -07:00
2020-06-14 01:57:21 +09:00
2021-04-29 15:31:53 -07:00
2021-04-14 14:34:38 -07:00
2020-08-23 17:36:59 -05:00
2021-03-14 15:00:43 -07:00
2021-04-26 12:00:00 -07:00
2021-05-01 09:15:05 -07:00
2021-04-20 16:44:04 -07:00
2021-03-10 12:45:15 -08:00
2021-04-29 11:57:23 -07:00
2021-04-29 15:31:53 -07:00
2021-05-03 13:36:21 -07:00
2021-05-05 12:52:45 -07:00
2021-05-07 11:23:41 -07:00
2021-02-14 17:38:11 -08:00
2021-04-29 11:57:23 -07:00
2021-04-27 14:15:19 -07:00
2021-01-24 14:27:18 +01:00
2021-04-30 15:00:59 -07:00
2021-04-29 11:57:23 -07:00
2021-03-28 17:31:13 -07:00
2021-05-04 00:28:06 +02:00
2021-04-19 12:49:29 +02:00
2020-10-03 00:02:13 -04:00
2020-06-30 15:57:34 -07:00
2021-04-28 14:06:45 -07:00
2021-01-27 17:03:52 -08:00
2021-03-25 16:56:27 -07:00
2021-04-12 13:27:11 -07:00