freebsd-skq/usr.sbin
Mariusz Zaborski bd1da0a002 Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.
Change the nvlist_recv() function to take additional argument that
specifies flags expected on the received nvlist. Receiving a nvlist with
different set of flags than the ones we expect might lead to undefined
behaviour, which might be potentially dangerous.

Update consumers of this and related functions and update the tests.

Approved by:	pjd (mentor)

Update man page for nvlist_unpack, nvlist_recv, nvlist_xfer, cap_recv_nvlist
and cap_xfer_nvlist.

Reviewed by:	AllanJude
Approved by:	pjd (mentor)
2015-05-02 17:45:52 +00:00
..
ac
accton
acpi Print 64-bit addresses cleary with leading zeros to avoid confusions. 2015-04-09 21:32:40 +00:00
adduser use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
amd Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
ancontrol Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
apm use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
apmd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
arp arp(8): add support for printing and deleting entries of type 2015-04-02 18:18:40 +00:00
asf Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
audit Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditdistd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditreduce Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
authpf authpf does not need to link to libmd 2015-04-09 21:33:57 +00:00
autofs Add -noauto autofs map, for automatic handling of fstab entries 2015-03-13 12:44:46 +00:00
bhyve Initialize PxCMD on reset and make its read-only bits such. 2015-05-02 16:11:29 +00:00
bhyvectl Initialize 'error' before use. 2015-04-15 05:04:42 +00:00
bhyveload Fix overlinking in bhyve: 2015-04-09 21:38:40 +00:00
binmiscctl Add example for upcoming aarch64/arm64 targets. 2015-02-16 20:55:37 +00:00
bluetooth ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build them 2015-04-27 06:34:51 +00:00
boot0cfg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
boot98cfg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
bootparamd use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
bsdconfig Fix typo in a comment. 2015-03-31 21:34:42 +00:00
bsdinstall Add "GELI Passphrase:" prompt to boot loader. 2015-04-16 20:53:15 +00:00
bsnmpd bsnmptools does not depends on libcrypto 2015-04-09 21:05:48 +00:00
btxld Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
cdcontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
chkgrp Clean up, reindent, add a special case for NIS / LDAP line 2014-12-14 16:17:48 +00:00
chown Standardise chmod, chflags, chown and chgrp recursive symlink processing 2015-04-29 00:49:00 +00:00
chroot
ckdist Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
clear_locks Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
config config: remove set but unchecked variable 2015-04-19 08:30:13 +00:00
cpucontrol Restore the ABI of the cpuctl(4) ioctl request CPUCTL_CPUID, use 2014-06-20 13:13:38 +00:00
crashinfo Remove 'netstat -anr' from crashinfo. 2015-04-09 07:49:42 +00:00
cron Readd Makefile.inc that were used to include upper level Makefile.inc and 2014-11-28 22:03:35 +00:00
crunch crunchide: Restore local EM_AARCH64 constant for bootstrapping 2015-04-30 23:48:05 +00:00
ctladm Fix man page to match real option names. 2015-02-12 11:27:54 +00:00
ctld Make setproctitle(3) work in Capsicum capability mode. This makes 2015-04-27 11:18:16 +00:00
ctm Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
daemon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
dconschat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
devctl install the man page... 2015-02-16 02:20:11 +00:00
devinfo Expose the constants for internal new-bus device flags to userland. The 2015-02-05 22:42:44 +00:00
digictl
diskinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
dumpcis use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
editmap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
edquota Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
eeprom use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
etcupdate Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
extattr
extattrctl
fdcontrol
fdformat
fdread - Cleanups pc98 code. 2014-09-28 11:32:46 +00:00
fdwrite use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
fifolog Fix libfifolog dependency on libz 2015-04-10 21:24:38 +00:00
flowctl Use less ugly code to allocate buffer of SORCVBUF_SIZE. 2015-02-13 23:57:20 +00:00
freebsd-update Fix syntax errors in conditions for new features in freebsd-update 2015-04-15 20:55:43 +00:00
fstyp Improve wording. 2015-01-14 11:26:03 +00:00
ftp-proxy Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
fwcontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
getfmac
getpmac
gpioctl Put the new sentence on a new line. 2015-03-08 21:11:08 +00:00
gssd Add an auto-generated file to CLEANFILES. 2015-02-13 18:34:04 +00:00
gstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
hyperv Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
i2c Fix a few cases of use of uninitialized variables. Found with -Wall. 2014-11-12 03:59:26 +00:00
ifmcstat Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
inetd identd: restore memcpy 2015-04-19 09:35:46 +00:00
iostat Print transfer times for read, write, & overall independently. 2015-01-23 15:55:03 +00:00
iovctl Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno. 2015-05-02 17:45:52 +00:00
ip6addrctl Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
ipfwpcap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
iscsid Remove unused code. 2015-02-12 11:57:31 +00:00
jail Fix minor mdoc issues. 2015-04-24 14:36:06 +00:00
jexec Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
jls Allow for parameters added with the JP_OPT flag to not exist. 2015-02-22 00:00:10 +00:00
kbdcontrol mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
kbdmap More man pages that need to know about vt in addition to syscons. 2014-08-26 10:55:08 +00:00
keyserv Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kgmon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kgzip use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
kldxref Reserve and ignore the a new module metadata type MDT_PNP_INFO for 2015-01-15 00:46:30 +00:00
lastlogin
lmcconfig Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
lpr Adjust printf format specifiers for dev_t and ino_t in user space. 2014-12-17 07:10:48 +00:00
lptcontrol
mailstats Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mailwrapper Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
makefs Fix a typo in the FFS maxbpg option, it was erroneously spelled maxbpf. 2015-01-12 19:26:31 +00:00
makemap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
manctl
memcontrol
mergemaster Remove ia64. 2014-07-07 00:27:09 +00:00
mfiutil Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mixer use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mld6query Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
mlxcontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mount_smbfs Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mountd Remove oldnfs leftovers from mountd(8). 2015-04-29 12:33:00 +00:00
moused Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mptable use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mptutil Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mtest Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
mtree Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
nandsim mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
nandtool Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndiscvt Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndp Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
newsyslog If we fail to send a signal after rotation, print the pidfile from which 2014-10-08 17:44:30 +00:00
nfscbd
nfsd Remove oldnfs remnants from nfsd(8). 2015-04-30 12:55:27 +00:00
nfsdumpstate
nfsrevoke
nfsuserd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
ngctl Plug mutex leak. 2015-01-16 18:51:26 +00:00
nghook Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nmtree Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nologin
nscd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ntp - remove -l option from ntpdate manpage, as it is no longer an option 2015-04-27 15:22:57 +00:00
nvram use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ofwdump Instead of iterating through all properties looking for a match, if asked 2015-01-16 18:42:49 +00:00
pc-sysinstall Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
pciconf Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
periodic use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pkg Allow fetching pkg(8) even if servers/proxies are not passing Content-length 2015-04-03 17:35:30 +00:00
pmcannotate use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pmccontrol pmccontrol(8): Replace malloc() + memset() with calloc() 2015-02-22 14:45:00 +00:00
pmcstat pmcstat.8: fix -a flag description; improve -m flag to match 2015-03-28 21:28:22 +00:00
pmcstudy Rough first mdoc, spelling and grammar cleanup pass. 2015-03-26 15:54:54 +00:00
pnpinfo
portsnap Add a manual page for phttpget(8). 2015-01-02 21:02:41 +00:00
powerd Add comment explaining existing powerd behavior on SMP systems. 2015-03-20 15:07:05 +00:00
ppp Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
pppctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
praliases Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
praudit Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
procctl
pstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pw Fix a race condition by allowing up to 5 seconds of difference between the time stamps. 2015-02-24 22:22:06 +00:00
pwd_mkdb
quot
quotaon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rarpd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
repquota Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rip6query Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
rmt
route6d Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
rpc.lockd rpc.locked does not need to link to libutil 2015-04-09 21:48:17 +00:00
rpc.statd When mountd is creating sockets, it iterates over all addresses specified 2015-01-19 00:33:32 +00:00
rpc.umntall mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rpc.yppasswdd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.ypupdated Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.ypxfrd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpcbind Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rrenumd Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
rtadvctl Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
rtadvd Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
rtprio use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
rtsold rtsold does not need to link to libkvm 2015-04-09 21:52:14 +00:00
rwhod Don't accidently skip every second line when calculating the 2014-06-28 15:53:28 +00:00
sa Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c: 2015-01-28 22:22:49 +00:00
sendmail Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
service Revert previous revision (r268461) for reasons documented in PR. 2014-07-16 19:02:30 +00:00
services_mkdb Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
setfib
setfmac
setpmac
sicontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
smbmsg Expand SMBUS API to add smbus_trans() function. 2015-04-25 16:15:01 +00:00
snapinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
spkrtest
spray Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
syslogd Update .Dd, sync usage() for -F. Missed in previous change. 2015-03-03 20:23:59 +00:00
sysrc Update usage statement to align with post-r279624 functionality. 2015-04-20 17:46:09 +00:00
tcpdchk Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tcpdmatch Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tcpdrop use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
tcpdump MFV r276761: tcpdump 4.6.2. 2015-01-07 19:55:18 +00:00
tests Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. 2014-03-16 04:09:22 +00:00
timed Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
traceroute Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
traceroute6 Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
trpt Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
tzsetup tzsetup: remove set but unused variable 2015-04-19 08:45:37 +00:00
uathload
uefisign Use LIBADD. 2015-02-26 15:48:20 +00:00
ugidfw Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
uhsoctl Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
unbound Enable remote control using a local socket in the default configuration. 2015-01-05 15:09:00 +00:00
usbconfig Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
usbdump use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
utx use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
vidcontrol vidcontrol: skip invalid video modes returned by vt(4) 2015-04-20 17:43:55 +00:00
vigr Add a vigr(8) utility which does for /etc/group what vipw(8) does for 2014-12-14 16:40:46 +00:00
vipw Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
wake use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
watch Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
watchdogd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
wlandebug Fix a typo to catch correct condition. 2014-08-25 05:52:05 +00:00
wlconfig
wpa Fix wpa/hostapd build without OpenSSL. 2015-04-21 02:00:37 +00:00
yp_mkdb use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ypbind use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
yppoll
yppush use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ypserv Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ypset
zic
zzz Use Mt macro to properly format mailto links 2014-06-19 13:18:23 +00:00
Makefile Add main() for iovctl and hook iovctl into build 2015-03-01 00:52:41 +00:00
Makefile.amd64 Add MK_BHYVE knob for building and installing bhyve(4), et al 2015-01-26 06:44:48 +00:00
Makefile.arm
Makefile.i386 Disable hyperv on pc98. 2014-10-18 08:07:17 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64