From 4badc303c94552bfe857ccb27e30a4d11313a2c5c8717897ad135a3f2e28e64c Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Thu, 22 Apr 2021 14:08:49 +0000 Subject: [PATCH] Accepting request 887293 from home:wfrisch:branches:Base:System Hardening: Link as PIE (bsc#1184123). OBS-URL: https://build.opensuse.org/request/show/887293 OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=58 --- libhugetlbfs.changes | 5 +++++ libhugetlbfs.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libhugetlbfs.changes b/libhugetlbfs.changes index 2411ecc..4cdb113 100644 --- a/libhugetlbfs.changes +++ b/libhugetlbfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 21 12:36:14 UTC 2021 - Wolfgang Frisch + +- Hardening: Link as PIE (bsc#1184123). + ------------------------------------------------------------------- Mon Aug 17 13:48:04 UTC 2020 - Dirk Mueller diff --git a/libhugetlbfs.spec b/libhugetlbfs.spec index 65e8ed0..e86b267 100644 --- a/libhugetlbfs.spec +++ b/libhugetlbfs.spec @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot} +%define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" LDFLAGS="-pie" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot} Name: libhugetlbfs Version: 2.22 Release: 0 @@ -24,7 +24,7 @@ Summary: Helper library for the Huge Translation Lookaside Buffer Filesys License: LGPL-2.1-or-later Group: System/Libraries URL: https://github.com/libhugetlbfs/libhugetlbfs -Source0: https://github.com/libhugetlbfs/libhugetlbfs/releases/download/%{version}/libhugetlbfs-%{version}.tar.gz +Source0: https://github.com/libhugetlbfs/libhugetlbfs/releases/download/%{version}/libhugetlbfs-%{version}.tar.gz Source1: baselibs.conf Patch2: libhugetlbfs.s390.patch Patch4: libhugetlbfs.tests-malloc.patch