1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/usr.bin
Pawel Jakub Dawidek ed5848c835 Replace CAP_POLL_EVENT and CAP_POST_EVENT capability rights (which I had
a very hard time to fully understand) with much more intuitive rights:

	CAP_EVENT - when set on descriptor, the descriptor can be monitored
		with syscalls like select(2), poll(2), kevent(2).

	CAP_KQUEUE_EVENT - When set on a kqueue descriptor, the kevent(2)
		syscall can be called on this kqueue to with the eventlist
		argument set to non-NULL value; in other words the given
		kqueue descriptor can be used to monitor other descriptors.
	CAP_KQUEUE_CHANGE - When set on a kqueue descriptor, the kevent(2)
		syscall can be called on this kqueue to with the changelist
		argument set to non-NULL value; in other words it allows to
		modify events monitored with the given kqueue descriptor.

Add alias CAP_KQUEUE, which allows for both CAP_KQUEUE_EVENT and
CAP_KQUEUE_CHANGE.

Add backward compatibility define CAP_POLL_EVENT which is equal to CAP_EVENT.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2013-11-15 19:55:35 +00:00
..
alias
apply Constify arguments. While I'm there, also add a static for usage(). 2013-01-04 23:44:22 +00:00
ar Work around build breakages with GCC 4.2. 2013-05-23 05:42:35 +00:00
asa
at - Do not bail out if stat(2) fails with ENOENT in the spool directory. This 2013-04-12 14:32:16 +00:00
atf Build and install the atf tests. 2013-11-08 14:33:41 +00:00
atm
awk
banner
basename
bc Work around build breakages with GCC 4.2. 2013-05-23 05:42:35 +00:00
biff Fix EXIT STATUS. biff reports its status when it was invoked. 2013-04-28 09:29:44 +00:00
bluetooth
bmake Stick to traditional DEFAULT_SYS_PATH (/usr/share/mk) 2013-09-10 23:31:38 +00:00
brandelf fix up my copyright and remove third clause.. 2013-08-26 18:51:48 +00:00
bsdiff
bzip2
bzip2recover Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +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 - Add myself as port committer and my mentor's relationship. 2013-11-10 20:24:41 +00:00
cap_mkdb
catman
chat
checknr
chkey
chpass
cksum
clang Add LLDB bmake infrastructure 2013-09-20 01:52:02 +00:00
cmp
col
colcrt
colldef
colrm
column
comm
compile_et
compress
cpio MFV r248590,248594: 2013-03-22 13:36:03 +00:00
cpuset
csplit
csup Clean up -Wheader-guard warnings. 2013-06-17 20:11:04 +00:00
ctags
ctlstat Fix bugs in the elapsed time calculation in ctlstat_standard() 2013-04-11 21:18:04 +00:00
cut
dc Properly handle '-h' argument. 2013-02-28 01:22:14 +00:00
dirname
drill Build and install drill(1). 2013-09-22 20:30:55 +00:00
dtc When writing DTS to a file, don't write some of it to stderr. 2013-11-05 14:07:30 +00:00
du
ee Fix spelling. 2013-03-11 13:08:32 +00:00
elf2aout
elfdump
enigma
env
expand
false
fetch Include an Accept header in requests. 2013-07-30 13:07:55 +00:00
file
file2c
find find: Allow -delete to delete files given as arguments. 2013-08-02 14:14:23 +00:00
finger
fmt
fold
from
fstat Similar to 233760 and 236717, export some more useful info about the 2013-05-03 21:11:57 +00:00
fsync
ftp
gcore Add some missing DPADD. 2013-05-11 13:46:05 +00:00
gencat
getconf
getent Add support for netgroup, based on patch in the PR but made consistent 2013-05-23 20:52:30 +00:00
getopt
gprof rework old-style functions prototypes 2013-02-14 08:16:03 +00:00
grep grep -i does not work for simple patterns and single byte locales, like 2013-07-30 18:16:43 +00:00
gzip
head Remove EOL whitespace accidentally introduced in r248393. 2013-03-17 06:57:25 +00:00
hesinfo
hexdump Fix typo ('1' != 'l') 2013-03-04 02:21:06 +00:00
host Remove BIND. 2013-09-30 17:23:45 +00:00
iconv As a followup to r252547, propate const down the call stack. 2013-07-03 18:27:45 +00:00
id
indent Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
ipcrm
ipcs
iscsictl Fix typo in "iscsictl -v". 2013-11-10 14:18:05 +00:00
join Cast *tabchar, a wchar_t, to a wint_t as it is the type the %lc printf 2013-02-04 10:05:55 +00:00
jot
kdump When displaying a struct stat, if the -r option was not specified, 2013-10-07 11:23:01 +00:00
keylogin WARNS=6 compliance 2013-02-19 13:32:26 +00:00
keylogout
killall killall: add -q flag to suppress error message when no processes are matched 2013-06-30 20:27:31 +00:00
ktrace
ktrdump
lam
last
lastcomm
ldd Pass variables prefixed with both LD_ and LD_32_ to the run-time linker. 2013-08-07 00:28:17 +00:00
leave
less Note that the manual page of less(1) says: 2012-12-03 21:49:37 +00:00
lessecho
lesskey
lex Connect flex 2.5.37 to the build and bump __FreeBSD_version. 2013-05-21 19:32:35 +00:00
limits sh(1),limits(1): Document kqueues (-k) rlimit. 2013-11-01 13:57:30 +00:00
locale
locate Give users a hint when their locate database is too small. 2012-12-10 02:26:01 +00:00
lock
lockf Add option to lockf to avoid creating a file if it does not exist. 2013-05-10 17:30:29 +00:00
logger
login Fix whitespace. 2013-11-13 20:35:10 +00:00
logins
logname
look
lorder
lsvfs - Add file system type number (vfc_typenum) in the list. This is useful 2013-06-09 16:33:32 +00:00
lzmainfo
m4 mdoc: convert .Fd to .In, which is much nicer. 2013-06-04 07:37:06 +00:00
mail Remove unnecessary cast to pid_t. 2013-07-04 03:24:58 +00:00
make Remove unnecessary cast to pid_t. 2013-07-04 03:24:58 +00:00
makewhatis
man Remove default support for 1aout section manpages. There haven't been 2013-01-16 23:20:24 +00:00
mandoc
mesg
minigzip
ministat
mkcsmapper Attempt to deal with a compile failure that shows up with gcc, which 2013-07-03 18:25:27 +00:00
mkcsmapper_static
mkdep
mkesdb Attempt to deal with a compile failure that shows up with gcc, which 2013-07-03 18:25:27 +00:00
mkesdb_static
mkfifo
mklocale Work around build breakages with GCC 4.2. 2013-05-23 05:42:35 +00:00
mkstr
mktemp
mkulzma
mkuzip
msgs
mt
nc
ncal
netstat 'netstat -i' no longer supports working on a vmcore. 2013-10-30 08:13:42 +00:00
newgrp Print a warning if not setuid root. 2013-02-08 14:14:00 +00:00
newkey
nfsstat Modify nfsstat.c so that it prints out an error when a non-root 2013-06-09 21:54:19 +00:00
nice
nl
nohup
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch Improve bsdpatch usability: 2013-09-26 18:00:45 +00:00
pathchk pathchk: Ensure bytes >= 128 are considered non-portable characters. 2013-10-20 20:10:31 +00:00
perror
pr
printenv
printf POSIX requires that non-existent or null arguments be treated as if a 2012-12-18 21:02:38 +00:00
procstat Replace CAP_POLL_EVENT and CAP_POST_EVENT capability rights (which I had 2013-11-15 19:55:35 +00:00
protect Correct stale comments. 2013-09-20 16:05:09 +00:00
quota
rctl Minor spelling and grammar fixes. 2013-04-11 19:05:24 +00:00
renice Move example to EXAMPLES. 2013-03-17 06:36:04 +00:00
rev
revoke
rlogin
rpcgen
rpcinfo Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
rs
rsh
rup
ruptime
rusers
rwall
rwho Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
script MFC'ing to 9.2. 2013-07-30 19:21:36 +00:00
sed sed: use getline() instead of fgetln(). 2013-06-26 04:14:19 +00:00
seq
setchannel
shar
showmount
smbutil
sockstat
sort Fix header guards. 2013-06-17 20:15:39 +00:00
split Add missed DPADD 2013-11-09 09:05:50 +00:00
ssh-copy-id
stat
stdbuf Remove stray tabs. 2013-01-14 11:06:50 +00:00
su Make check for unknown login class actually work. Previously, using the "-c" option 2013-08-12 21:01:01 +00:00
svn Somewhat mimic how the devel/subversion port prepopulates 2013-11-13 05:25:49 +00:00
systat Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
tabs
tail Print file names without stdio buffering to avoid mixing buffered and 2013-06-09 08:06:26 +00:00
talk
tar MFV r248590,248594: 2013-03-22 13:36:03 +00:00
tcopy
tee
telnet
tests Build and install the atf tests. 2013-11-08 14:33:41 +00:00
tftp
time time: Use close-on-exec instead of fclose() in the child process. 2012-12-08 17:41:39 +00:00
tip A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
top Bump the CPU/WCPU column width by one so that it fits values from 100% up 2013-06-11 19:05:29 +00:00
touch Constify where appropriate. 2013-04-23 13:03:17 +00:00
tput
tr When copying the complement of the string loop to WINT_MAX as we are dealing 2013-01-22 05:39:34 +00:00
true
truncate
truss Extend the support for exempting processes from being killed when swap is 2013-09-19 18:53:42 +00:00
tset
tsort
tty
ul Fix a signed/unsigned comparison when wchar_t is unsigned by casting the 2013-01-06 03:08:27 +00:00
uname Add -K (__FreeBSD_version of kernel) and -U (__FreeBSD_version of userland). 2013-10-15 20:57:40 +00:00
unexpand
unifdef Update to upstream version 2.7 2013-03-28 20:33:07 +00:00
uniq Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
units
unvis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
unzip Replace deprecated (or remove obsolete) libarchive 2.8 functions 2013-03-22 10:17:42 +00:00
usbhidaction
usbhidctl mdoc sweep. 2013-05-12 22:22:12 +00:00
users
uudecode
uuencode
vacation Since clang 3.2 now has an option to suppress warnings about implicitly 2013-02-16 20:17:31 +00:00
vgrind
vi Give up on using iconv to convert to UTF-8 at build time. I don't see any 2013-08-12 09:56:52 +00:00
vis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
vmstat - Show page faults requiring I/O when -s invoked. 2013-01-28 12:58:37 +00:00
w Revert r253748,253749 2013-07-28 18:44:17 +00:00
wall
wc
what
whereis
which
who
whois
write
xargs Style(9) changes fo xargs.c 2013-05-10 03:49:05 +00:00
xinstall revert sign changes to buffers used in invocation of digest_update() 2013-10-30 18:40:55 +00:00
xlint Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
xstr
xz
xzdec
yacc Setting WARNS=6 is useless, as it is already the default 2013-10-29 08:55:09 +00:00
yes
ypcat
ypmatch
ypwhich
Makefile Build and install the atf tests. 2013-11-08 14:33:41 +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.ia64 - 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