Projects
openEuler:22.03:LTS:Next
libcap
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 7
View file
_service:tar_scm_kernel_repo:libcap.spec
Changed
@@ -1,12 +1,13 @@ Name: libcap Version: 2.61 -Release: 1 +Release: 2 Summary: A library for getting and setting POSIX.1e draft 15 capabilities License: GPLv2 URL: https://sites.google.com/site/fullycapable Source0: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.gz Patch0: libcap-buildflags.patch +Patch1: Fix-syntax-error-in-DEBUG-protected-setcap.c-code.patch BuildRequires: libattr-devel pam-devel perl-interpreter gcc @@ -70,6 +71,9 @@ %{_mandir}/man8/*.gz %changelog +* Sat Aug 27 2022 yixiangzhike <yixiangzhike007@163.com> - 2.61-2 +- fix syntax error in DEBUG protected setcap.c code + * Thu Nov 25 2021 yixiangzhike <yixiangzhike007@163.com> - 2.61-1 - update to 2.61
View file
_service:tar_scm_kernel_repo:Fix-syntax-error-in-DEBUG-protected-setcap.c-code.patch
Added
@@ -0,0 +1,28 @@ +From 21d08b03c2a737e4384a07857e0289ad0126b663 Mon Sep 17 00:00:00 2001 +From: "Andrew G. Morgan" <morgan@kernel.org> +Date: Sun, 17 Apr 2022 06:41:23 -0700 +Subject: [PATCH] Fix syntax error in DEBUG protected setcap.c code. + +Bug reported with fix from yixiangzhike. + +Signed-off-by: Andrew G. Morgan <morgan@kernel.org> +--- + progs/setcap.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/progs/setcap.c b/progs/setcap.c +index 02a8a5d..737efcc 100644 +--- a/progs/setcap.c ++++ b/progs/setcap.c +@@ -176,7 +176,7 @@ int main(int argc, char **argv) + { + char *result = cap_to_text(cap_d, NULL); + fprintf(stderr, "caps set to: [%s]\n", result); +- cap_free(result) ++ cap_free(result); + } + #endif + } +-- +2.27.0 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.