kernel_optimize_test/net/core
Tyler Hicks fbdeaed408 net: create reusable function for getting ownership info of sysfs inodes
Make net_ns_get_ownership() reusable by networking code outside of core.
This is useful, for example, to allow bridge related sysfs files to be
owned by container root.

Add a function comment since this is a potentially dangerous function to
use given the way that kobject_get_ownership() works by initializing uid
and gid before calling .get_ownership().

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-20 23:44:36 -07:00
..
datagram.c Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
dev_addr_lists.c
dev_ioctl.c net: use dev_change_tx_queue_len() for SIOCSIFTXQLEN 2018-06-30 21:26:52 +09:00
dev.c net: Init backlog NAPI's gro_hash. 2018-07-20 23:37:55 -07:00
devlink.c devlink: Add generic parameters region_snapshot 2018-07-12 17:37:13 -07:00
drop_monitor.c
dst_cache.c
dst.c
ethtool.c net: Add TLS RX offload feature 2018-07-16 00:12:09 -07:00
failover.c
fib_notifier.c
fib_rules.c net: fib_rules: bring back rule_exists to match rule during add 2018-06-30 22:11:13 +09:00
filter.c Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
flow_dissector.c flow_dissector: Dissect tos and ttl from the tunnel info 2018-07-19 23:26:01 -07:00
gen_estimator.c
gen_stats.c gen_stats: Fix netlink stats dumping in the presence of padding 2018-07-04 14:44:45 +09:00
gro_cells.c
hwbm.c
link_watch.c
lwt_bpf.c
lwtunnel.c
Makefile
neighbour.c neighbour: force neigh_invalidate when NUD_FAILED update is from admin 2018-06-27 15:40:45 +09:00
net_namespace.c net: create reusable function for getting ownership info of sysfs inodes 2018-07-20 23:44:36 -07:00
net-procfs.c
net-sysfs.c net: create reusable function for getting ownership info of sysfs inodes 2018-07-20 23:44:36 -07:00
net-sysfs.h
net-traces.c
netclassid_cgroup.c
netevent.c
netpoll.c
netprio_cgroup.c
page_pool.c
pktgen.c pktgen: convert safe uses of strncpy() to strcpy() to avoid string truncation warning 2018-07-18 15:24:04 -07:00
ptp_classifier.c
request_sock.c
rtnetlink.c xdp: fix uninitialized 'err' variable 2018-07-18 13:32:03 -07:00
scm.c
secure_seq.c
skbuff.c Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
sock_diag.c
sock_reuseport.c
sock.c net/sched: Make etf report drops on error_queue 2018-07-04 22:30:28 +09:00
stream.c
sysctl_net_core.c
timestamping.c
tso.c
utils.c
xdp.c xdp: factor out common program/flags handling from drivers 2018-07-13 20:26:35 +02:00