Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753133AbaGTPuJ (ORCPT ); Sun, 20 Jul 2014 11:50:09 -0400 Received: from mga14.intel.com ([192.55.52.115]:1304 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752191AbaGTPuH (ORCPT ); Sun, 20 Jul 2014 11:50:07 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,695,1400050800"; d="scan'208";a="564602044" From: Andi Kleen To: "Theodore Ts'o" Cc: linux-kernel@vger.kernel.org, linux-abi@vger.kernel.org, linux-crypto@vger.kernel.org, beck@openbsd.org Subject: Re: [PATCH, RFC] random: introduce getrandom(2) system call References: <1405588695-12014-1-git-send-email-tytso@mit.edu> Date: Sun, 20 Jul 2014 08:50:06 -0700 In-Reply-To: <1405588695-12014-1-git-send-email-tytso@mit.edu> (Theodore Ts'o's message of "Thu, 17 Jul 2014 05:18:15 -0400") Message-ID: <871ttg3u8h.fsf@tassilo.jf.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Theodore Ts'o writes: > > #undef __NR_syscalls > -#define __NR_syscalls 277 > +#define __NR_syscalls 278 You need to add the syscall to kernel/sys_ni.c too, otherwise it will be impossible to build without random device. -Andi -- ak@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/