From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: Re: [PATCH] alpha: Wire up missing syscalls Date: Tue, 12 May 2015 19:40:36 +0800 Message-ID: References: <20150512085952.GC5711@tower> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20150512085952.GC5711@tower> Sender: linux-alpha-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="windows-1252" To: Michael Cree , rth@twiddle.net, ink@jurassic.park.msu.ru, "mattst88@gmail.com" , Greg Kroah-Hartman , linux-alpha@vger.kernel.org, "linux-kernel@vger.kernel.org" On 05/12/2015 04:59 PM, Michael Cree wrote: > On Sun, May 10, 2015 at 02:33:36AM +0800, Chen Gang wrote: >> The related warnings: >> >> CALL scripts/checksyscalls.sh >> :1238:2: warning: #warning syscall seccomp not implemented = [-Wcpp] >> :1241:2: warning: #warning syscall getrandom not implemente= d [-Wcpp] >> :1244:2: warning: #warning syscall memfd_create not impleme= nted [-Wcpp] >> :1247:2: warning: #warning syscall bpf not implemented [-Wc= pp] >> :1250:2: warning: #warning syscall execveat not implemented= [-Wcpp] >=20 > Chen: Have you tested the syscalls you have wired up? >=20 Sorry, no, I didn't. > I have a suspicion that more is required to wire up the seccomp > syscall. At least some of the other older architectures had to > implement some extra arch dependent support to implement the seccomp > syscall. I don't know whether this is necessary or not on Alpha so > was wondering if this has been considered? >=20 At present, I guess (I did not test), it will lead to sys_ni_call(), so it is really only "wire up". > Matt: are you still feeding Alpha patches to Linus? I suspect there > might be a few other patches other than this one submitted to > linux-alpha that should be applied. >=20 I found another issue when building alpha, I guess, it is valuable to b= e fixed (or there was already related patch but did not submitted?): arch/alpha/kernel/osf_sys.c: In function =91SyS_osf_settimeofday=92: arch/alpha/kernel/osf_sys.c:1028:14: warning: =91kts.tv_nsec=92 may b= e used uninitialized in this function [-Wmaybe-uninitialized] kts.tv_nsec *=3D 1000; ^ arch/alpha/kernel/osf_sys.c:1016:18: note: =91kts=92 was declared her= e struct timespec kts; ^ Thanks. --=20 Chen Gang Open, share, and attitude like air, water, and life which God blessed -- To unsubscribe from this list: send the line "unsubscribe linux-alpha" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html