freebsd-skq/usr.bin
John Baldwin dbee5c671a Move the 32-bit compatible procfs types from freebsd32.h to <sys/procfs.h>
and export them to userland.
- Define __HAVE_REG32 on platforms that define a reg32 structure and check
  for this in <sys/procfs.h> to control when to export prstatus32, etc.
- Add prstatus32_t and prpsinfo32_t typedefs for the 32-bit structures.
  libbfd looks for these types, and having them fixes 'gcore' in gdb of a
  32-bit process on a 64-bit platform.
- Use the structure definitions from <sys/procfs.h> in gcore's elf32 core
  dump code instead of duplicating the definitions.

Differential Revision:	https://reviews.freebsd.org/D2142
Reviewed by:	kib, nathanw (powerpc bits)
MFC after:	1 week
2015-04-08 16:30:45 +00:00
..
addr2line Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
alias
apply Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ar ar: Avoid null pointer deref while reading corrupt archives 2015-01-07 01:51:02 +00:00
asa
at Sigh, remove a line that needs to be removed along with previous commit. 2014-09-29 21:54:46 +00:00
atm Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
awk Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
banner
basename Integrate usr.sbin/basename/tests from NetBSD into atf/kyua 2014-10-09 00:41:42 +00:00
bc Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
biff Fix EXIT STATUS. biff reports its status when it was invoked. 2013-04-28 09:29:44 +00:00
bluetooth Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED 2015-04-07 16:48:23 +00:00
bmake Update to bmake-20140620 2014-07-08 22:27:50 +00:00
brandelf use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
bsdiff Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
bzip2 Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
bzip2recover NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
c89 Make c89(1) invoke /usr/bin/cc with argv[0] also set to /usr/bin/cc, 2013-03-07 21:34:16 +00:00
c99 Make c99(1) invoke /usr/bin/cc with argv[0] set to "/usr/bin/cc" instead 2013-03-07 21:37:23 +00:00
calendar Rework calendar(1) parser 2015-03-04 20:04:23 +00:00
cap_mkdb
catman
chat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
checknr
chkey Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
chpass Partially revert 278642 2015-02-13 07:51:26 +00:00
cksum More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
clang Add the llvm-cov and llvm-profdata tools, when WITH_CLANG_EXTRAS is 2015-04-03 19:43:39 +00:00
cmp Integrate usr.bin/cmp/tests from NetBSD into atf/kyua 2014-10-09 00:50:33 +00:00
col Remove bogus cast. 2015-03-31 15:03:58 +00:00
colcrt
colldef Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
colrm
column Remove bogus cast. 2015-03-31 15:03:58 +00:00
comm Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
compile_et Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
compress compress,gzip,xz: Preserve timestamps with nanosecond precision. 2015-02-17 13:12:54 +00:00
cpio Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
cpuset Document CPU_WHICH_DOMAIN and bump Dd for cpuset.1. 2015-01-08 18:53:11 +00:00
csplit Correct example. 2014-02-08 13:29:35 +00:00
ctags
ctlstat Ouch, I've misread the original text. 2015-03-08 19:50:30 +00:00
cut Integrate usr.bin/cut/tests from NetBSD into atf/kyua 2014-10-09 01:46:31 +00:00
dc Init array field in the proper place. 2014-11-27 01:37:01 +00:00
demandoc Forgot to convert demandoc along with mandoc 2014-11-24 23:29:56 +00:00
dirname Integrate usr.bin/dirname/tests from NetBSD into atf/kyua 2014-10-09 00:55:04 +00:00
dpv mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
drill Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
dtc dtc: ignore lines starting with #. 2014-06-10 06:16:34 +00:00
du du(1): replace malloc + memset with calloc. 2015-02-17 21:12:45 +00:00
ee Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
elf2aout use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
elfcopy Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
elfdump Limit descriptors and enter capability mode. 2014-11-24 09:31:38 +00:00
enigma Explicitly crypt_set_format("des") and bail out if we 2015-02-25 20:47:25 +00:00
env env: Fix crash when -S string is not empty but no operand follows. 2015-03-08 14:12:43 +00:00
expand
false
fetch Remove defunct SSLv2 support from fetch(1) and fetch(3). 2015-03-25 18:56:36 +00:00
file Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
file2c Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
find Correct scale factor for T terabyte suffix 2014-10-08 17:40:58 +00:00
finger More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
fmt
fold
from Add static where appropriate. 2013-11-21 21:19:01 +00:00
fstat Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
fsync
ftp Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
gcore Move the 32-bit compatible procfs types from freebsd32.h to <sys/procfs.h> 2015-04-08 16:30:45 +00:00
gencat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
getconf use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
getent Add support for netgroup, based on patch in the PR but made consistent 2013-05-23 20:52:30 +00:00
getopt
gprof Remove ia64. 2014-07-07 00:27:09 +00:00
grep bsdgrep: fix regression in the -f option since r268799 2015-03-21 00:21:30 +00:00
gzip compress,gzip,xz: Preserve timestamps with nanosecond precision. 2015-02-17 13:12:54 +00:00
head Remove EOL whitespace accidentally introduced in r248393. 2013-03-17 06:57:25 +00:00
hesinfo
hexdump fix spelling of offset since that is what is used in the body... 2014-10-30 06:54:25 +00:00
host Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
iconv Nothing in iconv(1) uses symbols from libcrypt 2014-11-05 14:55:01 +00:00
id Adjust printf format specifiers for dev_t and ino_t in user space. 2014-12-17 07:10:48 +00:00
indent multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
ipcrm Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ipcs Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
iscsictl Add IPv6 example to iscsi.conf(5) and tweak ordering. 2015-04-02 11:52:34 +00:00
join Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
jot Fix missing AUTHOR section for jot(1), rs(1), and lam(1) 2015-04-07 15:56:08 +00:00
kdump Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
keylogin Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
keylogout
killall Adjust printf format specifiers for dev_t and ino_t in user space. 2014-12-17 07:10:48 +00:00
ktrace Clarify that the -c argument clears the list of tracepoints specified by 2014-08-26 21:21:57 +00:00
ktrdump Change ktrdump to use the more standard -M/-N flags to specify the path 2015-02-06 19:41:23 +00:00
lam Fix missing AUTHOR section for jot(1), rs(1), and lam(1) 2015-04-07 15:56:08 +00:00
last mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
lastcomm Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
ldd Allowus to exclude a.out support from ldd and use it with arm64 as it won't 2015-03-18 13:59:04 +00:00
leave
less Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
lessecho
lesskey
lex Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
limits Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
locale Sort options. 2012-11-17 23:52:38 +00:00
locate Fix the following -Werror warnings from clang 3.5.0, while building 2014-11-22 12:13:05 +00:00
lock Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
lockf lockf(1): add a reference to lockf(3). 2015-04-06 22:53:23 +00:00
logger Describe the behavior when both -f and a message are given. Pointed out by 2015-03-22 01:25:57 +00:00
login Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
logins use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
logname
look look: implement long options 2014-07-04 04:47:29 +00:00
lorder
lsvfs - Add file system type number (vfc_typenum) in the list. This is useful 2013-06-09 16:33:32 +00:00
lzmainfo Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
m4 Add OpenBSD copyright for reallocarray 2015-03-10 14:22:28 +00:00
mail Always check the limits of array index variables before using them. 2014-08-21 02:40:33 +00:00
make Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
makewhatis Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
man Update mandoc to cvs snaphot from 20150302 2015-03-02 16:58:57 +00:00
mandoc Remove bad and useless LINKS 2015-03-15 23:31:20 +00:00
mesg mesg: remove advertising clause 2014-05-11 02:04:40 +00:00
minigzip Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ministat Clarify the ministat default width 2015-03-26 17:13:11 +00:00
mkcsmapper mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
mkcsmapper_static NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
mkdep
mkesdb mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
mkesdb_static NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
mkfifo
mkimg Add the -c option for specifying the capacity of the disk image. When 2015-02-22 04:50:47 +00:00
mklocale Work around build breakages with GCC 4.2. 2013-05-23 05:42:35 +00:00
mkstr
mktemp Use the macro for standard error return values. 2012-11-18 16:34:06 +00:00
mkulzma Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
mkuzip Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
msgs Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
mt Improve the mt(1) rblim display. 2015-03-18 20:54:54 +00:00
nc Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ncal Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
netstat Like it was already done for 'netstat -i', drop the kvm(3) support 2015-04-07 05:50:45 +00:00
newgrp Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
newkey Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
nfsstat Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
nice
nl Treat the '-' as meaning standard input. 2014-05-04 12:20:40 +00:00
nm Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
nohup
opieinfo Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
opiekey Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
opiepasswd Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
pagesize
pamtest Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
passwd Revert r278642 2015-02-13 09:02:15 +00:00
paste
patch patch: Bring small updates from OpenBSD 2015-04-07 18:06:46 +00:00
pathchk pathchk: Ensure bytes >= 128 are considered non-portable characters. 2013-10-20 20:10:31 +00:00
perror
pr multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
printenv
printf sh: Fix compiler warnings related to duplicate or missing declarations. 2015-03-01 21:46:55 +00:00
procstat Fix a typo and update the date in the man page. 2015-03-11 08:08:54 +00:00
protect Correct stale comments. 2013-09-20 16:05:09 +00:00
quota Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
rctl Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
readelf Add Makefile for elftoolchain readelf(1) 2015-01-02 22:26:54 +00:00
renice Move example to EXAMPLES. 2013-03-17 06:36:04 +00:00
rev
revoke use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
rlogin rlogin(1): initialize term variable. 2015-03-05 19:51:37 +00:00
rpcgen Fix some rpcgen sample file issues. 2014-06-06 17:38:37 +00:00
rpcinfo Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
rs Fix missing AUTHOR section for jot(1), rs(1), and lam(1) 2015-04-07 15:56:08 +00:00
rsh r* commands are not precious anymore 2015-03-04 22:01:44 +00:00
rup mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
ruptime
rusers mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rwall mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rwho Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
script mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
sed sed: fix pasto from previous r277802. 2015-01-27 19:46:19 +00:00
send-pr Add a stub send-pr that simply points people towards the online support 2014-06-17 12:59:03 +00:00
seq Sync with NetBSD, mainly address NetBSD bug #43355: 2014-12-18 20:23:19 +00:00
setchannel mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
shar
showmount mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
size Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
smbutil Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
sockstat The code says "or", not "either or". So fix the documentation. 2015-04-07 14:33:03 +00:00
soeliminate mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
sort Remove custom getdelim(3) and fix a small memory leak. 2015-04-07 01:17:49 +00:00
split Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ssh-copy-id use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
stat use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
stdbuf Remove stray tabs. 2013-01-14 11:06:50 +00:00
strings Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
su Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
svn Reduce number of lines to set ORGANIZATION_NAME in 2015-02-12 00:17:14 +00:00
systat Merge from projects/sendfile: 2014-11-30 12:52:33 +00:00
tabs Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tail Print file names without stdio buffering to avoid mixing buffered and 2013-06-09 08:06:26 +00:00
talk Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tar Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tcopy
tee
telnet Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tests Migrate most of tools/regression/usr.bin/ to the new tests layout. 2014-03-16 08:04:06 +00:00
tftp Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
time time: Use close-on-exec instead of fclose() in the child process. 2012-12-08 17:41:39 +00:00
timeout timeout: handle zombie grandchildren 2015-02-15 20:10:53 +00:00
tip A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
top Print size_t's with %zu rather than "%zd. 2015-03-26 09:13:16 +00:00
touch touch(1): Xref utimensat(2) instead of utimes(2). 2015-03-08 22:49:34 +00:00
tput Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tr Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
true
truncate Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
truss The current POSIX semaphore implementation stores the _has_waiters flag 2014-10-24 20:02:44 +00:00
tset Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tsort
tty
ul Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
uname Change introduction history. 2013-11-20 17:48:38 +00:00
unexpand NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
unifdef Update to upstream version 2.10 2015-02-25 21:10:03 +00:00
uniq Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
units Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
unvis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
unzip unzip: Don't subvert vfs.timestamp_precision when setting atime to now. 2015-03-15 21:29:20 +00:00
usbhidaction Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
usbhidctl Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
users Unbreak the build by re-enabling exceptions. 2014-07-14 12:24:38 +00:00
uudecode Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
uuencode Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
vacation Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
vgrind NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
vi MF projects/building-blocks r275198: 2014-11-29 06:53:06 +00:00
vis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
vmstat Use clock_gettime to measure the time that we spent asleep during 2015-01-23 16:21:31 +00:00
vtfontcvt vtfontcvt will first ship in FreeBSD 10.1 2014-07-24 15:16:03 +00:00
w Call xo_finish(3) before exiting in usage(). 2015-03-09 03:31:26 +00:00
wall Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
wc Close the file list before opening the container that holds the 2015-02-11 17:56:24 +00:00
what
whereis Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
which use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
who Remove contractions. 2012-10-07 20:01:41 +00:00
whois Introduce $RA_SERVER to set default whois server. 2014-06-25 15:39:08 +00:00
write
xargs Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
xinstall Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
xlint xlint: update. 2015-03-23 18:45:29 +00:00
xo Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
xstr
xz Merge xz 5.2.0. 2015-02-09 06:20:34 +00:00
xzdec Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
yacc Increase MAXTABLE to the maxmimum possible value. The default value is too 2014-11-13 00:46:53 +00:00
yes mdoc: drop the trailing dot from the xref list. 2014-06-05 08:20:14 +00:00
ypcat use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
ypmatch use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
ypwhich
Makefile Switch to ELF toolchain readelf(1) 2015-03-30 17:38:25 +00:00
Makefile.amd64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.arm Add arm bits to truss. 2013-03-07 23:44:35 +00:00
Makefile.i386 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.inc
Makefile.powerpc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.sparc64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00