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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXPTheJU_+GKHkDu2b0WrV_4oJJbM+pWY3uprh6fX7cSw@mail.gmail.com>
Date:	Mon, 21 Nov 2011 11:25:46 +0800
From:	Cong Wang <xiyou.wangcong@...il.com>
To:	Xin Tong <xerox.time.tech@...il.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Running Application Inside Application

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
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.
--
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