acrn-kernel/net/decnet
Eric W. Biederman dfc47ef863 net: Push capable(CAP_NET_ADMIN) into the rtnl methods
- In rtnetlink_rcv_msg convert the capable(CAP_NET_ADMIN) check
  to ns_capable(net->user-ns, CAP_NET_ADMIN).  Allowing unprivileged
  users to make netlink calls to modify their local network
  namespace.

- In the rtnetlink doit methods add capable(CAP_NET_ADMIN) so
  that calls that are not safe for unprivileged users are still
  protected.

Later patches will remove the extra capable calls from methods
that are safe for unprivilged users.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-18 20:32:44 -05:00
..
netfilter netlink: hide struct module parameter in netlink_kernel_create 2012-09-08 18:46:30 -04:00
Kconfig
Makefile
README
TODO
af_decnet.c decnet: fix shutdown parameter checking 2012-08-31 15:55:37 -04:00
dn_dev.c net: Push capable(CAP_NET_ADMIN) into the rtnl methods 2012-11-18 20:32:44 -05:00
dn_fib.c net: Push capable(CAP_NET_ADMIN) into the rtnl methods 2012-11-18 20:32:44 -05:00
dn_neigh.c decnet: Use neighbours privately in dn_route struct. 2012-07-05 01:12:14 -07:00
dn_nsp_in.c
dn_nsp_out.c net: Remove casts to same type 2012-06-04 11:45:11 -04:00
dn_route.c netlink: Rename pid to portid to avoid confusion 2012-09-10 15:30:41 -04:00
dn_rules.c sections: fix section conflicts in net 2012-10-06 03:04:45 +09:00
dn_table.c netlink: Rename pid to portid to avoid confusion 2012-09-10 15:30:41 -04:00
dn_timer.c
sysctl_net_decnet.c

README

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>