Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5486122pxb; Wed, 26 Jan 2022 13:10:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJk8X3CnPAEyELZYg2VoLM4WmoM9N9+N9inNifnugd9xhQZgh0Ed9VE1j6XY+SsK/JEq4X X-Received: by 2002:a17:902:f782:: with SMTP id q2mr453994pln.81.1643231422210; Wed, 26 Jan 2022 13:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643231422; cv=none; d=google.com; s=arc-20160816; b=WCSDfNu3c02Gd9Qkr8dBvTvoAd9qUF2TXjkl38ElkGb3AI5fTkqbY8mllW+4nEfbQW xVJHG+OrFpodcUMI2guioggvqjS0vLkAlNoIqSzgG9Tgyv1wE2ebsQ30CZQboxJop5+c qwwiTpupGwmi3qU+bpBCWtlBzNhNotQFDDVzzZITDHWdvL0500lq19kx9kYdsIoBmDdA kCpPgJQtepBZyJEXNa0hUd7HStBpKMEFDFKa/aiKkvidjwZgZspEbAn3koBqjiD8/Ax9 aJZGlXf5/LOFpdv2WtoFh+ZOsFiQWB9cLtqW5hgEaB8Ntz04q23p+Uphki/8wU0PSMby +DBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=aryZ+xP/BxBfLj3172giL1dtVw2p1OO5UyvkZgay0IQ=; b=x8q7swAnYrComspWXkCQxDiVrTU6XGwjjIHPK4C70wBeYW0GDAv4CSG/JQTLnyCmGD mou2worgL3kPhMyiW2whiKWWicMjsdkOV8RBec0YUhTeAdB+xwdwKozvukmfFQYSdFpm Xl3ezNdcThz3P0mISZT+r1g2c0TyqvoIRTzFm9BNAcTfpinU8A6LQP9VRP5LpkDiazvk Ib4+G7WKElFHFICfi2aPO/xwCIovxuW2x5+Azr9c2M2GX+2FkdDNxPL6Hzx4n27DOR6h PQaZgyZ6UsZs1DZZoF++lXtV3ktbsLBKQpH1VBZMrU32ZEnDX2K0b9Gzej4NhorwTD/H 2Y9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x67si305087pfx.210.2022.01.26.13.10.02; Wed, 26 Jan 2022 13:10:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233728AbiAZLiS (ORCPT + 99 others); Wed, 26 Jan 2022 06:38:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233861AbiAZLiS (ORCPT ); Wed, 26 Jan 2022 06:38:18 -0500 X-Greylist: delayed 95 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 26 Jan 2022 03:38:17 PST Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [IPv6:2001:4b98:dc4:8::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 452FCC06161C for ; Wed, 26 Jan 2022 03:38:17 -0800 (PST) Received: (Authenticated sender: hadess@hadess.net) by mail.gandi.net (Postfix) with ESMTPSA id 9C0D1240011 for ; Wed, 26 Jan 2022 11:38:15 +0000 (UTC) Message-ID: <78f77f0268ce1b4818c0a0749d3371b825fa1c92.camel@hadess.net> Subject: Re: [PATCH 1/4] build: Always define confdir and statedir From: Bastien Nocera To: linux-bluetooth@vger.kernel.org Date: Wed, 26 Jan 2022 12:38:15 +0100 In-Reply-To: <20220126113638.1706785-1-hadess@hadess.net> References: <20220126113638.1706785-1-hadess@hadess.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3 (3.42.3-1.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Some patches from 2017 to use systemd lockdown. They've been used for 5 years by Fedora and RHEL. Cheers On Wed, 2022-01-26 at 12:36 +0100, Bastien Nocera wrote: > As we will need those paths to lock down on them. > --- >  Makefile.am | 6 +++--- >  1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index e391d7ae8..2ba25e687 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -28,14 +28,14 @@ AM_CFLAGS = $(MISC_CFLAGS) $(WARNING_CFLAGS) > $(UDEV_CFLAGS) $(LIBEBOOK_CFLAGS) \ >                                 $(LIBEDATASERVER_CFLAGS) > $(ell_cflags) >  AM_LDFLAGS = $(MISC_LDFLAGS) >   > +confdir = $(sysconfdir)/bluetooth > +statedir = $(localstatedir)/lib/bluetooth > + >  if DATAFILES >  dbusdir = $(DBUS_CONFDIR)/dbus-1/system.d >  dbus_DATA = src/bluetooth.conf >   > -confdir = $(sysconfdir)/bluetooth >  conf_DATA = > - > -statedir = $(localstatedir)/lib/bluetooth >  state_DATA = >  endif >