lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1321873552.22548.63.camel@thorin>
Date:	Mon, 21 Nov 2011 12:05:51 +0100
From:	Bernd Petrovitsch <bernd@...rovitsch.priv.at>
To:	Cong Wang <xiyou.wangcong@...il.com>
Cc:	Xin Tong <xerox.time.tech@...il.com>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Running Application Inside Application

On Mon, 2011-11-21 at 11:25 +0800, Cong Wang wrote:
> On Mon, Nov 21, 2011 at 10:18 AM, Xin Tong <xerox.time.tech@...il.com> wrote:
> > I have applications that do not install signal handlers I need it to
> > install. Therefore, I am thinking about having a light-weight run-time
> > to load the application ELF file and install the needed signal handler
> > in the run-time ? Is this doable ? What if it is not ELF-encoded ?
> 
> If you want to exec*() to load the ELF, no, the signal handlers will be

It is in general so - not only für ELF.

> cleared after exec*(), as the entire .text will be replaced by the new ELF file.
> 
> So, you probably have to parse and load the ELF file by yourself.

Hmmm, if these (obviously broken) applications use dynamic linking, one
could probably use a preload library.
Never tried that though .....

	Bernd
-- 
Bernd Petrovitsch                  Email : bernd@...rovitsch.priv.at
                     LUGA : http://www.luga.at

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ