Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3543055pxu; Mon, 30 Nov 2020 05:32:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0J+XhrnhSpR0N3Diezt1x0J126dDmi+DdVcPCUBWBDIE2SORgiyMN+N4IZelFyIUXfuIZ X-Received: by 2002:a17:906:fa8b:: with SMTP id lt11mr15969542ejb.94.1606743137016; Mon, 30 Nov 2020 05:32:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606743137; cv=none; d=google.com; s=arc-20160816; b=qapLmhcRymKjT7hQ8YBPGeOeNljiXgQncVaN+lYdSsl4MfD8K1dvDGQJR7bIfuxiHG TIhQWolrj0Lx5a1YROTG2CkIsQvv2Y+IiQ/jl7BO/6YQA3F2VcHecGPTpyMbwnEXEDKg KRAUQMhGz2NjIva1hrMo4s8kLgsVy9RmXMo70JmgxPfpQW5iyocyXZfYKQ+LjdOUydiQ h/m/4LYkD46B2BsBjbQH9Gq+h0jDo4Z8Do0XTB3Ccd5LMbZLcUvtJelqDB30vT4sgEyi ZR0DOG9QinaepNGo7EZ4GG3vt2M0Ix97Nl+qjC5zgZD9xpzSN5VqtVi1AOGCMAHbLv2n PHmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tBT7i6z15AksCajz/wH/sGCs7nhPwPYnnS6VEGnjqwc=; b=GuKEvuYoMo8Rj3SnV/DJeiU/9Kxf5khTFo5/CVnsDwHq2oMO3ri5NXpEFt1vHpXSTd l1GDdUfB8wprucpTQMEI7ulbBV2m9LX+J2TzZ3oAD4DJzzMvY5l1pl05HuHQXzOBCA6M lhY61yHMtQ1u/v5WCOk6xdfvA62vStljjgv5mejes5R2pz1E/WnVpg1KdyD9Oo/N55NJ jN4CLdE/dOuGK9nxCIUKFE0GBjFLaCsPwQb4GeYpxf0HgY6OCBlB2pCdA6B0yD/PdNU/ gUTJyCUmY43xOQusc9MaICrrCs/zAS37hX5RS80WRBSOcxc2lQ/Ckcrl3OcUqRCYW5hP 9oRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pq4W7wie; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt1si2600164ejc.558.2020.11.30.05.31.50; Mon, 30 Nov 2020 05:32:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pq4W7wie; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbgK3N2r (ORCPT + 99 others); Mon, 30 Nov 2020 08:28:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725859AbgK3N2r (ORCPT ); Mon, 30 Nov 2020 08:28:47 -0500 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD13AC0613D2 for ; Mon, 30 Nov 2020 05:28:06 -0800 (PST) Received: by mail-pl1-x641.google.com with SMTP id x4so4742940pln.8 for ; Mon, 30 Nov 2020 05:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=tBT7i6z15AksCajz/wH/sGCs7nhPwPYnnS6VEGnjqwc=; b=Pq4W7wieVh9/9VBzkgb3rAk5lf5CKX7zOP+rb4tkV88PXU86gf55qRklf2ypKpH9Pb cOcYNnDuhIEPL9JCGHhc4U1Y1WiA1kUrhOFv6xkN0iF2ze4kSgzg/2z2VrWGclE5k2bI jB6tZjcYreCS8cq2BHsHYXBtjJwN3Qvycjs9F2aqdQf3FNtBgreDgHetPAQ7YmCKjEoU ygBeH6/gdR3Ee5dvEjyyLBMye8kQgvfuZ786CNTSL49FwcydwIBH9+9xskLdMA2H81Wh vUP3LgpiReWPOc3p0trL9Rk0/BpB5NwTyimr9TKHK9jZCnbtlPlZefONM81L4xe6hrV8 WjVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=tBT7i6z15AksCajz/wH/sGCs7nhPwPYnnS6VEGnjqwc=; b=PasFoKn6uDnOt97Olt7zu0M6XlgFwKChVEjj667DbYYZ10r9kwQFdsT3+bmuOiKVVd 0YOEIjd4ZKPql3unj7zksDHK7WmvaEDyghS3QDQ+jkrDo22wVVM6fVgT/4wCw9XG0OeA 7PCpalUuXoIBkaFHdrNeZx8Y+uKqkz7MwL2Sb/FGQdJ54rU0P9MGF32gLiv7Pd8zVCLq l/1ZWxCUPTNDA02UJHuJVgqQKocd8/QgICFMtezcWbcw99mbe8yW56/XXWbLLKDIhic6 TFB5UkMaAV/LtAEnfSUBsvbhnjsL8M0pW/jn7qI+tGIdvVgELL77+/SHNnOJB5JpDXcg 69CQ== X-Gm-Message-State: AOAM530ERRp6u+m/oiJFWx9lPIFPKHZMe/A7I0E3cBBSZTgosFuPb6YR o6qpHdOPMphAUiIeAMGnPGw= X-Received: by 2002:a17:90a:3902:: with SMTP id y2mr26433534pjb.126.1606742886368; Mon, 30 Nov 2020 05:28:06 -0800 (PST) Received: from localhost ([2409:10:2e40:5100:6e29:95ff:fe2d:8f34]) by smtp.gmail.com with ESMTPSA id l8sm21939768pjq.22.2020.11.30.05.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 05:28:05 -0800 (PST) Date: Mon, 30 Nov 2020 22:28:03 +0900 From: Sergey Senozhatsky To: Andreas Gruenbacher Cc: Sergey Senozhatsky , Randy Dunlap , Christoph Hellwig , "Gustavo A. R. Silva" , Namjae Jeon , LKML , Al Viro , Jan Kara Subject: Re: [PATCH] posix_acl.h: define missing ACL functions on non-posix-acl build Message-ID: References: <20201130014404.36904-1-sergey.senozhatsky@gmail.com> <5b015b83-f183-526a-94e7-029f4c98b30b@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On (20/11/30 14:09), Andreas Gruenbacher wrote: > > Sergey, what actual problem is your patch trying to solve? It sounds > like this is either theoretical and pointless, or you're trying to > build an external module that uses POSIX ACL functions that shouldn't > be needed when CONFIG_FS_POSIX_ACL is disabled. It's an external module, that OpenWRT folks build with !FS_POSIX_ACL. It compiles just fine, but modprobe fails because there are several exported ACL symbols that don't provide dummy definitions (which the module in question didn't guard with ifdef-s). > In the latter case, the external module will just end up including dead > code, so the module should be fixed instead. ifdef-s work. But since posix_acl.h already provides some dummy definitions for exported symbols, I thought that that list can be extended (become complete). -ss