lkml.org 
[lkml]   [2009]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] basic perf support for sparc
    On Wed, Aug 12 2009, David Miller wrote:
    > From: Jens Axboe <jens.axboe@oracle.com>
    > Date: Thu, 6 Aug 2009 09:02:42 +0200
    >
    > > On Sun, Aug 02 2009, David Miller wrote:
    > >> From: Jens Axboe <jens.axboe@oracle.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.

    No problem, I figured you'd get to it eventually and in the mean time
    I'll just keep patching it in.

    --
    Jens Axboe



    \
     
     \ /
      Last update: 2009-08-12 20:15    [W:0.024 / U:30.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site