diff options
author | peter <peter@FreeBSD.org> | 2006-08-16 22:32:50 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2006-08-16 22:32:50 +0000 |
commit | b34fae62b66d605af5631a9a1d9cdab63d2ddfcb (patch) | |
tree | eab6879e6e4e9f6cc34882a1f99247943cf03b92 | |
parent | 0a118880c8cd39389d85e00ba432ed642493e77c (diff) | |
download | FreeBSD-src-b34fae62b66d605af5631a9a1d9cdab63d2ddfcb.zip FreeBSD-src-b34fae62b66d605af5631a9a1d9cdab63d2ddfcb.tar.gz |
Grab two syscall numbers. One is used to emulate functionality that linux
has in its procfs (do a readlink of /proc/self/fd/<nn> to find the pathname
that corresponds to a given file descriptor). Valgrind-3.x needs this
functionality. This is a placeholder only at this time.
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 2 | ||||
-rw-r--r-- | sys/kern/syscalls.master | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index 82314b1..61a7e86 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -754,3 +754,5 @@ 466 AUE_NULL UNIMPL thr_setscheduler 467 AUE_NULL UNIMPL thr_getscheduler 468 AUE_NULL UNIMPL thr_setschedparam +469 AUE_NULL UNIMPL __getpath_fromfd +470 AUE_NULL UNIMPL __getpath_fromaddr diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index b6b0198..598f3bf 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -827,5 +827,7 @@ 468 AUE_NULL STD { int thr_setschedparam(long id, \ const struct sched_param *param, \ int param_size); } +469 AUE_NULL UNIMPL __getpath_fromfd +470 AUE_NULL UNIMPL __getpath_fromaddr ; Please copy any additions and changes to the following compatability tables: ; sys/compat/freebsd32/syscalls.master |