NetBSD/sbin
dyoung a25eaede91 Add a source-address selection policy mechanism to the kernel.
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference
numbers for addresses.  Make ifconfig(8) set/display preference
numbers.

To activate source-address selection policies in your kernel, add
'options IPSELSRC' to your kernel configuration.

Miscellaneous changes in support of source-address selection:

        1 Factor out some common code, producing rt_replace_ifa().

        2 Abbreviate a for-loop with TAILQ_FOREACH().

        3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and
          IN_PRIVATE(), that are true for link-local unicast
          (169.254/16) and RFC1918 private addresses, respectively.
          Add the predicate IN_ANY_LOCAL() that is true for link-local
          unicast and multicast.

        4 Add IPv4-specific interface attach/detach routines,
          in_domifattach and in_domifdetach, which build #ifdef
          IPSELSRC.

See in_getifa(9) for a more thorough description of source-address
selection policy.
2006-11-13 05:13:38 +00:00
..
amrctl Drop trailing whitespace. 2006-07-23 13:23:12 +00:00
atactl add missing initializers 2006-10-16 00:45:19 +00:00
badsect Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
bim One "const" is enough... 2006-09-04 01:20:44 +00:00
brconfig lower value mean higher priority for bridges 2006-10-11 13:16:39 +00:00
ccdconfig c99 initializers 2006-10-16 02:42:42 +00:00
cgdconfig Programs that use efun. 2006-08-26 18:14:28 +00:00
chkconfig Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
clri sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
disklabel New NetBSD/landisk port uses MBR too. 2006-09-01 21:44:02 +00:00
dkctl fix typo 2006-06-17 02:16:19 +00:00
dmesg c99 initializer 2006-10-16 02:43:19 +00:00
drvctl - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic 2006-09-22 04:37:36 +00:00
dump When using a snapshot take the snapshot raw device on further open. 2006-10-26 20:02:30 +00:00
dump_lfs Call fcntl on the file descriptor *before* closing it. 2006-09-28 23:23:01 +00:00
edlabel use c99 initialisers. 2006-10-23 03:56:38 +00:00
fastboot
fdisk Use more macros. New sentence, new line. 2006-09-24 15:52:12 +00:00
fsck - add volatile 2006-10-16 02:44:46 +00:00
fsck_ext2fs use c99 initializers 2006-10-16 03:02:01 +00:00
fsck_ffs comment out impossible code. 2006-10-16 03:09:26 +00:00
fsck_lfs Fix malloc/realloc/calloc issues: always check and exit, use EEXIT instead 2006-11-09 19:36:36 +00:00
fsck_msdos Programs that use efun. 2006-08-26 18:14:28 +00:00
fsdb c99 initializer 2006-10-16 03:10:59 +00:00
fsirand Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
gpt Add initialization of a variable where gcc for some archs thinks 2006-10-17 21:14:03 +00:00
ifconfig Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
init Don't record runlvl transitions before we have a read-write /var. Noticed 2006-09-28 15:20:14 +00:00
ldconfig Coverity CID 2766: Don't leak memory. 2006-03-26 23:06:45 +00:00
mbrlabel Grammar fix. 2006-01-12 20:37:23 +00:00
mknod fix setmode error handling. 2005-10-01 20:23:54 +00:00
modload Replace complicated test for ELFSIZE 64 with #ifdef _LP64 which is 2006-07-08 05:49:01 +00:00
modunload Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
mount Revert the changes I introduced trying to solve tmpfs' NFS export problem. 2006-10-31 08:12:46 +00:00
mount_ados use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_cd9660 use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_ext2fs use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_fdesc use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_ffs use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_filecore use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_kernfs use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_lfs Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting 2006-11-11 14:47:27 +00:00
mount_msdos use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_nfs remove nqnfs support. 2006-11-09 10:07:00 +00:00
mount_ntfs use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_null use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_overlay use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_portal replace varstack alloc with malloc. 2006-11-09 19:41:59 +00:00
mount_procfs use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_ptyfs use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_smbfs sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
mount_sysvbfs use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_tmpfs tmpfs is not considered experimental any more. OK'ed by core@. 2006-11-11 19:01:30 +00:00
mount_udf use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_umap use MOPT_NULL 2006-10-16 03:37:42 +00:00
mount_union use MOPT_NULL 2006-10-16 03:37:42 +00:00
newbtconf .An -nosplit 2005-09-30 20:18:12 +00:00
newfs c99 initializers. 2006-10-16 03:04:45 +00:00
newfs_lfs c99 initializer 2006-10-16 03:15:46 +00:00
newfs_msdos c99 initializers 2006-10-16 03:25:21 +00:00
newfs_sysvbfs sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
nologin
pdisk Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
ping Change error message to say "setuid", forgotten in previous commit. 2006-09-28 16:01:16 +00:00
ping6 PR/30226: Nino Dehne: ping6(8) and ping(8) are inconsistent in the output 2006-09-23 16:18:04 +00:00
pppoectl Check for allocation failures in malloc, calloc, realloc, asprintf, and 2006-03-17 15:53:46 +00:00
raidctl close fp in several error paths, closing Coverity CIDs 1690, 1692. 2006-03-19 01:57:11 +00:00
rcorder Programs that use efun. 2006-08-26 18:14:28 +00:00
reboot
resize_ffs Fix a typo in a comment. 2005-06-03 03:34:44 +00:00
resize_lfs Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting 2006-11-11 14:47:27 +00:00
restore find rmd160.h 2006-10-30 01:21:53 +00:00
rndctl Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
route Fix a bug that caused 0.0.0.0/0 to be treated like 0.0.0.0/32. 2006-11-11 21:50:19 +00:00
routed quell GCC 4.1 uninitialised variable warnings. 2006-05-10 21:53:14 +00:00
rtsol rtsol: factor out dump.c if -DSMALL (for boot floppy) 2004-01-03 01:40:31 +00:00
savecore c99 initializers 2006-10-16 02:56:56 +00:00
scan_ffs Improve English. 2006-10-17 09:26:21 +00:00
scsictl Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
setkey Redo previous rework to generate yacc/lex output again and remove generated 2005-12-16 16:25:07 +00:00
shutdown PR/31531: Takahiro Kambe: shutdown(8) quietly exit if execed from login shell 2006-03-07 22:19:55 +00:00
slattach Misc fixes for sl(4) and slattach(8) man pages: 2006-07-08 17:22:14 +00:00
swapctl Sort sections. Fix typo. Start sentence with upper-case letter. 2006-09-02 23:58:41 +00:00
sysctl PR/34965: Nicolas Joly: sysctl(1) small memory leak 2006-11-02 14:54:21 +00:00
ttyflags PR/13478: Greg A. Woods: some tty-related documentation fixes 2006-10-06 22:07:44 +00:00
tunefs Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
umount Izumi Tsutsui pointed out that we don't need vfslist.c (from ../mount) 2006-01-21 11:59:53 +00:00
veriexecctl If Veriexec enforces access type, don't allow mmap() to use PROT_EXEC on 2006-09-30 10:56:31 +00:00
wdogctl Add -x to usage. 2006-08-13 23:24:53 +00:00
wsconsctl Mention include proper file for keyboard defines; from Zafer. 2006-10-22 19:39:32 +00:00
Makefile hook in gpt 2006-10-15 22:37:14 +00:00
Makefile.inc WFORMAT is no more... 2006-10-08 17:52:28 +00:00