HardenedBSD/sbin
Hans Petter Selasky ad8f078f66 ifconfig(8): Don't set network interface capabilities when there is no change.
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
2021-11-10 15:50:52 +01:00
..
adjkerntz
bectl bectl(8): don't allow creation of boot environments with spaces 2021-06-03 08:36:11 -08:00
bsdlabel
camcontrol camcontrol: dump received data for MMC command even if it is unknown 2021-11-06 19:25:57 +02:00
ccdconfig
clri
comcontrol
conscontrol
ddb
decryptcore
devd vt: fix git mismerge 2021-11-03 16:20:41 -06:00
devfs devfs.rules: Correctly unhide pf in vnet jails 2021-11-03 12:50:13 +01:00
devmatch devmatch: Ignore the pnp fields tagged as ignore ('#') 2021-08-10 15:47:55 -06:00
dhclient dhclient: skip_to_semi() consumes semicolon already 2021-08-19 09:11:38 -04:00
dmesg
dump Correct assert added to dump program. 2021-05-17 16:34:53 -07:00
dumpfs dumpfs(8): add option to only print superblock information 2021-07-02 14:18:17 -08:00
dumpon dumpon: fix build on some architectures 2021-08-11 21:27:24 -05:00
etherswitchcfg etherswitch: Add a new striptagingress port flag 2021-08-03 12:07:48 +02:00
fdisk
ffsinfo ffsinfo: Update example to avoid to-be-deprecated vinum 2021-04-03 16:29:14 -04:00
fsck
fsck_ffs Avoid lost buffers in fsck_ffs. 2021-10-07 15:52:58 -07:00
fsck_msdosfs fsck_msdosfs: truncate directory entry when the head pointer is invalid. 2021-11-03 22:09:32 -07:00
fsdb Revert "fsdb: add missing bufinit() call" 2021-05-28 18:51:25 -08:00
fsirand
gbde
geom Allow GEOM utilities to specify a -v option. 2021-10-28 22:50:50 -07:00
ggate pkgbase: Create a FreeBSD-ggate package 2021-09-07 10:17:28 +02:00
growfs add Xr to the rc.d script... 2021-04-06 16:32:57 -07:00
gvinum
hastctl
hastd
ifconfig ifconfig(8): Don't set network interface capabilities when there is no change. 2021-11-10 15:50:52 +01:00
init init: execute /etc/rc.final after all user processes have terminated 2021-07-22 23:26:11 -05:00
ipf ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
ipfw ipfw: Introduce dnctl 2021-09-08 17:17:50 +02:00
kldconfig
kldload
kldstat kldstat(8): Fix indentation, whitespace to tabs. 2021-11-09 22:12:19 +01:00
kldunload
ldconfig ldconfig(8): update manpage to reality 2021-05-21 19:51:18 +03:00
md5 md5(1): Fix a typo in the manual page 2021-08-14 14:48:39 +02:00
mdconfig md: Add MD_MUSTDEALLOC support 2021-09-11 20:04:52 +08:00
mdmfs
mknod
mksnap_ffs
mount mount: make libxo support more locale-aware 2021-09-27 07:12:26 +02:00
mount_cd9660
mount_fusefs sbin/mount_fusefs/mount_fusefs.8: Fix typos 2021-10-09 09:02:39 -06:00
mount_msdosfs
mount_nfs mount_nfs.8: Add information for "nconnect" to man page 2021-07-11 13:34:16 -07:00
mount_nullfs
mount_udf
mount_unionfs
natd
newfs Explain the newfs naming convention 2021-04-17 23:16:17 +02:00
newfs_msdos
nfsiod pkgbase: Add nfsiod to the FreeBSD-nfs package 2021-08-06 14:37:35 +02:00
nos-tun
nvmecontrol nvmecontrol: Display Metadata and Sanitize capabilities of the device 2021-09-21 21:15:55 +00:00
pfctl pf: Introduce ridentifier 2021-11-05 09:39:56 +01:00
pfilctl
pflogd
ping ping: fix parsing of options including '4' and '6' 2021-10-20 18:05:43 -06:00
ping6
quotacheck
rcorder
reboot nextboot: Improve the shell code used to figure out the zpool name 2021-06-05 14:32:18 +00:00
recoverdisk
resolvconf
restore
route socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
routed
rtsol
savecore
sconfig Fix sconfig(8) build. 2021-10-22 13:28:44 -07:00
setkey setkey: drop an unused argument from postproc 2021-07-08 14:00:55 +00:00
shutdown
swapon
sysctl Fix building sysctl(8) after c78ad20 2021-05-01 11:10:03 +00:00
tests
tunefs
umount
veriexec veriexec: Fix veriexec -i's confusion between loaded and locked states 2021-09-23 10:53:56 +02:00
zfsbootcfg
Makefile Retire obsolete iscsi_initiator(4) 2021-10-26 16:17:35 -04:00
Makefile.amd64 Fix sconfig(8) build. 2021-10-22 13:28:44 -07:00
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64