Displaying 20 results from an estimated 1200 matches similar to: "[PATCH] tests: simple test for execstack supermin"
2017 Jun 22
2
lld extra program headers
Hello all,
The lld linker appears to generate extra ELF program headers and thus
causes file sizes to be significantly larger than what would get with
ld.gold or ld.bfd.
# readelf -l test.bfd
Elf file type is EXEC (Executable file)
Entry point 0x4000b0
There are 2 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
2009 Aug 05
2
[PATCH] Add a test for an executable stack in libguestfs.so
---
capitests/Makefile.am | 4 ++-
capitests/check-noexec-stack.pl | 58 +++++++++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+), 1 deletions(-)
create mode 100755 capitests/check-noexec-stack.pl
diff --git a/capitests/Makefile.am b/capitests/Makefile.am
index 71928ec..08466ac 100644
--- a/capitests/Makefile.am
+++ b/capitests/Makefile.am
@@ -22,13 +22,15 @@
2020 Jul 25
0
[klibc:master] Kbuild: Fix the compiler execstack option
Commit-ID: 1147f916daac11afee085bd0e94471d9346a0965
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=1147f916daac11afee085bd0e94471d9346a0965
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 25 Jul 2020 20:41:37 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 20:45:29 +0100
[klibc] Kbuild: Fix the compiler
2014 Oct 22
0
[PATCH] tests/regressions: Remove executable stack test.
From: "Richard W.M. Jones" <rjones@redhat.com>
It's not our job to worry about downstream packaging issues ...
---
tests/regressions/Makefile.am | 6 +--
tests/regressions/test-noexec-stack.pl | 84 ----------------------------------
2 files changed, 2 insertions(+), 88 deletions(-)
delete mode 100755 tests/regressions/test-noexec-stack.pl
diff --git
2014 Oct 05
0
[PATCH v5 5/7] tests/regressions: Remove executable stack test.
It's not our job to worry about downstream packaging issues ...
---
generator/tests.ml | 1 -
tests/regressions/Makefile.am | 3 +-
tests/regressions/test-noexec-stack.pl | 78 ----------------------------------
tests/regressions/tests.mk | 3 +-
4 files changed, 2 insertions(+), 83 deletions(-)
delete mode 100755
2015 Aug 06
0
[PATCH v4 05/17] tests/regressions: Remove executable stack test.
It's not our job to worry about downstream packaging issues ...
---
generator/tests.ml | 1 -
tests/regressions/Makefile.am | 3 +-
tests/regressions/test-noexec-stack.pl | 78 ----------------------------------
tests/regressions/tests.mk | 3 +-
4 files changed, 2 insertions(+), 83 deletions(-)
delete mode 100755
2007 May 30
2
Centos 5 OpenVPN / SElinux
Hi,
I'm running Centos 5 32bit and installed openvpn-2.0.9-1.el5.rf from
Dag Wieers Repo. When OpenVPN is started during boot-up it just shows
an SElinux related error message. When I start OpenVPN manually after
the system has come up completely it works fine.
Here are all the messages from /var/log/messages that are SElinux related:
May 28 21:39:15 srsblnfw01 kernel:
2017 Oct 09
4
Understanding of ldd header allocation
Hello,
I am currently switching to ldd from ld.bfd on a cross-platform embedded project and am facing a behaviour difference when using the same linker scripts with ld.bfd and ldd. Could anybody please give me a more reliable direction I should go with to get the same behaviour from both of the linkers?
Target binary format is a 32-bit ELF executable, which is expected to consist of a single RWX
2016 Aug 12
2
How LLD should create segments when linkerscript is used ?
I wonder what is correct way to create PT_LOADs when linkerscript is used ?
Currently we create new one for each section that changes access flags. But ld seems to do different thing.
Imagine we have next sections:
.section .AX.1,"ax"
.quad 1
.section .A.1,"a"
.quad 2
.section .AW.1,"aw"
.quad 3
And script:
SECTIONS {
. = ALIGN(CONSTANT (MAXPAGESIZE));
.AX : {
2007 Feb 18
2
shared klibc broken on x86_64 with binutils >= 2.17.50.0.2
Hello!
I have encountered a problem when building shared klibc with recent
binutils versions - apparently the breakage happened since binutils
2.17.50.0.2 due to the following change:
http://sources.redhat.com/ml/binutils/2006-05/msg00279.html
http://sourceware.org/ml/binutils/2006-05/msg00466.html
--- a/binutils/bfd/elf64-x86-64.c
+++ b/binutils/bfd/elf64-x86-64.c
@@ -3630,7 +3630,8 @@ static
2018 Aug 21
7
[lld] avoid emitting PLT entries for ifuncs
Hello,
We've recently started using ifuncs in the x86(_64) FreeBSD kernel.
Currently lld will emit a PLT entry for each ifunc, so ifunc calls are
more expensive that those of regular functions. In our kernel, this
overhead isn't really necessary: if lld instead emits PC-relative
relocations for each ifunc call site, where each relocation references
a symbol of type GNU_IFUNC, then during
2010 Jul 14
3
sample sleep command killed
I re-wrote the compile script to build klibc (cleaning up how I do it,
and how to find the source tarballs). It seems to be compiling fine.
I tried several of the commands in usr/utils/static and most one.
However, the sleep command fails in a strange way (EINVAL on execve):
================================================================
faraday/phil /home/phil/klibc-project-0 581> strace
2020 Jul 25
0
[klibc:execstack-fixes] s390: Set sa_restorer for signals and disable executable stack
Commit-ID: ed8a58947232eab57ce42219f07ca451dcfdd214
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=ed8a58947232eab57ce42219f07ca451dcfdd214
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 03:38:34 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 17:33:29 +0100
[klibc] s390: Set sa_restorer for
2020 Jul 25
0
[klibc:execstack-fixes] sparc: Set sa_restorer for signals and disable executable stack
Commit-ID: 9370be8552652231e84f8b8424dec81cd8b1b1ab
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=9370be8552652231e84f8b8424dec81cd8b1b1ab
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 13:56:47 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 17:33:29 +0100
[klibc] sparc: Set sa_restorer for
2020 Aug 20
0
[klibc:execstack-fixes] s390: Set sa_restorer for signals and disable executable stack
Commit-ID: 89d59ccf2d6ffede32c32b26eda57c24ec33b275
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=89d59ccf2d6ffede32c32b26eda57c24ec33b275
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 03:38:34 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Thu, 20 Aug 2020 23:21:25 +0100
[klibc] s390: Set sa_restorer for
2020 Aug 20
0
[klibc:execstack-fixes] sparc: Set sa_restorer for signals and disable executable stack
Commit-ID: ba0cf42e26846a1dad444e205932caef78d467ee
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=ba0cf42e26846a1dad444e205932caef78d467ee
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 13:56:47 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Thu, 20 Aug 2020 23:23:04 +0100
[klibc] sparc: Set sa_restorer for
2020 Jul 25
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
Commit-ID: 82da8480ac0d5df8dfcb051c1acd2099463f68d4
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=82da8480ac0d5df8dfcb051c1acd2099463f68d4
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 13:31:32 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 17:33:29 +0100
[klibc] alpha: Set sa_restorer for
2020 Aug 20
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
Commit-ID: 7f84d11885cf3e9298d53a2714800a8ac9c4dd74
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=7f84d11885cf3e9298d53a2714800a8ac9c4dd74
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 13:31:32 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Thu, 20 Aug 2020 23:22:58 +0100
[klibc] alpha: Set sa_restorer for
2020 Feb 06
4
Latest kernel reports "process '/bin/sh' started with executable stack"
With latest kernel (Linus tree as of 5.6 merge window), I get the
following warning in the kernel 'dmesg':
[ 5.746588] process '/bin/sh' started with executable stack
This comes from commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/exec.c?id=47a2ebb7f5053387f5753b524f4920b9b829f922
"execve: warn if process starts with executable
2015 Apr 02
2
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
Hi Pino,
On 04/02/2015 05:23 AM, Pino Toscano wrote:
> Hi Daniel,
>
> On Wednesday 01 April 2015 16:37:26 Daniel Henrique Barboza wrote:
>> The one that got upstream does not work in ibm-powerkvm due to the
>> rpm_is_avaiable verification
>> in the detection (I've attached the wrong version in bugzilla).
> the new version of the patch is somehow confusing.