From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752776AbdJTI52 (ORCPT ); Fri, 20 Oct 2017 04:57:28 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50644 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752522AbdJTI50 (ORCPT ); Fri, 20 Oct 2017 04:57:26 -0400 X-Google-Smtp-Source: ABhQp+QEAvBLiIi8CyNrcZRbusvq8JVQEDAUSaXs6NG8QNGaW6h4LnNg5kiy6lL+O+uIyFNX+oUqPA== Date: Fri, 20 Oct 2017 10:57:22 +0200 From: Ingo Molnar To: Masami Hiramatsu Cc: Linus Torvalds , Peter Zijlstra , Alexei Starovoitov , Ananth N Mavinakayanahalli , "Paul E . McKenney" , Steven Rostedt , Thomas Gleixner , LKML , "H . Peter Anvin" , Anil S Keshavamurthy , "David S . Miller" , Kees Cook , Ian McDonald , Vlad Yasevich , Stephen Hemminger Subject: Re: [RFC PATCH -tip 1/5] kprobes: Use ENOTSUPP instead of ENOSYS Message-ID: <20171020085722.n422sxot6k7kipjy@gmail.com> References: <150724519527.5014.10207042218696587159.stgit@devbox> <150724523678.5014.7179010055808035742.stgit@devbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150724523678.5014.7179010055808035742.stgit@devbox> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Masami Hiramatsu wrote: > Use ENOTSUPP instead of ENOSYS because ENOSYS is reserved > only for invalid syscall number. Is this actually true? We use -ENOSYS in a ton of code in kernel/ already, not just for non-existing syscall number. Ingo