Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4854397ybi; Tue, 28 May 2019 03:41:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAJKyYP4iX4so+CK4/gvtB2CZfXBey+YCXX8Ge/eiw1cPGvrGY3wVIWP2iDLQ2oVavno4B X-Received: by 2002:a63:e250:: with SMTP id y16mr5151508pgj.392.1559040102581; Tue, 28 May 2019 03:41:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559040102; cv=none; d=google.com; s=arc-20160816; b=h//b1J7v09Er23NJ9T/yKZMZWWh0fTpWX1tHUuSBBttTUrfBU+nWgoPDXy+vxKFguA VT5shkyfOMnRS1dYMxVZN1tIEb/LKGd69NJJ1GsgV4ux8Jj+GTfmGxw8Xye/an7aNfQA 7AdV8O5wXV01LRi9MB31dl/z0i+YJqWkDPEF7XkxUXJJTq7UKA/owCfiKbFuET2KS20x VdktxIZkg3qMAZ0asNbWu4PjqIhH0h3ITDjDn7KFE230pzg/WG/vTih4N2+DMjqCzcHa FDXW3wRaPS95qByZt64ETZPdXjieX15vSouHmHUwFedyAe0Ok8gqrIms1hgWhlBGLItW 9D6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=CM619/WfaSCPpbpckFcdviuZ5C7fb++k2A0PFBBr5OQ=; b=H5FrVf2XE/tEsk6d0TU5nvmZD5TBnJLwCRuL+HveAdUacKN82DmvzPYSyYbqa+lxBT R9LZU7DcLbH8tP8tLjt8Rrw9+UNezbAquPEJtyyZg0SOpD7xfIBHIXPMr6WaFOImbZqk h25ququPdHaW5Sd/sAt4WGuh4A2xetLrV3++SAu7hAFbpgmcIk3FRHL6znXh/bXWZWDJ ODdkIdy8XEO+M+S1I/maBHcWW3GATATea0IpfZA+majW6fUsAivlsANEO1M1pVTYUyi2 bgDg8Se8K4ulqu8ITa3KZw/rGjAZ4SuMFZ4Lw0C3IUIH6KyypHXLU9gV6hyZLLf7gzlC bY2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 102si7031739plf.250.2019.05.28.03.41.27; Tue, 28 May 2019 03:41:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726711AbfE1KkW (ORCPT + 99 others); Tue, 28 May 2019 06:40:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:40240 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726334AbfE1KkV (ORCPT ); Tue, 28 May 2019 06:40:21 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 06D2BAF2B; Tue, 28 May 2019 10:40:18 +0000 (UTC) Date: Tue, 28 May 2019 12:40:18 +0200 From: Cyril Hrubis To: Andreas Schwab Cc: lkml , linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, Michal Simek , linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org Subject: Re: [PATCH] [RFC] Remove bdflush syscall stub Message-ID: <20190528104017.GA11969@rei> References: <20190528101012.11402-1-chrubis@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > I've tested the patch on i386. Before the patch calling bdflush() with > > attempt to tune a variable returned 0 and after the patch the syscall > > fails with EINVAL. > > Should be ENOSYS, doesn't it? My bad, the LTP syscall wrapper handles ENOSYS and produces skipped results based on that. EINVAL is what you get for not yet implemented syscalls, i.e. new syscall on old kernel. -- Cyril Hrubis chrubis@suse.cz