pjd 702516e70b - 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
..
2012-12-07 12:39:58 +00:00
2013-02-01 22:55:27 +00:00
2012-09-14 21:17:53 +00:00
2013-01-11 17:34:30 +00:00
2012-09-22 17:47:37 +00:00
2013-01-31 08:55:21 +00:00
2012-12-03 19:00:23 +00:00
2012-10-22 18:56:31 +00:00
2013-01-03 07:25:30 +00:00
2013-03-02 21:11:30 +00:00
2012-02-22 03:36:15 +00:00
2011-12-08 02:40:46 +00:00
2012-12-22 21:32:12 +00:00