Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240112185713.GQ1427497@port70.net>
Date: Fri, 12 Jan 2024 19:57:13 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: Cody Wetzel <codyawetzel@...il.com>
Cc: Natanael Copa <ncopa@...inelinux.org>, musl@...ts.openwall.com,
	Markus Wichmann <nullplan@....net>
Subject: Re: Segmentation fault musl 1.2.4

* Cody Wetzel <codyawetzel@...il.com> [2024-01-11 12:19:16 -0600]:
> Sorry, I'm definitely not that well versed in linux.  I received the
> following...
> 
> / # /tmp/ld-musl-armhf.so.1 /usr/bin/gdb --args ls -l /tmp
> > GNU gdb (GDB) 12.1
> > Copyright (C) 2022 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later <
> > http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
> > Type "show copying" and "show warranty" for details.
> > This GDB was configured as "armv7-alpine-linux-musleabihf".
> > Type "show configuration" for configuration details.
> > For bug reporting instructions, please see:
> > <https://www.gnu.org/software/gdb/bugs/>.
> > Find the GDB manual and other documentation resources online at:
> >     <http://www.gnu.org/software/gdb/documentation/>.
> >
> > For help, type "help".
> > Type "apropos word" to search for commands related to "word"...
> > Reading symbols from ls...
> > (No debugging symbols found in ls)
> > (gdb) run
> > Starting program: /bin/ls -l /tmp
> > warning: Error disabling address space randomization: Operation not
> > permitted
> > warning: Could not trace the inferior process.
> > warning: ptrace: Operation not permitted
> > warning: Error restoring address space randomization: Operation not
> > permitted
> > During startup program exited with code 127.

use a container that's not restricted e.g.

docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined

(i found this with 2min web search)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.