diff options
author | 2015-08-22 20:18:49 +0000 | |
---|---|---|
committer | 2015-08-22 20:18:49 +0000 | |
commit | 430c0dbabc0b49c3b13ba68ed9204b6b4b0d98c3 (patch) | |
tree | 322a56a126346a376ff50a939e8742555c6ea092 /sys/netinet6 | |
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/netinet6')
-rw-r--r-- | sys/netinet6/in6_pcb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index 1d963ed8091..8f47205ec36 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_pcb.c,v 1.69 2015/07/19 02:35:35 deraadt Exp $ */ +/* $OpenBSD: in6_pcb.c,v 1.70 2015/08/22 20:18:50 deraadt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -109,7 +109,6 @@ #include <sys/errno.h> #include <sys/time.h> #include <sys/proc.h> -#include <sys/tame.h> #include <net/if.h> #include <net/if_var.h> |