linux-sg2042/net
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
..
6lowpan
9p
802
8021q
appletalk
atm net: atm: Convert timers to use timer_setup() 2017-10-18 12:40:27 +01:00
ax25
batman-adv This cleanup patchset includes the following patches: 2017-10-06 10:12:52 -07:00
bluetooth
bpf
bridge Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-09 20:11:09 -07:00
caif
can net: can: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
ceph
core Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 2017-10-19 11:44:36 +01:00
dcb
dccp inet/connection_sock: Convert timers to use timer_setup() 2017-10-18 12:39:55 +01:00
decnet decnet: af_decnet: mark expected switch fall-throughs 2017-10-18 14:10:29 +01:00
dns_resolver
dsa net: dsa: split dsa_port's netdev member 2017-10-18 12:24:33 +01:00
ethernet
hsr
ieee802154 inet: frags: Convert timers to use timer_setup() 2017-10-18 12:39:55 +01:00
ife
ipv4 net: ipv4: Change fib notifiers to take a fib_alias 2017-10-20 13:29:26 +01:00
ipv6 net: Add extack to validator_info structs used for address notifier 2017-10-20 13:15:07 +01:00
ipx net: ipx: mark expected switch fall-through 2017-10-18 14:13:08 +01:00
iucv
kcm
key
l2tp net: l2tp: mark expected switch fall-through 2017-10-19 13:33:23 +01:00
l3mdev
lapb net/lapb: Convert timers to use timer_setup() 2017-10-18 12:39:36 +01:00
llc
mac80211 mac80211: don't track HT capability changes 2017-10-13 14:29:02 +02:00
mac802154
mpls ip_tunnel: fix building with NET_IP_TUNNEL=m 2017-10-12 12:21:11 -07:00
ncsi
netfilter bpf: Add file mode configuration into bpf maps 2017-10-20 13:32:59 +01:00
netlabel
netlink netlink: use NETLINK_CB(in_skb).sk instead of looking it up 2017-10-18 12:20:13 +01:00
netrom net/core: Convert sk_timer users to use timer_setup() 2017-10-18 12:40:27 +01:00
nfc
nsh
openvswitch openvswitch: add ct_clear action 2017-10-10 16:38:34 -07:00
packet
phonet net: phonet: mark phonet_protocol as const 2017-10-07 23:15:08 +01:00
psample
qrtr net: qrtr: Support decoding incoming v2 packets 2017-10-11 15:28:39 -07:00
rds RDS: IB: Initialize max_items based on underlying device attributes 2017-10-05 21:16:33 -07:00
rfkill
rose net/core: Convert sk_timer users to use timer_setup() 2017-10-18 12:40:27 +01:00
rxrpc rxrpc: Use MSG_WAITALL to tell sendmsg() to temporarily ignore signals 2017-10-18 11:43:07 +01:00
sched net/sched: Set the net-device for egress device instance 2017-10-20 13:09:35 +01:00
sctp sctp: make array sctp_sched_ops static 2017-10-11 20:18:25 -07:00
smc net/smc: dev_put for netdev after usage of ib_query_gid() 2017-10-12 12:20:27 -07:00
strparser
sunrpc sunrpc: Convert timers to use timer_setup() 2017-10-18 12:40:27 +01:00
switchdev
tipc tipc: checking for NULL instead of IS_ERR() 2017-10-20 08:34:00 +01:00
tls
unix
vmw_vsock
wimax
wireless Three fixes for the recently added new code: 2017-10-14 18:36:46 -07:00
x25 net/core: Convert sk_timer users to use timer_setup() 2017-10-18 12:40:27 +01:00
xfrm xfrm: Convert timers to use timer_setup() 2017-10-18 12:39:37 +01:00
Kconfig
Makefile
compat.c
socket.c
sysctl_net.c