diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-08-22 20:18:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-08-22 20:18:51 +0000 |
commit | 2ac731a695734affb7b043d00704546556752caf (patch) | |
tree | 40fb580f9f213bfdbc37b90b8a2165b679e27620 /sys/netinet6 | |
parent | 727aafc0b540434e1fd357c1d8f5f8c69edb767d (diff) |
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> |