Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2021 01:45:54 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4621c4f2fd17 - main - tests/sys/audit: force PIE off
Message-ID:  <202102190145.11J1jsw7054214@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=4621c4f2fd179eff0923140da9af122c42dbe78b

commit 4621c4f2fd179eff0923140da9af122c42dbe78b
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-02-19 01:41:33 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-02-19 01:45:36 +0000

    tests/sys/audit: force PIE off
    
    df093aa9463b linked against libprivateauditd.a, but that is currently
    (and incorrectly) built as position-dependent.  For now just force PIE
    off for this test to fix the WITH_PIE build.
    
    Sponsored by:   The FreeBSD Foundation
---
 tests/sys/audit/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/sys/audit/Makefile b/tests/sys/audit/Makefile
index d074bcc1f28d..4cacd86d009a 100644
--- a/tests/sys/audit/Makefile
+++ b/tests/sys/audit/Makefile
@@ -57,6 +57,7 @@ TEST_METADATA+= required_user="root"
 TEST_METADATA+= is_exclusive="true"
 TEST_METADATA+=	required_files="/etc/rc.d/auditd /dev/auditpipe"
 
+MK_PIE:=	no	# XXX libprivateauditd.a is not PIE
 LDFLAGS+=	-lbsm -lutil
 OPENBSMDIR=${SRCTOP}/contrib/openbsm
 CFLAGS+=	-I${OPENBSMDIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102190145.11J1jsw7054214>