aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/Symbol.map
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2013-03-02 21:11:30 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2013-03-02 21:11:30 +0000
commit7493f24ee6846df33931904c87493b08400df5bd (patch)
tree5dbc48bdb7b78718e22183ef377b76f2e3bc74c2 /lib/libc/sys/Symbol.map
parent136b1ada11e4b3ec91b4b15562ba803e5ab66c10 (diff)
downloadsrc-7493f24ee6846df33931904c87493b08400df5bd.tar.gz
src-7493f24ee6846df33931904c87493b08400df5bd.zip
- 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
Notes
Notes: svn path=/head/; revision=247667
Diffstat (limited to 'lib/libc/sys/Symbol.map')
-rw-r--r--lib/libc/sys/Symbol.map2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map
index 7738e46d8c84..fc000641ad0b 100644
--- a/lib/libc/sys/Symbol.map
+++ b/lib/libc/sys/Symbol.map
@@ -378,6 +378,7 @@ FBSD_1.2 {
};
FBSD_1.3 {
+ bindat;
cap_fcntls_get;
cap_fcntls_limit;
cap_ioctls_get;
@@ -386,6 +387,7 @@ FBSD_1.3 {
cap_rights_limit;
cap_sandboxed;
clock_getcpuclockid2;
+ connectat;
ffclock_getcounter;
ffclock_getestimate;
ffclock_setestimate;