HardenedBSD/sbin/ifconfig
Yan Ka Chiu 7e49aa86a2
ifconfig(8): Teach ifconfig to attach and run itself in a jail
Add -j <jail> flag to ifconfig to allow ifconfig to attach and run inside a
jail. This allow parent to configure network interfaces of its children
even if ifconfig is not available in child's tree (e.g. Linux Jails)

Reviewed by:	emaste, khng, melifaro
Event:		Kitchener-Waterloo Hackathon 202305
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D40213
2023-05-23 16:39:22 -04:00
..
tests
af_inet6.c Revert "ifconfig: switch IPv4/IPv6 address manipulations to Netlink" 2023-05-22 15:17:57 +00:00
af_inet.c Revert "ifconfig: switch IPv4/IPv6 address manipulations to Netlink" 2023-05-22 15:17:57 +00:00
af_link.c Revert "ifconfig: switch IPv4/IPv6 address manipulations to Netlink" 2023-05-22 15:17:57 +00:00
af_nd6.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
carp.c ifconfig: simplify carp vhid setup. 2023-05-20 09:49:15 +00:00
ifbridge.c ifconfig: Fix configuring if_bridge with additional operating parameters 2023-04-07 22:25:41 +08:00
ifclone.c
ifconfig_netlink.c Revert "ifconfig: switch IPv4/IPv6 address manipulations to Netlink" 2023-05-22 15:17:57 +00:00
ifconfig_netlink.h ifconfig: make interface and address listing use Netlink as transport 2023-05-16 19:39:13 +00:00
ifconfig.8 ifconfig(8): Teach ifconfig to attach and run itself in a jail 2023-05-23 16:39:22 -04:00
ifconfig.c ifconfig(8): Teach ifconfig to attach and run itself in a jail 2023-05-23 16:39:22 -04:00
ifconfig.h ifconfig(8): Teach ifconfig to attach and run itself in a jail 2023-05-23 16:39:22 -04:00
iffib.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ifgif.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ifgre.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ifgroup.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ifieee80211.c ifconfig: ifieee80211: print bssid name 2023-03-23 00:15:15 +00:00
ifipsec.c
iflagg.c sbin/ifconfig: Use a global libifconfig handle 2021-03-02 21:15:40 -05:00
ifmac.c
ifmedia.c ifconfig: split argument parsing and actual execution logic 2023-05-10 10:39:12 +00:00
ifpfsync.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ifstf.c
ifvlan.c ifconfig: Improve VLAN identifier parsing 2023-04-03 01:54:31 +08:00
ifvxlan.c
Makefile ifconfig: make interface and address listing use Netlink as transport 2023-05-16 19:39:13 +00:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile.depend.options
sfp.c