mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
ad8f078f66
A quick grep through the kernel code shows network drivers compute the changed bits of network capabilities after a SIOCSIFCAP IOCTL(2) by using the bitwise exclusive or operation. When the set capabilities are equal to the already read capabilities, no action will be taken. Let ifconfig(8) predict this case and skip the SIOCSIFCAP IOCTL(2) system call. Discussed with: kib@ (revert change in case of issues) MFC after: 1 week Sponsored by: NVIDIA Networking |
||
---|---|---|
.. | ||
tests | ||
af_inet6.c | ||
af_inet.c | ||
af_link.c | ||
af_nd6.c | ||
carp.c | ||
ifbridge.c | ||
ifclone.c | ||
ifconfig.8 | ||
ifconfig.c | ||
ifconfig.h | ||
iffib.c | ||
ifgif.c | ||
ifgre.c | ||
ifgroup.c | ||
ifieee80211.c | ||
ifipsec.c | ||
iflagg.c | ||
ifmac.c | ||
ifmedia.c | ||
ifpfsync.c | ||
ifvlan.c | ||
ifvxlan.c | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
sfp.c |