public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [patch] exec-shield-nx-2.6.9-A1
@ 2004-10-17 20:11 Albert Cahalan
  2004-10-17 20:30 ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: Albert Cahalan @ 2004-10-17 20:11 UTC (permalink / raw)
  To: linux-kernel mailing list; +Cc: mingo

You have some bits in this patch that don't belong.
They aren't even conditional on a config option or
sysctl value.

First, you change the permission on the /proc/*/maps file.
Normally a remote attacker is unable to read this anyway,
and a local setuid attack has time to try until success.
Changing the permission might be a good idea, mostly
because it exposes filenames, but it should be a separate
patch.

Second, you restrict wchan. Oddly, you don't allow for
the target task's euid to play a role, and you chose the
CAP_SYS_NICE bit instead of some other bit. Huh? One might
guess from CAP_SYS_NICE that the feature has now become
hopelessly slow. Same as with the maps file, this should
be a separate patch.





^ permalink raw reply	[flat|nested] 5+ messages in thread
* [patch] exec-shield-nx-2.6.9-A1
@ 2004-10-17  9:53 Ingo Molnar
  2004-10-20 17:23 ` Sami Farin
  0 siblings, 1 reply; 5+ messages in thread
From: Ingo Molnar @ 2004-10-17  9:53 UTC (permalink / raw)
  To: linux-kernel


i've released the latest exec-shield patch:

   http://redhat.com/~mingo/exec-shield/exec-shield-nx-2.6.9-A1

this is a merge of the exec-shield patches used in FC2/FC3 to mainline.
(The patch is smaller than earlier exec-shield patches or the 2.4 patch
because a sub-functionality related to exec-shield (flexmmap) got merged
to 2.6.9.)

This version of exec-shield makes use of NX too, if available (and PAE),
and falls back to the segment-limit method on CPUs that have no NX.

	Ingo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-20 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-17 20:11 [patch] exec-shield-nx-2.6.9-A1 Albert Cahalan
2004-10-17 20:30 ` Ingo Molnar
2004-10-17 23:08   ` Albert Cahalan
  -- strict thread matches above, loose matches on Subject: below --
2004-10-17  9:53 Ingo Molnar
2004-10-20 17:23 ` Sami Farin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox