freebsd-dev/sbin
Hiroki Sato 6bbfef9004 Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to
userland via routing socket or sysctl.  This eliminates the following
KAME-specific sin6_scope_id handling routine from each userland utility:

 sin6.sin6_scope_id = ntohs(*(u_int16_t *)&sin6.sin6_addr.s6_addr[2]);

This behavior can be controlled by net.inet6.ip6.deembed_scopeid.  This is
set to 1 by default (sin6_scope_id will be filled in the kernel).

Reviewed by:	bz
2012-11-17 20:19:00 +00:00
..
adjkerntz Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
atacontrol Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
atm In sbin/atm/atmconfig/diag.c, fix a few warnings about format strings 2011-12-17 00:26:45 +00:00
badsect Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
bsdlabel It seems that libdisk(3) incorrectly sets d_secperunit value. 2012-04-11 06:35:13 +00:00
camcontrol More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
ccdconfig Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
clri Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
comcontrol ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
conscontrol Changed "conscontrol unset" to accept an existing virtual 2011-04-18 20:28:07 +00:00
ddb remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
devd document acpi_cpu devd notification about _CST change 2012-10-20 09:40:34 +00:00
devfs mdoc: minor improvements to a few lists with tags. 2012-06-09 07:18:53 +00:00
dhclient Revert r239356 and use an alternate algorithm. 2012-08-22 13:53:37 +00:00
dmesg Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
dump Fix sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:06 +00:00
dumpfs Fix problem with geom_label(4) not recognizing UFS labels on filesystems 2012-10-30 21:32:10 +00:00
dumpon Document that you can use -v along with -l. 2012-11-02 17:30:08 +00:00
etherswitchcfg Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
fdisk VMware environment is frequent nowadays. Add VMFS id. 2012-04-16 17:30:19 +00:00
fdisk_pc98 Add reference to gpart(8). 2011-11-06 20:39:35 +00:00
ffsinfo Remove trailing whitespace. 2011-11-09 21:01:50 +00:00
fsck Make fsck and fsck_msdosfs WARNS=6 clean 2012-10-21 12:01:19 +00:00
fsck_ffs - blk_equals() is too strict. If the journal entry defines more frags 2012-11-14 06:31:47 +00:00
fsck_msdosfs Print a newline after the error message. 2012-11-03 09:18:37 +00:00
fsdb Fix sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:06 +00:00
fsirand Fix sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:06 +00:00
gbde Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the 2011-12-17 00:14:40 +00:00
geom More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
ggate Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
growfs Fix problem with geom_label(4) not recognizing UFS labels on filesystems 2012-10-30 21:32:10 +00:00
gvinum Don't overwrite the global default CFLAGS when setting include paths. 2012-08-28 14:20:41 +00:00
hastctl Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
hastd Revert r228695. We use __func__ here as a format to distinguish between 2012-11-05 00:38:14 +00:00
ifconfig Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to 2012-11-17 20:19:00 +00:00
init init: Remove unnecessary 2-second delay before calling reboot(2). 2012-05-25 19:45:01 +00:00
ipf Link ipfilter(4) and ipfilter(5) to the build to stop the wrong man page 2012-08-28 12:33:54 +00:00
ipfw Remove the recently added sysctl variable net.pfil.forward. 2012-11-02 01:20:55 +00:00
iscontrol General mdoc(7) and typo fixes. 2012-05-12 15:08:22 +00:00
kldconfig Raise WARNS for various tools where possible. 2010-01-17 21:56:27 +00:00
kldload Remove superfluous paragraph macro. 2012-03-25 09:21:09 +00:00
kldstat In printfile(), exit the process instead of only printing the warning. 2010-11-13 16:49:07 +00:00
kldunload Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ldconfig ANSIfy ldconfig and the aout bits it still uses from rtld-aout. 2009-12-29 21:07:17 +00:00
mca Fix a variety of compile errors with gcc48 and clang 2012-05-31 08:22:02 +00:00
md5 Teach md5(1) about sha512. 2012-08-01 00:36:12 +00:00
mdconfig Add an example showing the use of gnop(8) to skip over header data. 2012-11-04 03:19:07 +00:00
mdmfs Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
mknod Fix some more warnings found by clang. 2010-11-22 20:10:48 +00:00
mksnap_ffs Note that a UFS filesystem can have up to 20 active snapshots. 2011-02-15 07:25:54 +00:00
mount Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
mount_cd9660 Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_ext2fs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_fusefs Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
mount_hpfs mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
mount_msdosfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_nfs Add a timeout on positive name cache entries in the NFS client. That is, 2012-01-25 20:05:58 +00:00
mount_ntfs Remove trailing whitespace. 2012-01-28 13:41:34 +00:00
mount_nullfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_reiserfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_std Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_udf Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_unionfs Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
nandfs mdoc: remove superfluous paragraph macro. 2012-05-17 11:29:22 +00:00
natd remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
newfs Fix problem with geom_label(4) not recognizing UFS labels on filesystems 2012-10-30 21:32:10 +00:00
newfs_msdos Globally replace u_int*_t from (non-contributed) man pages. 2012-02-12 18:29:56 +00:00
newfs_nandfs mdoc: remove whitespace. 2012-05-17 11:50:12 +00:00
nfsiod - Display current settings when run without options. 2009-12-26 08:36:02 +00:00
nos-tun nos-tun(8): make WARNS=3 clean 2010-03-10 18:51:13 +00:00
nvmecontrol mdoc: remove superfluous paragraph macro. 2012-09-18 08:12:28 +00:00
pfctl - Get rid of #ifdef __FreeBSD__. 2012-09-29 16:42:01 +00:00
pflogd Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
ping Check the return error of set[ug]id. While this can never fail in the 2012-10-22 03:31:22 +00:00
ping6 Check the return error of set[ug]id. While this can never fail in the 2012-10-22 03:31:22 +00:00
quotacheck Fix sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:06 +00:00
rcorder Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
reboot Add BSD copyright notice. 2012-02-07 14:06:30 +00:00
recoverdisk Fix mdoc date from previous commit. 2012-01-06 11:42:03 +00:00
resolvconf Add resolvconf(8) which manages resolv.conf. 2011-03-18 12:18:52 +00:00
restore Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
route Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to 2012-11-17 20:19:00 +00:00
routed Fix a style bug 2012-01-13 06:56:59 +00:00
rtsol Add dump.c to the rtsol build. It is needed now that sec2str is non-static 2011-06-08 21:59:07 +00:00
savecore Include <signal.h> (for SIGINFO). 2012-04-09 20:55:23 +00:00
sconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
setkey Minor mdoc improvements. 2012-06-03 07:45:42 +00:00
shutdown Restore a piece of BSD history. 2012-08-01 09:10:21 +00:00
spppcontrol mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
sunlabel mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
swapon Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
sysctl s/Free Memory Pages/Free Memory/ to avoid confusion, since we're 2012-04-11 14:18:18 +00:00
tunefs Declare functions as static and move global variables to the top; 2012-10-28 19:38:42 +00:00
umount Fix memory leak in umount.c 2012-11-15 15:06:21 +00:00
Makefile Disconnect non-MPSAFE NTFS from the build in preparation for dropping 2012-10-17 11:30:00 +00:00
Makefile.amd64 Integrate nvmecontrol(8) into the amd64 and i386 builds. 2012-09-17 21:41:38 +00:00
Makefile.arm MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.i386 Integrate nvmecontrol(8) into the amd64 and i386 builds. 2012-09-17 21:41:38 +00:00
Makefile.ia64 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.inc Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
Makefile.mips MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.pc98 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.sparc64 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00