[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090812.110646.239052896.davem@davemloft.net>
Date: Wed, 12 Aug 2009 11:06:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jens.axboe@...cle.com
Cc: linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl,
fweisbec@...il.com, mingo@...e.hu
Subject: Re: [PATCH] basic perf support for sparc
From: Jens Axboe <jens.axboe@...cle.com>
Date: Thu, 6 Aug 2009 09:02:42 +0200
> On Sun, Aug 02 2009, David Miller wrote:
>> From: Jens Axboe <jens.axboe@...cle.com>
>> Date: Wed, 29 Jul 2009 13:25:10 +0200
>>
>> > -#define NR_SYSCALLS 327
>> > +#define NR_SYSCALLS 328
>>
>> When you increase this value, you have to add entries to all of the
>> syscall tables. The syscall dispatch checks against this as a limit,
>> so if you don't explicitly add an entry to all the tables, it's
>> possible to deref garbage past the end of the table and try to jump to
>> it as a syscall.
>
> Oops, missed the 32-bit table. Does the below look better?
I'll take a look at this as soon as I can Jens, sorry for taking
so long.
--
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