Files
Linux/include/linux
Adam Manzanares aa43457799 block: add ioprio_check_cap function
Aio per command iopriority support introduces a second interface between
userland and the kernel capable of passing iopriority. The aio interface also
needs the ability to verify that the submitting context has sufficient
privileges to submit IOPRIO_RT commands. This patch creates the
ioprio_check_cap function to be used by the ioprio_set system call and also by
the aio interface.

Signed-off-by: Adam Manzanares <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jeff Moyer <[email protected]>
Signed-off-by: Al Viro <[email protected]>
2018-05-31 10:50:54 -04:00
..
…
2018-02-14 09:43:22 -08:00
…
…
…
…
…
…
…
…
2018-02-20 11:34:54 +00:00
2018-03-08 13:56:24 +05:30
2018-03-29 14:29:55 -04:00
…
…
…
…
…
…
…
…
…
…
2018-05-26 09:16:44 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-20 17:18:35 -07:00
…
…
2018-04-11 10:28:37 -07:00
…
…
…
…
2018-03-16 10:56:13 +01:00
2018-03-31 02:15:18 +02:00
2018-03-31 02:16:26 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-03-16 15:45:51 -07:00
…
…
…
…
2018-05-02 19:57:24 +02:00
…
…
…
…
…
2018-03-16 10:55:47 +01:00
…
…
…
…
…
2018-03-26 15:09:38 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-03-12 10:05:01 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-03-26 15:56:44 +02:00
…
…
…
…
…
…
2018-03-31 02:15:18 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-26 09:48:42 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-22 21:13:03 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2018-03-26 08:53:43 -06:00
…
…
…
…
…
…
…
…
2018-05-31 10:50:54 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-11 10:28:35 -07:00
…
…
2018-04-11 10:28:38 -07:00
…
…
…
…
…
…
…
…
…
…
…
2018-02-24 01:43:47 +01:00
…
…
…
…
2018-03-13 13:29:10 -07:00
…
…
…
…
…
…
…
…
…
2018-04-12 09:41:19 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-11 10:28:32 -07:00
…
…
…
2018-04-11 10:28:39 -07:00
…
…
…
…
2018-03-26 13:14:43 -04:00
2018-03-26 13:14:43 -04:00
2018-03-26 13:14:43 -04:00
…
…
…
…
…
2018-03-30 12:56:22 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-11 10:28:39 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-20 16:12:26 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-03-17 14:20:55 +01:00
…
2018-03-01 08:33:05 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-05 21:36:24 -07:00
2018-04-05 21:36:27 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-05-02 19:57:24 +02:00
2018-02-06 18:32:47 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-20 16:10:25 -08:00
…
…
…
…
…
…
…
…
…
…
2018-02-06 18:32:44 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…