From patchwork Mon Jul 15 14:45:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Bigonville X-Patchwork-Id: 11044429 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A7F3912 for ; Mon, 15 Jul 2019 14:54:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A7982852C for ; Mon, 15 Jul 2019 14:54:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4EDB52854F; Mon, 15 Jul 2019 14:54:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDE072852C for ; Mon, 15 Jul 2019 14:54:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392258AbfGOOyI (ORCPT ); Mon, 15 Jul 2019 10:54:08 -0400 Received: from ithil.bigon.be ([163.172.57.153]:37762 "EHLO ithil.bigon.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391549AbfGOOyG (ORCPT ); Mon, 15 Jul 2019 10:54:06 -0400 X-Greylist: delayed 540 seconds by postgrey-1.27 at vger.kernel.org; Mon, 15 Jul 2019 10:54:06 EDT Received: from localhost (localhost [IPv6:::1]) by ithil.bigon.be (Postfix) with ESMTP id 48E271FEA6 for ; Mon, 15 Jul 2019 16:45:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bigon.be; h= content-transfer-encoding:mime-version:x-mailer:message-id:date :date:subject:subject:from:from:received:received:received; s= key2; t=1563201904; x=1565016305; bh=SrZJpFyPHLUeP3/PUKTCtQdnCS5 5fohHoRFw590mTDQ=; b=MlxqdElUltZC6glN3wo9FMWiUlORPbNDiuu8/fGK7Iw Hig2/OTs6ALhntltJohQ5+vYDYHr1Rp6xqUGSZ/ugsMcepZrAZptRBk4uS0Ov0Qv 8bYeb9oLeJLSy3i0GwEXj+Zvk56D5Woqxd301RlMcsZAYUetDCzo+zQ81HaMukOE = Received: from ithil.bigon.be ([IPv6:::1]) by localhost (ithil.bigon.be [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id MJLHU3FX5xpf for ; Mon, 15 Jul 2019 16:45:04 +0200 (CEST) Received: from edoras.bigon.be (mail2.vdab.be [193.53.238.200]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bigon@bigon.be) by ithil.bigon.be (Postfix) with ESMTPSA for ; Mon, 15 Jul 2019 16:45:04 +0200 (CEST) Received: from bigon (uid 1000) (envelope-from bigon@bigon.be) id 61208 by edoras.bigon.be (DragonFly Mail Agent v0.11); Mon, 15 Jul 2019 16:45:02 +0200 From: Laurent Bigonville To: selinux@vger.kernel.org Subject: [PATCH 1/3] Add documentation key in systemd .service files Date: Mon, 15 Jul 2019 16:45:00 +0200 Message-Id: <20190715144502.30547-1-bigon@debian.org> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurent Bigonville Signed-off-by: Laurent Bigonville --- mcstrans/src/mcstrans.service | 1 + restorecond/restorecond.service | 1 + 2 files changed, 2 insertions(+) diff --git a/mcstrans/src/mcstrans.service b/mcstrans/src/mcstrans.service index 8976b970..09529432 100644 --- a/mcstrans/src/mcstrans.service +++ b/mcstrans/src/mcstrans.service @@ -1,5 +1,6 @@ [Unit] Description=Translates SELinux MCS/MLS labels to human readable form +Documentation=man:mcstransd(8) ConditionSecurity=selinux [Service] diff --git a/restorecond/restorecond.service b/restorecond/restorecond.service index 6bce99d3..0e4ea72d 100644 --- a/restorecond/restorecond.service +++ b/restorecond/restorecond.service @@ -1,5 +1,6 @@ [Unit] Description=Restorecon maintaining path file context +Documentation=man:restorecond(8) ConditionPathExists=/etc/selinux/restorecond.conf ConditionSecurity=selinux