freebsd-nq/contrib
Pawel Jakub Dawidek 7493f24ee6 - Implement two new system calls:
int bindat(int fd, int s, const struct sockaddr *addr, socklen_t addrlen);
	int connectat(int fd, int s, const struct sockaddr *name, socklen_t namelen);

  which allow to bind and connect respectively to a UNIX domain socket with a
  path relative to the directory associated with the given file descriptor 'fd'.

- Add manual pages for the new syscalls.

- Make the new syscalls available for processes in capability mode sandbox.

- Add capability rights CAP_BINDAT and CAP_CONNECTAT that has to be present on
  the directory descriptor for the syscalls to work.

- Update audit(4) to support those two new syscalls and to handle path
  in sockaddr_un structure relative to the given directory descriptor.

- Update procstat(1) to recognize the new capability rights.

- Document the new capability rights in cap_rights_limit(2).

Sponsored by:	The FreeBSD Foundation
Discussed with:	rwatson, jilles, kib, des
2013-03-02 21:11:30 +00:00
..
amd
atf Add ATF update instructions and file exclude list. 2012-11-15 04:51:37 +00:00
bind9 Update to 9.8.4-P1. 2012-12-07 12:39:58 +00:00
binutils Clear the memory allocated to build the unwind tables. This fixes C++ 2013-02-27 06:53:15 +00:00
bmake Merge bmake-20130123 2013-02-01 22:55:27 +00:00
bsnmp Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
byacc
bzip2
com_err
compiler-rt Don't use the pcs attribute on compilers that don't support it. We can 2013-01-19 02:24:14 +00:00
cvs Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
dialog Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
diff
dtc Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
ee Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
expat Update base system libexpat to 2.1.0. 2013-02-26 00:58:44 +00:00
file Add support for Lua 5.2. 2013-01-11 17:34:30 +00:00
gcc Add #undef TARGET_DEFAULT back as it shouldn't have been removed in r245539 2013-02-04 09:42:12 +00:00
gcclibs Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
gdb Extend GDB to check the value in the .note.tag section along with the 2013-02-04 06:59:33 +00:00
gdtoa Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
gperf Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
groff
ipfilter Retire struct sockaddr_inarp. 2013-01-31 08:55:21 +00:00
jemalloc Update list of ports required for importing jemalloc. 2013-01-24 03:33:15 +00:00
ldns #if out unused functions which trip up gcc but not clang. 2013-02-16 22:16:14 +00:00
less MFV: less v456. 2012-12-03 19:00:23 +00:00
libarchive Fix an obvious typo that broke time specifications of the form 2013-02-02 06:06:39 +00:00
libbegemot
libc-pwcache
libc-vis Replace our implementation of the vis(3) and unvis(3) APIs with 2012-12-18 16:37:24 +00:00
libc++ Import new libc++ to head. Various small fixes and cleanups. 2013-02-07 15:45:28 +00:00
libcxxrt Fix a copy-and-paste error in libcxxrt. 2013-02-07 11:08:03 +00:00
libpcap Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
libreadline
libstdc++ Allow the unwind functions int libgcc_s to interact correctly with libthr. 2013-02-04 09:28:36 +00:00
llvm Pull in r175962 from upstream llvm trunk: 2013-02-23 22:48:12 +00:00
lukemftpd
mdocml
mknod Add NetBSD's mtree to the tree and install it as nmtree as the first step 2012-12-21 21:00:00 +00:00
mtree Add NetBSD's mtree to the tree and install it as nmtree as the first step 2012-12-21 21:00:00 +00:00
ncurses
netcat MFV: netcat from OpenBSD 5.2. 2012-10-22 18:56:31 +00:00
ngatm
ntp Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
nvi Fix two instances of undefined behaviour in contrib/nvi. 2013-02-16 12:48:06 +00:00
ofed
one-true-awk MFV: one-true-awk 20121220. 2013-01-03 07:25:30 +00:00
openbsm - Implement two new system calls: 2013-03-02 21:11:30 +00:00
openpam
openresolv
opie In contrib/opie/opiekey.c, use the correct length to zero the secret. 2013-02-16 12:45:57 +00:00
pam_modules/pam_passwdqc
pf
pnpinfo
sendmail Merge sendmail 8.14.6 errata issue 2013-02-18 19:33:07 +00:00
smbfs
tcp_wrappers Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
tcpdump Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
tcsh
telnet
texinfo
tnftp
top Bump MAX_COLS to 512 to take advantage of wider terminals. 2012-12-13 06:45:45 +00:00
traceroute
tzcode
tzdata Merge of vendor import of 242999, tzdata2012j 2012-11-13 21:10:50 +00:00
wpa Import change 40eebf235370b6fe6353784ccf01ab92eed062a5 from upstream wpa: 2013-02-16 12:52:40 +00:00
xz MFV r244559: 2012-12-22 21:32:12 +00:00