Re: [PATCH][2.4.21-pre6] update x86_64 for kernel_thread change

Andi Kleen (ak@suse.de)
02 Apr 2003 22:00:09 +0200


On Wed, 2003-04-02 at 21:48, mikpe@csd.uu.se wrote:
> Andi Kleen writes:
> > On Wed, 2003-04-02 at 21:18, Mikael Pettersson wrote:
> > > Building an x86_64 kernel from 2.4.21-pre6 results in two linkage
> > > errors due to the recent kernel_thread to arch_kernel_thread name change.
> > > This patch updates x86_64 for that change.
> >
> > You need more changes to fix the ptrace hole completely.
>
> More generic fixes or more x86_64-specific fixes?

x86-64 specific fixes. It was not calling the ptrace permission checking
functions correctly. Also the 32bit ptrace emulation had another
security hole.

See the changelog for arch/x86_64/kernel/ptrace.c and
arch/x86_64/ia32/ptrace32.c in x86-64.org CVS

-Andi

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