From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E560D15808B for ; Thu, 31 Mar 2022 03:31:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0033E07C7; Thu, 31 Mar 2022 03:31:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97C88E07D8 for ; Thu, 31 Mar 2022 03:31:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 22D0F34148F for ; Thu, 31 Mar 2022 03:31:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 671D7357 for ; Thu, 31 Mar 2022 03:31:23 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1648694453.4d09b2040f97f8037540432595049e0dac21942e.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: doc/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: doc/policy.dtd X-VCS-Directories: doc/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 4d09b2040f97f8037540432595049e0dac21942e X-VCS-Branch: master Date: Thu, 31 Mar 2022 03:31:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8ff17d2a-3995-4770-8b28-85306cfab6d5 X-Archives-Hash: 1570202272d6059822da71662ba372e4 commit: 4d09b2040f97f8037540432595049e0dac21942e Author: Christian Göttsche googlemail com> AuthorDate: Tue Mar 22 17:05:40 2022 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Mar 31 02:40:53 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=4d09b204 policy.dtd: more strict bool/tunable and infoflow validation Booleans and tunables must have a value of true or false and infoflow needs to be of type read, write, none or both with a weight of 1 to 10. Signed-off-by: Christian Göttsche googlemail.com> Signed-off-by: Jason Zaman gentoo.org> doc/policy.dtd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/policy.dtd b/doc/policy.dtd index 52829854..c36cb846 100644 --- a/doc/policy.dtd +++ b/doc/policy.dtd @@ -14,11 +14,11 @@ + dftval (true|false) #REQUIRED> + dftval (true|false) #REQUIRED> @@ -32,8 +32,8 @@ unused (true|false) "false"> + type (read|write|none|both) #REQUIRED + weight (1|2|3|4|5|6|7|8|9|10) #IMPLIED>