]> git.pld-linux.org Git - packages/libcap-ng.git/blob - unloadable.patch
- epoch 1 to be able to update fro 0.7.8 on ftp
[packages/libcap-ng.git] / unloadable.patch
1 From 3c42afac11c323fee5da7db771cd20d414fa265d Mon Sep 17 00:00:00 2001
2 From: Rene Luria <rene.luria@infomaniak.com>
3 Date: Sun, 9 Dec 2018 21:51:54 +0100
4 Subject: [PATCH] Fix mark the DSOs as unloadable
5
6 as suggested by Simon McVittie in
7 https://github.com/stevegrubb/libcap-ng/issues/5 and Carlos O'Donell at
8 https://sourceware.org/bugzilla/show_bug.cgi?id=13502 mark the DSOs as
9 unloadable with -z nodelete to prevent crashes at fork
10
11 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904808
12
13 Fix: https://github.com/stevegrubb/libcap-ng/issues/5
14 ---
15  src/Makefile.am | 2 +-
16  1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/src/Makefile.am b/src/Makefile.am
19 index 5a66d4e..d46d02b 100644
20 --- a/src/Makefile.am
21 +++ b/src/Makefile.am
22 @@ -34,5 +34,5 @@ noinst_HEADERS = captab.h
23  libcap_ng_la_SOURCES = cap-ng.c lookup_table.c
24  libcap_ng_la_LIBADD =
25  libcap_ng_la_DEPENDENCIES = $(libcap_ng_la_SOURCES) ../config.h
26 -libcap_ng_la_LDFLAGS = -Wl,-z,relro
27 +libcap_ng_la_LDFLAGS = -Wl,-z,relro -Wl,-z,nodelete
28  
This page took 0.070096 seconds and 3 git commands to generate.