From: Dave Jones <davej@redhat.com>
To: Markos Chandras <Markos.Chandras@imgtec.com>
Cc: trinity@vger.kernel.org
Subject: Re: [PATCH] syscall: Take SYSCALL_OFFSET into account
Date: Thu, 15 May 2014 11:23:05 -0400 [thread overview]
Message-ID: <20140515152305.GA32618@redhat.com> (raw)
In-Reply-To: <53747A20.1020305@imgtec.com>
On Thu, May 15, 2014 at 09:26:08AM +0100, Markos Chandras wrote:
> > I'm wondering if just removing those lines I just quoted would be
> > the right thing to do (after applying your patch).
> >
>
> Removing these four lines may work but it will break the following:
>
> 209 output(1, "%s (%d) returned ENOSYS, marking as
> inactive.\n",
> 210 entry->name, call);
>
> 'call' will have the syscall (shm->syscall[childno].nr) number without
> the offset which will simply print the wrong syscall number for mips and
> ia64.
You're right. I just fixed this up in git after removing those other
lines yesterday.
> I am not that familiar with the code yet to be able to tell whether the
> 'search_syscall_table' or 'deactivate_syscall' functions need the offset
> as well or not.
They should be safe, as they use/return the number as index into the tables
we constructed. But shout if something looks odd, and I'll look into it.
Dave
prev parent reply other threads:[~2014-05-15 15:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 11:35 [PATCH] syscall: Take SYSCALL_OFFSET into account Markos Chandras
2014-05-14 15:22 ` Dave Jones
2014-05-15 8:26 ` Markos Chandras
2014-05-15 15:23 ` Dave Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140515152305.GA32618@redhat.com \
--to=davej@redhat.com \
--cc=Markos.Chandras@imgtec.com \
--cc=trinity@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.