* chstk - URL?
@ 2003-10-01 9:19 Catalin BOIE
2003-10-01 9:25 ` Catalin BOIE
0 siblings, 1 reply; 3+ messages in thread
From: Catalin BOIE @ 2003-10-01 9:19 UTC (permalink / raw)
To: linux-kernel
Hi list, Ingo!
Where I can find the modified (by Info) chstk.c?
Thanks!
---
Catalin(ux) BOIE
catab@deuroconsult.ro
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: chstk - URL?
2003-10-01 9:19 chstk - URL? Catalin BOIE
@ 2003-10-01 9:25 ` Catalin BOIE
2003-10-01 16:16 ` Ingo Molnar
0 siblings, 1 reply; 3+ messages in thread
From: Catalin BOIE @ 2003-10-01 9:25 UTC (permalink / raw)
To: linux-kernel
> Hi list, Ingo!
>
> Where I can find the modified (by Info) chstk.c?
> Thanks!
I take a closer look at Ingo's announce and I see that chstk is obsolete.
I use kernel 2.6.0-test6-mm1 with ecec-shield and X gives me sig 11.
A program must be compiled with new gcc to work with exec-shield and
without chstk?
Thank you for your time.
>
> ---
> Catalin(ux) BOIE
> catab@deuroconsult.ro
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
---
Catalin(ux) BOIE
catab@deuroconsult.ro
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: chstk - URL?
2003-10-01 9:25 ` Catalin BOIE
@ 2003-10-01 16:16 ` Ingo Molnar
0 siblings, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2003-10-01 16:16 UTC (permalink / raw)
To: Catalin BOIE; +Cc: linux-kernel
On Wed, 1 Oct 2003, Catalin BOIE wrote:
> I use kernel 2.6.0-test6-mm1 with ecec-shield and X gives me sig 11.
for security reasons it's not possible to disable exec-shield for setuid
root processes (such as X). So the solution either to upgrade X to have
the fix or to switch off exec-shield when you start up X, and switch on
exec-shield afterwards. A bit painful the later method ...
(alternatively you can also disable the setuid-root protection in the
kernel, remove the two 'current->personality = PER_LINUX' lines from
fs/exec.c and recompile the kernel.)
> A program must be compiled with new gcc to work with exec-shield and
> without chstk?
no. The X segmenation fault is because the X module loader malloc()s
buffers for code and expects them to be executable. Those buffers were
non-executable on other architectures already, so the fix is really simple
- a oneliner #ifdef or so.
Ingo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-01 16:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 9:19 chstk - URL? Catalin BOIE
2003-10-01 9:25 ` Catalin BOIE
2003-10-01 16:16 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).