Files
android_kernel_xiaomi_sm8450/include/uapi/linux
Chenbo Feng 6e71b04a82 bpf: Add file mode configuration into bpf maps
Introduce the map read/write flags to the eBPF syscalls that returns the
map fd. The flags is used to set up the file mode when construct a new
file descriptor for bpf maps. To not break the backward capability, the
f_flags is set to O_RDWR if the flag passed by syscall is 0. Otherwise
it should be O_RDONLY or O_WRONLY. When the userspace want to modify or
read the map content, it will check the file mode to see if it is
allowed to make the change.

Signed-off-by: Chenbo Feng <fengc@google.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-20 13:32:59 +01:00
..
2014-09-23 23:15:46 -07:00
2017-08-31 17:32:38 -04:00
2016-10-18 10:05:42 -06:00
2014-07-01 10:48:05 -06:00
2017-08-15 09:02:09 -07:00
2014-03-20 14:55:18 +01:00
2017-08-20 08:14:03 -04:00
2017-08-31 14:42:19 -07:00
2015-08-25 14:41:50 -05:00
2014-11-19 14:48:02 -06:00
2017-08-03 21:37:29 -07:00
2015-04-12 21:25:13 -04:00
2017-08-31 17:32:38 -04:00
2016-10-01 07:32:32 +02:00
2015-12-14 12:19:37 -06:00
2017-03-25 20:11:19 -07:00
2017-02-03 15:16:45 -05:00
2016-11-03 15:41:11 -04:00
2016-03-22 15:36:02 -07:00
2016-06-27 16:31:25 +01:00
2017-07-06 16:24:30 -07:00
2017-08-08 06:03:15 -04:00
2015-08-03 17:30:00 -07:00
2017-01-17 14:38:43 -05:00
2015-01-20 13:51:06 +01:00
2014-12-13 12:42:52 -08:00
2017-05-30 08:20:25 -06:00
2017-02-20 11:13:37 -05:00
2015-04-23 15:16:14 -04:00
2015-07-20 14:58:46 -04:00
2016-05-17 17:14:21 -06:00
2017-10-10 16:38:34 -07:00
2017-09-07 13:24:16 -05:00
2016-09-27 21:52:00 -04:00
2016-09-27 21:52:00 -04:00
2015-09-04 16:54:41 -07:00
2017-01-09 16:07:38 -05:00
2016-04-04 22:11:20 -04:00
2017-08-04 10:30:27 +02:00
2014-12-09 14:10:41 +08:00
2017-01-10 18:31:55 -08:00
2017-06-15 12:12:40 -04:00
2015-12-18 17:48:51 -08:00
2015-10-27 18:55:31 -07:00
2017-06-05 16:58:59 +02:00
2017-03-31 12:55:06 +02:00
2016-12-16 00:13:38 +02:00
2016-12-16 00:13:32 +02:00
2015-03-29 12:13:52 +10:30
2017-04-24 12:35:56 -04:00
2016-04-30 09:26:55 -07:00