30 lines
872 B
Diff
30 lines
872 B
Diff
From 1286ef310549ef3a7ce2ecf81523082f0453d194 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= <pfilipensky@samba.org>
|
|
Date: Thu, 10 Nov 2022 13:41:04 +0100
|
|
Subject: [PATCH] ../src/priv_wrapper.c
|
|
|
|
---
|
|
src/priv_wrapper.c | 6 +-----
|
|
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
|
|
diff --git a/src/priv_wrapper.c b/src/priv_wrapper.c
|
|
index acff955..fc8b19f 100644
|
|
--- a/src/priv_wrapper.c
|
|
+++ b/src/priv_wrapper.c
|
|
@@ -173,11 +173,7 @@ static void privwrap_log(enum privwrap_dbglvl_e dbglvl,
|
|
|
|
typedef int (*__libc_chroot)(const char *path);
|
|
#ifdef HAVE_PRCTL
|
|
-typedef int (*__libc_prctl)(int option,
|
|
- unsigned long arg2,
|
|
- unsigned long arg3,
|
|
- unsigned long arg4,
|
|
- unsigned long arg5);
|
|
+typedef int (*__libc_prctl)(int option, ...);
|
|
#endif
|
|
#ifdef HAVE_PLEDGE
|
|
typedef int (*__libc_pledge)(const char *promises,
|
|
--
|
|
2.37.3
|
|
|