diff options
author | 2015-08-22 20:18:49 +0000 | |
---|---|---|
committer | 2015-08-22 20:18:49 +0000 | |
commit | 430c0dbabc0b49c3b13ba68ed9204b6b4b0d98c3 (patch) | |
tree | 322a56a126346a376ff50a939e8742555c6ea092 /sys/kern/kern_time.c | |
parent | Explicitly list the symbols permitted to be exported by libc. (diff) | |
download | wireguard-openbsd-430c0dbabc0b49c3b13ba68ed9204b6b4b0d98c3.tar.xz wireguard-openbsd-430c0dbabc0b49c3b13ba68ed9204b6b4b0d98c3.zip |
Move to tame(int flags, char *paths[]) API/ABI.
The pathlist is a whitelist of dirs and files; anything else returns ENOENT.
Recommendation is to use a narrowly defined list. Also add TAME_FATTR, which
permits explicit change operations against "struct stat" fields. Some
other TAME_ flags are refined slightly.
Not cranking libc now, since nothing commited in base uses this and the
timing is uncomfortable for others. Discussed with many; thanks for a
few bug fixes from semarie, doug, guenther.
ok guenther
Diffstat (limited to 'sys/kern/kern_time.c')
-rw-r--r-- | sys/kern/kern_time.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index 1e7553924ce..f8eccb3b98d 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_time.c,v 1.91 2015/07/19 02:35:35 deraadt Exp $ */ +/* $OpenBSD: kern_time.c,v 1.92 2015/08/22 20:18:49 deraadt Exp $ */ /* $NetBSD: kern_time.c,v 1.20 1996/02/18 11:57:06 fvdl Exp $ */ /* @@ -40,7 +40,6 @@ #include <sys/ktrace.h> #include <sys/vnode.h> #include <sys/signalvar.h> -#include <sys/tame.h> #include <sys/timetc.h> #include <sys/mount.h> |