[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU437-SMTP63A0F14D55020B3B3489E4B9D90@phx.gbl>
Date: Wed, 13 May 2015 08:55:54 +0800
From: Chen Gang <xili_gchen_5257@...mail.com>
To: Dave Jones <davej@...emonkey.org.uk>,
Michael Cree <mcree@...on.net.nz>, rth@...ddle.net,
ink@...assic.park.msu.ru,
"mattst88@...il.com" <mattst88@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-alpha@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] alpha: Wire up missing syscalls
On 05/12/2015 10:29 PM, Dave Jones wrote:
> On Tue, May 12, 2015 at 08:59:52PM +1200, Michael Cree wrote:
> > On Sun, May 10, 2015 at 02:33:36AM +0800, Chen Gang wrote:
> > > The related warnings:
> > >
> > > CALL scripts/checksyscalls.sh
> > > <stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
> > > <stdin>:1241:2: warning: #warning syscall getrandom not implemented [-Wcpp]
> > > <stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
> > > <stdin>:1247:2: warning: #warning syscall bpf not implemented [-Wcpp]
> > > <stdin>:1250:2: warning: #warning syscall execveat not implemented [-Wcpp]
> >
> > Chen: Have you tested the syscalls you have wired up?
> >
> > I have a suspicion that more is required to wire up the seccomp
> > syscall.
>
> likewise sys_bpf judging by the absence of bpf_int_jit_compile and friends in arch/alpha
> The weak symbols mean it probably compiles/links, but it doesn't actually do
> anything, and now instead of -ENOSYS, anyone trying to actually use that syscall
> on alpha will get weird results.
>
> Shutting up warnings like this strikes me as the wrong thing to do.
>
It sounds reasonable. For me, we need to wire up implemented syscalls,
and still left the unimplemented syscalls as building warnings.
If no any additional reply, I shall try to send patch v2 for it within
this week (2015-05-17).
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
--
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