From nobody Fri Oct 07 15:25:20 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MkXDw5P6sz4dyLZ; Fri, 7 Oct 2022 15:25:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MkXDw4rTRz43P5; Fri, 7 Oct 2022 15:25:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665156320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Y0g/81rVhwVclE5Z1S89rH7eAN4Sy1MzM9bF2bhoJ4o=; b=n8tTkNr00LMExjw54NBTfFy8d4F5nqXmi/O0U1lJJBRpHQJQMqu5Dl+KvTBWu0duhjwTtA N4gAHwHKDV0jNGBV3ZZSSvJXpCYEzVCpgm2Pqa4W+XXSGPK83CFXpJf+EJ6WlzDn8Z6sKU 2oSsrywGF9YVt+wOtteNOmgnNTXzLxWcJ9IZUo3S7AT1i5Z2Z4Hts9y+PfQQsQNjz70HNl twGIxQ4R2Fp1KAQF/Oykttew7woBr/Flk+/9tk8joRRCtderEGbAhHlqM/bRsBrJvOJL4e WUPsDZTmjEk6hPJkeIlkuGc25jKnFWaF+2RpFaQBRqUP1/VTn8C/vV/c9QKmdg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MkXDw3nWszdtK; Fri, 7 Oct 2022 15:25:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 297FPKLX048709; Fri, 7 Oct 2022 15:25:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 297FPKDM048708; Fri, 7 Oct 2022 15:25:20 GMT (envelope-from git) Date: Fri, 7 Oct 2022 15:25:20 GMT Message-Id: <202210071525.297FPKDM048708@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Allan Jude Subject: git: 50315501340c - main - Bump MAC_VERSION to 5 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: allanjude X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 50315501340cc3ca1a565c4f9700bbadcdaa5c01 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665156320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Y0g/81rVhwVclE5Z1S89rH7eAN4Sy1MzM9bF2bhoJ4o=; b=Dd7sId0pYCXw+3OJMAXxl3mkStxwmJdnowSw4QdgJVounPaaIkQyqmlNncLZec2VSyA4xW WGar7GP6Py6N4JOLDc7Bsyk5DrqMujLU8A68fmzkUTNOttRCgJSbAl2LGDzzQml5H/ncTW 0nS8vdN/8Ox0aNLuO2LS+0pohNbEiBgSRq/G3xDWzBFSb+lePdriXEUaoD//i58LTJUAun acyR4Hb/IrR59nwLO2ZjGUIrnnvDY08M7u/CST3iV411u6UfG521ej8Jkyudi17zUzUHcm JinnekCwr24Xb+dgCtfRMo7YlPf5YB0JA0qoYaqJtEW0mW+Zv8FbgmCEfgKXww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665156320; a=rsa-sha256; cv=none; b=r8e/Dbl2U9FlTkWOvF9v4UFwwGXhdn2b/RdSh0hJ2S6+wpztrW1KyF2wy1GZAco8eeswFQ edQ1qiU4cT5pCFJ+5fLlbyhQoGec11ugCXtcNJZazQuOZ0kQmqClZT74GDFPFe1z6/U1eo /kx2OXDt9/QO9Mta7xwrw8CZcGe2TnDJwW+ETIuMlpz/SJAvYl05SQ51eahZVLXlqHouVt Djr81sgakKPoaYN+sQoDAAJd1IvRKOEptBDWscwbt5K9htQ9C6lu0/CSXQcDq+q5PeDp0e Ne1GZTc4i6n64YErOBWPx2wW3r3/cC4doT6fFsHgGltaoJRly/6lRIK3oxLXCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by allanjude: URL: https://cgit.FreeBSD.org/src/commit/?id=50315501340cc3ca1a565c4f9700bbadcdaa5c01 commit 50315501340cc3ca1a565c4f9700bbadcdaa5c01 Author: Allan Jude AuthorDate: 2022-10-07 14:37:35 +0000 Commit: Allan Jude CommitDate: 2022-10-07 15:24:32 +0000 Bump MAC_VERSION to 5 2449b9e5fe565be757a4b29093fd1c9c6ffcf3c9 introduced API changes that require ensuring that loadable MAC modules use the matching API. Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. --- sys/security/mac/mac_policy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h index 97b3522abf51..1f9a5485b136 100644 --- a/sys/security/mac/mac_policy.h +++ b/sys/security/mac/mac_policy.h @@ -1022,8 +1022,9 @@ struct mac_policy_conf { * 2 6.x * 3 7.x * 4 8.x + * 5 14.x */ -#define MAC_VERSION 4 +#define MAC_VERSION 5 #define MAC_POLICY_SET(mpops, mpname, mpfullname, mpflags, privdata_wanted) \ static struct mac_policy_conf mpname##_mac_policy_conf = { \