diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-05-17 06:11:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-05-17 06:11:55 +0000 |
commit | 1c5a63b23a65f8d208e7f389013a259ff6851df9 (patch) | |
tree | ed1955f4730887e3225abcb861f3cd67cdf0518d | |
parent | fe0c78d1c79100a7df60da1eebc68a17790b4119 (diff) |
use SIGKILL instead of 9; ok guenther
-rw-r--r-- | libexec/ld.so/util.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ld.so/util.h b/libexec/ld.so/util.h index 6b4f3aaef5e..5f9d6063101 100644 --- a/libexec/ld.so/util.h +++ b/libexec/ld.so/util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: util.h,v 1.40 2023/12/08 12:58:27 deraadt Exp $ */ +/* $OpenBSD: util.h,v 1.41 2024/05/17 06:11:54 deraadt Exp $ */ /* * Copyright (c) 1998 Todd C. Miller <millert@openbsd.org> @@ -32,6 +32,7 @@ #define __DL_UTIL_H__ #include <sys/utsname.h> +#include <sys/signal.h> #include <stdarg.h> #include <stddef.h> /* for NULL */ @@ -72,7 +73,7 @@ long _dl_strtol(const char *nptr, char **endptr, int base); __dead void _dl_oom(void); __dead void _dl_die(const char *, ...) __attribute__((format (printf, 1, 2))); -#define _dl_diedie() _dl_thrkill(0, 9, NULL) +#define _dl_diedie() _dl_thrkill(0, SIGKILL, NULL) __END_HIDDEN_DECLS #define _dl_round_page(x) \ |