diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2021-12-15 18:42:39 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2021-12-15 18:42:39 +0000 |
commit | 2c23f1ec6d3d9d7554e7993e02e795fd23c5ac46 (patch) | |
tree | 2dc972d758b3098f5433cd7c865bd9d71d2595c9 /regress/sys | |
parent | 28eb1cd341ef582666e0a63453f0a39540974af4 (diff) |
more sys/signal.h before sys/proc.h
Diffstat (limited to 'regress/sys')
24 files changed, 48 insertions, 24 deletions
diff --git a/regress/sys/kern/setuid/setegid.c b/regress/sys/kern/setuid/setegid.c index 411aae639e9..771a61467df 100644 --- a/regress/sys/kern/setuid/setegid.c +++ b/regress/sys/kern/setuid/setegid.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setegid.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setegid.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/seteuid.c b/regress/sys/kern/setuid/seteuid.c index 6fec0157918..40599325eb7 100644 --- a/regress/sys/kern/setuid/seteuid.c +++ b/regress/sys/kern/setuid/seteuid.c @@ -1,10 +1,11 @@ -/* $OpenBSD: seteuid.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: seteuid.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setgid.c b/regress/sys/kern/setuid/setgid.c index 3923fef48a2..5af51510194 100644 --- a/regress/sys/kern/setuid/setgid.c +++ b/regress/sys/kern/setuid/setgid.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setgid.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setgid.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setgid_child.c b/regress/sys/kern/setuid/setgid_child.c index c87ab2522b3..4bbde60f0d3 100644 --- a/regress/sys/kern/setuid/setgid_child.c +++ b/regress/sys/kern/setuid/setgid_child.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setgid_child.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setgid_child.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setgid_exec_inherit.c b/regress/sys/kern/setuid/setgid_exec_inherit.c index 85f3a7b0897..1629c8a8822 100644 --- a/regress/sys/kern/setuid/setgid_exec_inherit.c +++ b/regress/sys/kern/setuid/setgid_exec_inherit.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setgid_exec_inherit.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setgid_exec_inherit.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setgid_none.c b/regress/sys/kern/setuid/setgid_none.c index 200eba19c74..fd083aa1b02 100644 --- a/regress/sys/kern/setuid/setgid_none.c +++ b/regress/sys/kern/setuid/setgid_none.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setgid_none.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setgid_none.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setresgid.c b/regress/sys/kern/setuid/setresgid.c index ab7e875c37e..56575b4f864 100644 --- a/regress/sys/kern/setuid/setresgid.c +++ b/regress/sys/kern/setuid/setresgid.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setresgid.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setresgid.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setresgid_effective_exec.c b/regress/sys/kern/setuid/setresgid_effective_exec.c index 6cbfb1199da..ee70ecbf9d6 100644 --- a/regress/sys/kern/setuid/setresgid_effective_exec.c +++ b/regress/sys/kern/setuid/setresgid_effective_exec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setresgid_effective_exec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setresgid_effective_exec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setresgid_real_exec.c b/regress/sys/kern/setuid/setresgid_real_exec.c index 0fd8f7f03aa..89fff5a414d 100644 --- a/regress/sys/kern/setuid/setresgid_real_exec.c +++ b/regress/sys/kern/setuid/setresgid_real_exec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setresgid_real_exec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setresgid_real_exec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setresgid_saved_exec.c b/regress/sys/kern/setuid/setresgid_saved_exec.c index eb783118e68..dcaad80b65c 100644 --- a/regress/sys/kern/setuid/setresgid_saved_exec.c +++ b/regress/sys/kern/setuid/setresgid_saved_exec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setresgid_saved_exec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setresgid_saved_exec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setresuid.c b/regress/sys/kern/setuid/setresuid.c index e96c820b504..4253136fda0 100644 --- a/regress/sys/kern/setuid/setresuid.c +++ b/regress/sys/kern/setuid/setresuid.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setresuid.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setresuid.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setresuid_effective_exec.c b/regress/sys/kern/setuid/setresuid_effective_exec.c index a6b9da1d892..198fd46cd9d 100644 --- a/regress/sys/kern/setuid/setresuid_effective_exec.c +++ b/regress/sys/kern/setuid/setresuid_effective_exec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setresuid_effective_exec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setresuid_effective_exec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setresuid_real_exec.c b/regress/sys/kern/setuid/setresuid_real_exec.c index 121a28f36f3..1a64a32a09b 100644 --- a/regress/sys/kern/setuid/setresuid_real_exec.c +++ b/regress/sys/kern/setuid/setresuid_real_exec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setresuid_real_exec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setresuid_real_exec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setresuid_saved_exec.c b/regress/sys/kern/setuid/setresuid_saved_exec.c index 991cf6bb0a6..5eee0ce257c 100644 --- a/regress/sys/kern/setuid/setresuid_saved_exec.c +++ b/regress/sys/kern/setuid/setresuid_saved_exec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setresuid_saved_exec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setresuid_saved_exec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setuid.c b/regress/sys/kern/setuid/setuid.c index 4edbd520c66..522ec93f1a8 100644 --- a/regress/sys/kern/setuid/setuid.c +++ b/regress/sys/kern/setuid/setuid.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setuid.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setuid.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setuid_child.c b/regress/sys/kern/setuid/setuid_child.c index f4068fdecbc..b9352ef4b01 100644 --- a/regress/sys/kern/setuid/setuid_child.c +++ b/regress/sys/kern/setuid/setuid_child.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setuid_child.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setuid_child.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setuid_exec_inherit.c b/regress/sys/kern/setuid/setuid_exec_inherit.c index b401b74d891..e7353041d74 100644 --- a/regress/sys/kern/setuid/setuid_exec_inherit.c +++ b/regress/sys/kern/setuid/setuid_exec_inherit.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setuid_exec_inherit.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setuid_exec_inherit.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/setuid_real_exec.c b/regress/sys/kern/setuid/setuid_real_exec.c index 7b922a22da8..51cc8f5ad30 100644 --- a/regress/sys/kern/setuid/setuid_real_exec.c +++ b/regress/sys/kern/setuid/setuid_real_exec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: setuid_real_exec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: setuid_real_exec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/sgidexec.c b/regress/sys/kern/setuid/sgidexec.c index 0812b1935c4..112d4618b4b 100644 --- a/regress/sys/kern/setuid/sgidexec.c +++ b/regress/sys/kern/setuid/sgidexec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: sgidexec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: sgidexec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/sgidexec_inherit.c b/regress/sys/kern/setuid/sgidexec_inherit.c index ab85b64a761..ca6df886799 100644 --- a/regress/sys/kern/setuid/sgidexec_inherit.c +++ b/regress/sys/kern/setuid/sgidexec_inherit.c @@ -1,10 +1,11 @@ -/* $OpenBSD: sgidexec_inherit.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: sgidexec_inherit.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/sgidexec_none.c b/regress/sys/kern/setuid/sgidexec_none.c index 15edd353f24..0c0780a1be2 100644 --- a/regress/sys/kern/setuid/sgidexec_none.c +++ b/regress/sys/kern/setuid/sgidexec_none.c @@ -1,10 +1,11 @@ -/* $OpenBSD: sgidexec_none.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: sgidexec_none.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/suidexec.c b/regress/sys/kern/setuid/suidexec.c index b0d6b2131cb..a361081aa94 100644 --- a/regress/sys/kern/setuid/suidexec.c +++ b/regress/sys/kern/setuid/suidexec.c @@ -1,10 +1,11 @@ -/* $OpenBSD: suidexec.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: suidexec.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/suidexec_inherit.c b/regress/sys/kern/setuid/suidexec_inherit.c index 062696fd9db..7e5ed67c5a6 100644 --- a/regress/sys/kern/setuid/suidexec_inherit.c +++ b/regress/sys/kern/setuid/suidexec_inherit.c @@ -1,10 +1,11 @@ -/* $OpenBSD: suidexec_inherit.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: suidexec_inherit.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> diff --git a/regress/sys/kern/setuid/suidexec_none.c b/regress/sys/kern/setuid/suidexec_none.c index d535aeea6f1..e32fb897ce5 100644 --- a/regress/sys/kern/setuid/suidexec_none.c +++ b/regress/sys/kern/setuid/suidexec_none.c @@ -1,10 +1,11 @@ -/* $OpenBSD: suidexec_none.c,v 1.2 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: suidexec_none.c,v 1.3 2021/12/15 18:42:38 anton Exp $ */ /* * Written by Bret Stephen Lambert <blambert@openbsd.org> 2014 * Public Domain. */ #include <sys/types.h> +#include <sys/signal.h> #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/wait.h> |