On 07/20/2017 07:47 PM, Stanislav Kinsburskiy wrote:
This is precursor series in scope of https://jira.sw.ru/browse/PSBM-58574
S_ISGID is set for procfs only in proc_net.c, so this looks good to me, Reviewed-by: Dmitry Safonov <dsafo...@virtuozzo.com>
--- Stanislav Kinsburskiy (3): proc-net: revert e5990221bde54d757a5b5d85e81b2535064570ad proc-net: proc_net_create() helper introduced proc-net: virtualize all the network proc entries drivers/net/ppp/pppoe.c | 2 +- fs/proc/generic.c | 3 --- fs/proc/proc_net.c | 1 - include/linux/proc_fs.h | 9 ++++++++- net/bluetooth/af_bluetooth.c | 2 +- net/core/net-procfs.c | 8 ++++---- net/core/pktgen.c | 2 +- net/core/sock.c | 2 +- net/ipv4/arp.c | 2 +- net/ipv4/fib_trie.c | 6 +++--- net/ipv4/igmp.c | 4 ++-- net/ipv4/ipmr.c | 4 ++-- net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +- .../netfilter/nf_conntrack_l3proto_ipv4_compat.c | 8 ++++---- net/ipv4/ping.c | 2 +- net/ipv4/proc.c | 6 +++--- net/ipv4/raw.c | 2 +- net/ipv4/route.c | 10 +++++----- net/ipv6/addrconf.c | 2 +- net/ipv6/anycast.c | 2 +- net/ipv6/ip6_flowlabel.c | 2 +- net/ipv6/ip6mr.c | 4 ++-- net/ipv6/mcast.c | 4 ++-- net/ipv6/proc.c | 4 ++-- net/ipv6/raw.c | 2 +- net/ipv6/route.c | 4 ++-- net/key/af_key.c | 2 +- net/l2tp/l2tp_ppp.c | 2 +- net/netfilter/ipvs/ip_vs_app.c | 2 +- net/netfilter/ipvs/ip_vs_conn.c | 4 ++-- net/netfilter/ipvs/ip_vs_ctl.c | 6 +++--- net/netfilter/nf_conntrack_expect.c | 2 +- net/netfilter/nf_conntrack_standalone.c | 6 +++--- net/netfilter/nf_synproxy_core.c | 2 +- net/netlink/af_netlink.c | 2 +- net/packet/af_packet.c | 2 +- net/phonet/pn_dev.c | 2 +- net/sched/sch_api.c | 2 +- net/unix/af_unix.c | 2 +- net/wireless/wext-proc.c | 2 +- net/xfrm/xfrm_proc.c | 2 +- 41 files changed, 71 insertions(+), 68 deletions(-) --
-- Dmitry _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel