Re: [2.6.25] compat VDSO option not disabling

From: Gerhard Mack
Date: Sat Apr 26 2008 - 12:15:27 EST


I havn't enabled compat VDSO at the kernel command line or otherwise.
Something broke with this option.

Gerhard


On Fri, 25 Apr 2008, Jiri Kosina wrote:

> Date: Fri, 25 Apr 2008 16:33:48 +0200 (CEST)
> From: Jiri Kosina <jkosina@xxxxxxx>
> To: Gerhard Mack <gmack@xxxxxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [2.6.25] compat VDSO option not disabling
>
> On Thu, 24 Apr 2008, Gerhard Mack wrote:
>
> > On my laptop I disabled the compat vdso option but it is till being
> > mapped.. Any ideas?
>
> The changelog of the commit below explains that.
>
> commit 1dbf527c51c6c20c19869c8125cb5b87c3d09506
> Author: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
> Date: Wed May 2 19:27:12 2007 +0200
>
> [PATCH] i386: Make COMPAT_VDSO runtime selectable.
>
> Now that relocation of the VDSO for COMPAT_VDSO users is done at
> runtime rather than compile time, it is possible to enable/disable
> compat mode at runtime.
>
> This patch allows you to enable COMPAT_VDSO mode with "vdso=2" on the
> kernel command line, or via sysctl. (Switching on a running system
> shouldn't be done lightly; any process which was relying on the compat
> VDSO will be upset if it goes away.)
>
> The COMPAT_VDSO config option still exists, but if enabled it just
> makes vdso_enabled default to VDSO_COMPAT.
>
>

--
Gerhard Mack

gmack@xxxxxxxxxxxxx

<>< As a computer I find your faith in technology amusing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/