diff options
| author | 2019-05-13 22:55:27 +0000 | |
|---|---|---|
| committer | 2019-05-13 22:55:27 +0000 | |
| commit | 1de745bca436d2f8732f18785f95bf07a0af4fd5 (patch) | |
| tree | 0b7e97ab8390170d430b7d0f71291029c45228b4 /sys/kern/syscalls.c | |
| parent | Remove unused pad check, which is handled by tls1_cbc_remove_padding() now. (diff) | |
| download | wireguard-openbsd-1de745bca436d2f8732f18785f95bf07a0af4fd5.tar.xz wireguard-openbsd-1de745bca436d2f8732f18785f95bf07a0af4fd5.zip | |
Add a kernel implementation of realpath() as __realpath().
We want this so that we can stop allowing readlink() on traversed
vnodes in unveil().
This includes all the kernel side and the system call.
This is not yet used in libc for realpath, so nothing calls this yet.
The libc wrapper will be committed later.
Testing by many, and ports build by naddy@
ok deraadt@
Diffstat (limited to 'sys/kern/syscalls.c')
| -rw-r--r-- | sys/kern/syscalls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 2acf552dfc5..b6fc8fc6d5e 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.200 2019/05/09 20:30:22 cheloha Exp $ */ +/* $OpenBSD: syscalls.c,v 1.201 2019/05/13 22:55:27 beck Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.189 2019/01/11 18:46:30 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.190 2019/05/09 20:30:22 cheloha Exp */ char *syscallnames[] = { @@ -135,7 +135,7 @@ char *syscallnames[] = { "sendsyslog", /* 112 = sendsyslog */ "#113 (unimplemented fktrace)", /* 113 = unimplemented fktrace */ "unveil", /* 114 = unveil */ - "#115 (obsolete vtrace)", /* 115 = obsolete vtrace */ + "__realpath", /* 115 = __realpath */ "#116 (obsolete t32_gettimeofday)", /* 116 = obsolete t32_gettimeofday */ "#117 (obsolete t32_getrusage)", /* 117 = obsolete t32_getrusage */ "getsockopt", /* 118 = getsockopt */ |
