From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751204AbaHaIxd (ORCPT ); Sun, 31 Aug 2014 04:53:33 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:44708 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750855AbaHaIxa (ORCPT ); Sun, 31 Aug 2014 04:53:30 -0400 MIME-Version: 1.0 In-Reply-To: <1409369788-22563-1-git-send-email-bobby.prani@gmail.com> References: <1409369788-22563-1-git-send-email-bobby.prani@gmail.com> Date: Sun, 31 Aug 2014 10:53:28 +0200 X-Google-Sender-Auth: DqqGoydFvRsUI-IokB_1H3LTwGw Message-ID: Subject: Re: [RFC PATCH] powerpc: Wire up three syscalls From: Geert Uytterhoeven To: Pranith Kumar Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Anton Blanchard , Fabian Frederick , Andrew Morton , "open list:LINUX FOR POWERPC..." , open list Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pranith, On Sat, Aug 30, 2014 at 5:36 AM, Pranith Kumar wrote: > I see that the three syscalls seccomp, getrandom and memfd_create are not wired > because of which we get a warning while compilation. > > So I wired them up in this patch. What else needs to be done? I tried the > memfd_test after compiling this kernel, but it is failing. What am I missing for > this to work? Any advice is really appreciated! :) Did it fail due to the (silly) "ifeq ($(ARCH),X86)" checks in tools/testing/selftests/memfd/Makefile? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id C85261A0029 for ; Sun, 31 Aug 2014 18:53:33 +1000 (EST) Received: by mail-lb0-f175.google.com with SMTP id u10so4454005lbd.6 for ; Sun, 31 Aug 2014 01:53:28 -0700 (PDT) MIME-Version: 1.0 Sender: geert.uytterhoeven@gmail.com In-Reply-To: <1409369788-22563-1-git-send-email-bobby.prani@gmail.com> References: <1409369788-22563-1-git-send-email-bobby.prani@gmail.com> Date: Sun, 31 Aug 2014 10:53:28 +0200 Message-ID: Subject: Re: [RFC PATCH] powerpc: Wire up three syscalls From: Geert Uytterhoeven To: Pranith Kumar Content-Type: text/plain; charset=UTF-8 Cc: open list , Fabian Frederick , Paul Mackerras , Anton Blanchard , Andrew Morton , "open list:LINUX FOR POWERPC..." List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Pranith, On Sat, Aug 30, 2014 at 5:36 AM, Pranith Kumar wrote: > I see that the three syscalls seccomp, getrandom and memfd_create are not wired > because of which we get a warning while compilation. > > So I wired them up in this patch. What else needs to be done? I tried the > memfd_test after compiling this kernel, but it is failing. What am I missing for > this to work? Any advice is really appreciated! :) Did it fail due to the (silly) "ifeq ($(ARCH),X86)" checks in tools/testing/selftests/memfd/Makefile? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds