summaryrefslogtreecommitdiff
path: root/regress/sys/kern/setuid/setresuid_saved_exec.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-13 16:56:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-13 16:56:51 +0000
commita02bd508e1de79feadc042a6a602194d97f70dab (patch)
tree81ef7c621045b36a4c34f46ab1652c0f97a80c23 /regress/sys/kern/setuid/setresuid_saved_exec.c
parentba1590a4b017c07576ce93524f047637c9acbcea (diff)
remove a couple hundred sys/param.h includes in userland code, and
also whack some sys/cdefs.h early includes which is such a brutally bad pattern ok bluhm mbuhl
Diffstat (limited to 'regress/sys/kern/setuid/setresuid_saved_exec.c')
-rw-r--r--regress/sys/kern/setuid/setresuid_saved_exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regress/sys/kern/setuid/setresuid_saved_exec.c b/regress/sys/kern/setuid/setresuid_saved_exec.c
index 9d76fccbb07..991cf6bb0a6 100644
--- a/regress/sys/kern/setuid/setresuid_saved_exec.c
+++ b/regress/sys/kern/setuid/setresuid_saved_exec.c
@@ -1,11 +1,10 @@
-/* $OpenBSD: setresuid_saved_exec.c,v 1.1 2014/08/27 07:36:14 blambert Exp $ */
+/* $OpenBSD: setresuid_saved_exec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */
/*
* Written by Bret Stephen Lambert <blambert@openbsd.org> 2014
* Public Domain.
*/
#include <sys/types.h>
-#include <sys/param.h>
#include <sys/proc.h>
#include <sys/sysctl.h>
#include <sys/wait.h>