Received: by 10.223.164.202 with SMTP id h10csp408003wrb; Thu, 30 Nov 2017 12:22:15 -0800 (PST) X-Google-Smtp-Source: AGs4zMat6d6MNuhxbYkG8AD8bPOWd7zGQGqLH+2RAoEoJwwW/8C33DO6DFR0N58H7/fWZK7ybypi X-Received: by 10.99.127.25 with SMTP id a25mr3465272pgd.10.1512073335548; Thu, 30 Nov 2017 12:22:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512073335; cv=none; d=google.com; s=arc-20160816; b=LZXIzcxYrSrkrPShB36ETxUiv3/Lvc0DaodUkHejc6Bhz5AhpCUuP+dRwtaYv34t3u YTxDF0SQHh0opNLYNQVccOCjGconWgf+XGRUsDgFtQNw9sLa593L+j4f0VgCKgXsIQxb GUTOS6KCzae+gtYYHdGqmzD4WoalmIOTXkVw/f1gu7eEtTw0xmSTnBae68lnw69x7dNp UjxudvuP0LkCfJlCukS9zgiYDEsDLTGfRmnzGJGVGj5YbsglrVCiK4Wd4D8N+tUzElcY WKnJuiYb4YMMe0CCFaC+cmoy1qAmRoqVszQOcvIHINSR3+IS/cfK75aoq8zBsrOpE6z7 REkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=goL+6St88JJ88+5QqE5az+ZvGW6AqrWpuYnMt0HrKzM=; b=lljs/pqUMRUimUUBBN1j9v3pp5Ab+hzXEMMEEfXsfsAzay1PGuLx39wgTEDf/PHyha sGBdJjvdzPidDu+mOk0bjprKC4krbOKtnkV5mD5+iS7nOJTUfJTdfjwsJm+LjuuWyE28 D45YgWpubbPYd0RON2WQU+RA/PF6oUD5IvEi4uQyo8kt1YTTtA8zHhJs20KOYVffAmhx QPEQiEC+L5mD+ruE8Kjsyqz23AZqXKq53UwxKu4JaZ8jcP6DNrfT4bfNc3iDTeJQjLWn S91akYcr9Wb85wIzDuX96egR+fKRRASkM5VZDKPHGJteIaq6cnA1+ojaZTHpP5Op0Q/8 HI5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=JmUkTWmZ; 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 3si3491310pgi.649.2017.11.30.12.22.02; Thu, 30 Nov 2017 12:22:15 -0800 (PST) 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; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=JmUkTWmZ; 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 S1751415AbdK3UVu (ORCPT + 99 others); Thu, 30 Nov 2017 15:21:50 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:43844 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750761AbdK3UVt (ORCPT ); Thu, 30 Nov 2017 15:21:49 -0500 Received: by mail-lf0-f68.google.com with SMTP id 94so9300956lfy.10 for ; Thu, 30 Nov 2017 12:21:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=goL+6St88JJ88+5QqE5az+ZvGW6AqrWpuYnMt0HrKzM=; b=JmUkTWmZvvxQudmDq8p9DacnGq4vUnQ957PQ8/IE9etL6xuoOJOHxM4/FWVXfArH+g RaBjgsgKDFChmN4Q2vLQj7ZXd13r9yVJoIMSmEez3ADNwuEeMgTd81aMnBwEwUqlp0LW x/a3IhzRioI1WSkRz6mZzdi2bHGaITOLH5ar4tbRUTM6FFjbbfmVpgQ6rCFL58Zs4YBj HqvPiKEmUrKcB0+3Xm1/DAZ0jpYeFc0hkehrBPpQbRJK7ZNDL6VisGw20YtVgdOuhg9m 5Y4ZiY7ernmGz/kQG7CpU8rLqZ1bcxD3paqOuhnd78DCB/ipVZwdTSip7fuagLtQbnAo qthw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=goL+6St88JJ88+5QqE5az+ZvGW6AqrWpuYnMt0HrKzM=; b=bprBW0hcRZU8AG1NWhkom/u9cXkxoFuF5UHXj9UqRDPFTrgHO8EX54Qvp5bM6g9Xp2 sxc7xrs7igWWzOmkSieLfp+izkM6S3ErKdI3KnbZ6fDkDXzMZfbbT5br4WCY5+m5MOnc drX6ugRui2Ko9AMOuUU65i/ClpxIGvKOv4DzcVunotpOImPNdyJgvxiI1l6n89fr/ErU oKgvRLtYIWNithZneEFeDuM4WTOeBoS3Y5hNBKPb5nRcZX1Z9blg16xnx8o0iOFNLOpJ rrl5vCxqbfroml+qp0aYWivHViZQiyUjmasTGPyliKVcpIqpK1Ou+IHOIFF2ELm6Dnvo 6b4Q== X-Gm-Message-State: AJaThX4VOjFr4DjxCpRtOO52g38qvl25yjgTpbXFQ4O3ZJ6iB5CBNBII lqEPDCHBQUYTPewcOxr7ypZU6hnOASiuS2p1342rtg== X-Received: by 10.46.2.87 with SMTP id 84mr3639468ljc.0.1512073307486; Thu, 30 Nov 2017 12:21:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.221.196 with HTTP; Thu, 30 Nov 2017 12:21:46 -0800 (PST) X-Originating-IP: [209.133.79.7] In-Reply-To: References: <20171130183032.GA28365@infradead.org> From: Olof Johansson Date: Thu, 30 Nov 2017 12:21:46 -0800 Message-ID: Subject: Re: [patches] Re: [PATCH 08/10] RISC-V: Set __ARCH_WANT_RENAMEAT to pick up generic version To: Palmer Dabbelt Cc: Christoph Hellwig , Albert Ou , patches@groups.riscv.org, "linux-kernel@vger.kernel.org" , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 30, 2017 at 10:38 AM, Palmer Dabbelt wrote: > On Thu, 30 Nov 2017 10:30:32 PST (-0800), Christoph Hellwig wrote: >> >> On Wed, Nov 29, 2017 at 05:55:19PM -0800, Olof Johansson wrote: >>> >>> In file included from ../lib/audit.c:8:0: >>> ../include/asm-generic/audit_dir_write.h:30:1: error: '__NR_renameat' >>> undeclared here (not in a function); did you mean '__NR_renameat2'? >> >> >> >> I think the audit code should be fixed instead to not expect >> __NR_renameat, g=D1=96ven that it's not in the asm-generic default set. Fair enough. > For some reason I thought we'd decided to keep renameat in our port despi= te > it no longer being in the default list so we could maintain some backward= s > compatibility, but after looking through my email it looks like I was wro= ng > about that. > > I'm just going to drop this patch for now. I haven't tried it, but I thi= nk > this might just do the trick? Seems reasonable to me. > > diff --git a/include/asm-generic/audit_dir_write.h > b/include/asm-generic/audit_dir_write.h > index da09fb986459..dd5a9dd7a102 100644 > --- a/include/asm-generic/audit_dir_write.h > +++ b/include/asm-generic/audit_dir_write.h > @@ -27,7 +27,9 @@ __NR_mknod, > __NR_mkdirat, > __NR_mknodat, > __NR_unlinkat, > +#ifdef __NR_renameat > __NR_renameat, > +#endif > __NR_linkat, > __NR_symlinkat, > #endif From 1585517391790378794@xxx Thu Nov 30 18:40:14 +0000 2017 X-GM-THRID: 1585454308346436918 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread