freebsd-skq/usr.sbin
Konstantin Belousov 6992112349 Commit the 64-bit inode project.
Extend the ino_t, dev_t, nlink_t types to 64-bit ints.  Modify
struct dirent layout to add d_off, increase the size of d_fileno
to 64-bits, increase the size of d_namlen to 16-bits, and change
the required alignment.  Increase struct statfs f_mntfromname[] and
f_mntonname[] array length MNAMELEN to 1024.

ABI breakage is mitigated by providing compatibility using versioned
symbols, ingenious use of the existing padding in structures, and
by employing other tricks.  Unfortunately, not everything can be
fixed, especially outside the base system.  For instance, third-party
APIs which pass struct stat around are broken in backward and
forward incompatible ways.

Kinfo sysctl MIBs ABI is changed in backward-compatible way, but
there is no general mechanism to handle other sysctl MIBS which
return structures where the layout has changed. It was considered
that the breakage is either in the management interfaces, where we
usually allow ABI slip, or is not important.

Struct xvnode changed layout, no compat shims are provided.

For struct xtty, dev_t tty device member was reduced to uint32_t.
It was decided that keeping ABI compat in this case is more useful
than reporting 64-bit dev_t, for the sake of pstat.

Update note: strictly follow the instructions in UPDATING.  Build
and install the new kernel with COMPAT_FREEBSD11 option enabled,
then reboot, and only then install new world.

Credits: The 64-bit inode project, also known as ino64, started life
many years ago as a project by Gleb Kurtsou (gleb).  Kirk McKusick
(mckusick) then picked up and updated the patch, and acted as a
flag-waver.  Feedback, suggestions, and discussions were carried
by Ed Maste (emaste), John Baldwin (jhb), Jilles Tjoelker (jilles),
and Rick Macklem (rmacklem).  Kris Moore (kris) performed an initial
ports investigation followed by an exp-run by Antoine Brodin (antoine).
Essential and all-embracing testing was done by Peter Holm (pho).
The heavy lifting of coordinating all these efforts and bringing the
project to completion were done by Konstantin Belousov (kib).

Sponsored by:	The FreeBSD Foundation (emaste, kib)
Differential revision:	https://reviews.freebsd.org/D10439
2017-05-23 09:29:05 +00:00
..
ac
accton Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
acpi Use int to receive the return value of getopt function. 2017-04-07 22:58:31 +00:00
adduser
amd DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
ancontrol usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
apm
apmd
arp DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
asf
audit usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
auditd usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
auditdistd usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
auditreduce usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
authpf usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
autofs Revert r317804; apparently I forgot the auto_master syntax. 2017-05-04 19:55:32 +00:00
bhyve DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
bhyvectl usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
bhyveload usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
binmiscctl
blacklistctl
blacklistd
bluetooth Make cached Bluetooth LE host advertise information visible from userland. 2017-04-27 15:03:24 +00:00
boot0cfg Use nitems() from sys/param.h 2017-03-11 04:00:27 +00:00
bootparamd
bsdconfig More ATM and NATM removal 2017-04-27 16:05:12 +00:00
bsdinstall bsdinstall(8): fix manpage issues 2017-05-23 08:01:11 +00:00
bsnmpd DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
btxld
camdd Use nitems() from sys/param.h. 2017-03-10 04:24:21 +00:00
cdcontrol
chkgrp
chown Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
chroot Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ckdist usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
clear_locks
config Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cpucontrol
crashinfo Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec. 2017-04-25 18:08:56 +00:00
cron usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
crunch Teach crunchide about EM_S390 to make bootstrapping from future 2017-01-10 14:40:30 +00:00
ctladm Split iscsi(4) ctl frontend off of ctl(4) as cfiscsi(4) 2017-03-30 04:56:27 +00:00
ctld Do not register in CTL portal groups without portals. 2017-04-10 10:38:12 +00:00
ctm ctm: Fix some trivial argv buffer overruns 2017-04-13 22:59:17 +00:00
cxgbetool Fix some trivial manlint warnings 2017-03-06 19:33:15 +00:00
daemon
dconschat usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
devctl o Missed flag restored. 2017-05-19 20:02:32 +00:00
devinfo
digictl
diskinfo Quell Coverity for diskinfo(8) 2017-01-04 00:39:06 +00:00
dumpcis
editmap usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
edquota Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
eeprom usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
efidp efidp manipulates UEFI Device Paths in various ways. At the moment, it 2017-03-09 00:33:38 +00:00
efivar Correct the "first appeared in" version for efivar(8). 2017-05-22 13:55:59 +00:00
etcupdate
extattr Don't assume NAME_MAX is 255 2017-04-04 21:36:13 +00:00
extattrctl
fdcontrol Remove the last vestiges of FDC_DEBUG & FD_DEBUG 2017-04-07 16:14:25 +00:00
fdformat usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
fdread Free the memory allocated to trackbuf before exiting, it might fix a potential 2017-05-03 13:57:31 +00:00
fdwrite
fifolog Use :H to manipulate .CURDIR-relative paths instead of ../ 2017-03-01 05:21:21 +00:00
flowctl
fmtree usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
freebsd-update
fstyp Make fstyp(8) recognize exFAT even without the -u option. 2017-04-26 19:34:41 +00:00
ftp-proxy usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
fwcontrol usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
getfmac
getpmac
gpioctl usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
gssd usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
gstat
hyperv usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
i2c
ifmcstat Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
inetd Simplify a pipe for signal handling. 2017-03-20 17:57:24 +00:00
iostat Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
iovctl usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
ip6addrctl
ipfwpcap usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
iscsid Use nitems() from sys/param.h. 2017-03-11 04:03:13 +00:00
jail Same as r316022 (Fix hexadecimal escape codes in jail.conf(5)), 2017-03-27 13:37:40 +00:00
jexec
jls
kbdcontrol
kbdmap
keyserv
kgmon Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kgzip Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kldxref kldxref: bump MAXSEGS to 3 2017-02-10 19:17:10 +00:00
lastlogin
lmcconfig
lpr Fixes to chkprintcap: 2017-03-20 22:36:28 +00:00
lptcontrol
mailstats usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
mailwrapper Convert absolute links to relative links. 2017-03-07 05:10:38 +00:00
makefs makefs: drop WARNS back to 2 2017-05-18 17:55:33 +00:00
makemap usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
manctl
memcontrol
mergemaster mergemaster: fix description of -p 2017-03-07 04:13:22 +00:00
mfiutil Avoid taking the address of a packed struct member in mfiutil 2017-01-09 19:39:35 +00:00
mixer mixer(8): Prevent possible sscanf() overflow. 2017-04-29 19:12:44 +00:00
mld6query
mlxcontrol usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
mount_smbfs usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
mountd Update the exports.5 man page to reflect the change in default uid/gid 2017-05-20 23:25:07 +00:00
moused
mpsutil Show more fields in the IOCFact message 2017-05-05 17:01:54 +00:00
mptable
mptutil "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
mtest
nandsim
nandtool
ndiscvt usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
ndp Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00
newsyslog Add a new Y flag to newsyslog.conf 2017-04-15 20:37:34 +00:00
nfscbd
nfsd Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsdumpstate
nfsrevoke
nfsuserd Fix the default uid/gid values in nfsuserd.c 2017-04-23 23:09:02 +00:00
ngctl
nghook
nmtree usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
nologin Convert absolute links to relative links. 2017-03-07 05:10:38 +00:00
nscd Fix up two assertions following malloc(). vangyzen@ notified me of 2017-05-20 18:16:26 +00:00
ntp Use the approved syntax to build no man pages. 2017-04-24 21:55:59 +00:00
nvram
ofwdump
pc-sysinstall Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pciconf Add constants and descriptions for some new PCI class definitions 2017-03-13 07:45:15 +00:00
periodic Consolidate random sleeps in periodic scripts 2017-04-01 04:42:35 +00:00
pkg Flush stdout before yes/no confirmations, to force question 2017-05-03 20:41:26 +00:00
pmcannotate
pmccontrol
pmcstat pmcstat(8); unsign some allocation variables and use reallocarray(3). 2017-04-22 16:02:40 +00:00
pmcstudy
pnpinfo usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
portsnap
powerd
ppp Remove the NATM framework including the en(4), fatm(4), hatm(4), and 2017-04-24 21:21:49 +00:00
pppctl
praliases usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
praudit Merge OpenBSM 1.2-alpha5 from vendor branch to FreeBSD -CURRENT: 2017-03-26 21:14:49 +00:00
procctl
prometheus_sysctl_exporter DIRDEPS_BUILD: Connect new directories. 2017-05-09 01:48:14 +00:00
pstat Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
pw Don't depend on assert(3) getting evaluated 2017-05-10 16:06:22 +00:00
pwd_mkdb usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
quot prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
quotaon Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rarpd Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00
repquota Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rip6query usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
rmt Change /etc/rmt symlink from absolute to relative path, 2017-03-05 04:09:18 +00:00
route6d Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00
rpc.lockd Use .ALLSRC instead of RPCSRC 2017-03-01 04:12:24 +00:00
rpc.statd DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
rpc.umntall
rpc.yppasswdd Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:14:41 +00:00
rpc.ypupdated Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:16:40 +00:00
rpc.ypxfrd Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:22:23 +00:00
rpcbind Add a knob, WITH*_RPCBIND_WARMSTART_SUPPORT, to allow the end-user to build 2017-04-19 20:45:46 +00:00
rrenumd rrenumd(8): Fix a trivial Coverity warning 2017-03-29 21:04:39 +00:00
rtadvctl usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
rtadvd Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rtprio
rtsold Garbage collect IFT_IEEE80211 (but leave the define for possible reuse) 2017-01-28 17:08:40 +00:00
rwhod Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sa Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
sendmail usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
service
services_mkdb
sesutil
setfib Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
setfmac
setpmac
smbmsg
snapinfo
spkrtest
spray
syslogd Fix another logic bug that came out of recent syslogd refactoring and exposed by 2017-04-15 18:20:11 +00:00
sysrc
tcpdchk Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:17:18 +00:00
tcpdmatch Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:17:18 +00:00
tcpdrop o Clean the whole array of IPv4 addresses not just a local part. 2017-04-28 09:17:16 +00:00
tcpdump usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
tests
timed usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
traceroute DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
traceroute6 Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:17:59 +00:00
trpt Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
tzsetup Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:23:53 +00:00
uathload Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 03:59:18 +00:00
uefisign
ugidfw
uhsoctl
unbound Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:41:59 +00:00
usbconfig
usbdump
utx
vidcontrol Fix a missing const in my previous commit which broke the build at 2017-04-03 15:11:28 +00:00
vigr
vipw Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
wake
watch
watchdogd
wlandebug
wpa Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-02 05:04:45 +00:00
yp_mkdb Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:02:36 +00:00
ypbind ypbind(8): let calloc(3) do the multiplying. 2017-03-13 20:51:00 +00:00
ypldap Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:18:28 +00:00
yppoll
yppush Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:24:24 +00:00
ypserv Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:24:56 +00:00
ypset
zic Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:35:21 +00:00
zonectl Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:19:04 +00:00
zzz
Makefile efidp manipulates UEFI Device Paths in various ways. At the moment, it 2017-03-09 00:33:38 +00:00
Makefile.amd64
Makefile.arm
Makefile.arm64
Makefile.i386 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64