From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH] stripper: Strip any PIE executables Date: Fri, 01 Jul 2022 08:51:33 +0000 Message-ID: <9893c529-d1b6-fd4d-d48e-60e8a83d439d@ipfire.org> In-Reply-To: <20220630132115.8247-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3196881926183249852==" List-Id: --===============3196881926183249852== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Reviewed-by: Peter Müller > Fixes: #12894 > Signed-off-by: Michael Tremer > --- > src/stripper | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/src/stripper b/src/stripper > index fadbc514b..4014f03a4 100755 > --- a/src/stripper > +++ b/src/stripper > @@ -38,6 +38,10 @@ function _strip() { > args+=( "--strip-all" ) > ;; > > + *Type:*"DYN (Position-Independent Executable file)"*) > + args+=( "--strip-all" ) > + ;; > + > # Binaries > *Type:*"EXEC (Executable file)"*) > args+=( "--strip-all" ) --===============3196881926183249852==--