Update to version priv_wrapper-1.0.1

This commit is contained in:
Pavel Filipenský 2022-11-24 15:38:18 +01:00
parent 6fac47e036
commit df22d305c1
4 changed files with 9 additions and 34 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
/priv_wrapper-1.0.0.tar.gz
/priv_wrapper.keyring
/priv_wrapper-1.0.1.tar.gz
/priv_wrapper-1.0.1.tar.gz.asc

View File

@ -1,29 +0,0 @@
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

View File

@ -1,6 +1,6 @@
Name: priv_wrapper
Version: 1.0.0
Release: 3%{?dist}
Version: 1.0.1
Release: 1%{?dist}
Summary: A library to disable resource limits and other privilege dropping
License: GPLv3+
@ -10,8 +10,6 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
Source2: priv_wrapper.keyring
Patch0: 0001-prctl.patch
BuildRequires: gcc
BuildRequires: cmake
BuildRequires: gnupg2
@ -65,6 +63,9 @@ development/testing.
%{_mandir}/man1/priv_wrapper.1*
%changelog
* Thu Nov 24 2022 Pavel Filipenský <pfilipenn@redhat.com> - 1.0.1-1
- Update to version 1.0.1
* Thu Nov 10 2022 Pavel Filipenský <pfilipen@redhat.com> - 1.0.0-3
- Patch prctl() on ppc64le

View File

@ -1,2 +1,3 @@
SHA512 (priv_wrapper-1.0.0.tar.gz) = 3087916c36fe6244831809e8e589433774fac62aa969d528c11fddf743869a5b1dbd36ab38478bd0e7e3a32f5cf4d80a352dac7ef132b3ee362c37e88b2cb0dc
SHA512 (priv_wrapper-1.0.1.tar.gz) = 16b3aae8340de1e1e18cc364c24643e1e22823ec1d913ded2ce176afdfc4d590cb2520154a3c6b93e28145476c5597ce7129bddf276acb4882bf1551e967ddfc
SHA512 (priv_wrapper-1.0.1.tar.gz.asc) = 47f9df6054279d7c30b07e286207f5ababf1cfe89a58d1b4e4be2b9c669173b7c30df61d40e52d6e7fc031570f0a2603cf74d2679601f1c7944f870765f02bd1
SHA512 (priv_wrapper.keyring) = 94e0b3873184c3c5bfed321a8cd70696c0d6a0f357ba3dd7ba0e68e3f2ee270c62fa3138b3dc5a869c15e9f6e0e4e14e9d4a060863b1c846a49082c05b68fc71