From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/3] Fix imagetests with harderning flags
Date: Thu, 8 Jun 2017 20:41:19 -0700 [thread overview]
Message-ID: <cover.1496979431.git.raj.khem@gmail.com> (raw)
This patchset is fixing packages to build without textrels when
security flags are turned on. When testing the image built with musl
it clearly segfaults and results in failures in imagetest
Tested with MACHINE=qemux86 TCLIBC=musl bitbake -ctestimage core-image-sato
ore-image-sato-1.0-r0 do_testimage_auto: SUMMARY:
core-image-sato-1.0-r0 do_testimage_auto: core-image-sato () - Ran 13 tests in 19.907s
core-image-sato-1.0-r0 do_testimage_auto: core-image-sato - OK - All required tests passed
core-image-sato-1.0-r0 do_testimage_auto: RESULTS:
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - connman.ConnmanTest.test_connmand_help - Testcase 961: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - connman.ConnmanTest.test_connmand_running - Testcase 221: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - date.DateTest.test_date - Testcase 211: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - df.DfTest.test_df - Testcase 234: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - oe_syslog.SyslogTest.test_syslog_running - Testcase 201: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - oe_syslog.SyslogTestConfig.test_syslog_logger - Testcase 1149: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - oe_syslog.SyslogTestConfig.test_syslog_restart - Testcase 1150: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - oe_syslog.SyslogTestConfig.test_syslog_startup_config - Testcase 202: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - parselogs.ParseLogsTest.test_parselogs - Testcase 1059: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - scp.ScpTest.test_scp_file - Testcase 220: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED
core-image-sato-1.0-r0 do_testimage_auto: RESULTS - xorg.XorgTest.test_xorg_running - Testcase 1151: PASSED
NOTE: Tasks Summary: Attempted 5732 tasks of which 5717 didn't need to be rerun and all succeeded.
The following changes since commit 186882ca62bf683b93cd7a250963921b89ba071f:
buildhistory: skip tests if GitPython module is missing (2017-06-07 16:00:43 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/hardening-fixes
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/hardening-fixes
Khem Raj (3):
testimage.bbclass: Correct the comment to state right dir for test
cases
pulseaudio: disable PIE flags when hardened flags are enabled
rng-tools: Fix textrels on 32bit x86
meta/classes/testimage.bbclass | 2 +-
.../pulseaudio/pulseaudio_10.0.bb | 2 +
.../rng-tools-5-fix-textrels-on-PIC-x86.patch | 104 +++++++++++++++++++++
meta/recipes-support/rng-tools/rng-tools_5.bb | 1 +
4 files changed, 108 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-support/rng-tools/rng-tools/rng-tools-5-fix-textrels-on-PIC-x86.patch
--
2.13.1
next reply other threads:[~2017-06-09 3:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 3:41 Khem Raj [this message]
2017-06-09 3:41 ` [PATCH 1/3] testimage.bbclass: Correct the comment to state right dir for test cases Khem Raj
2017-06-09 3:41 ` [PATCH 2/3] pulseaudio: disable PIE flags when hardened flags are enabled Khem Raj
2017-06-09 12:55 ` Burton, Ross
2017-06-09 13:07 ` Khem Raj
2017-06-09 14:02 ` André Draszik
2017-06-09 14:07 ` Khem Raj
2017-06-09 16:38 ` Tanu Kaskinen
2017-06-09 17:10 ` Khem Raj
2019-04-22 12:33 ` Tanu Kaskinen
2019-04-22 20:28 ` Khem Raj
2019-04-26 12:53 ` Tanu Kaskinen
2019-04-26 13:52 ` Richard Purdie
2017-06-09 3:41 ` [PATCH 3/3] rng-tools: Fix textrels on 32bit x86 Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1496979431.git.raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox