git: d0ff8724a4f4 - stable/15 - MAC/do: Visually separate some file sections
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jun 2026 19:25:58 UTC
The branch stable/15 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=d0ff8724a4f4cfa75870b72ddc465c5894aee41f
commit d0ff8724a4f4cfa75870b72ddc465c5894aee41f
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-04-28 13:39:09 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-06-29 19:23:52 +0000
MAC/do: Visually separate some file sections
With additional empty lines.
No functional change (intended).
Reviewed by: bapt
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
(cherry picked from commit 01e2b0ce1820adf475e372ec72371dffca17a7af)
---
sys/security/mac_do/mac_do.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/security/mac_do/mac_do.c b/sys/security/mac_do/mac_do.c
index f298ad2d4f59..f796e1b5cf76 100644
--- a/sys/security/mac_do/mac_do.c
+++ b/sys/security/mac_do/mac_do.c
@@ -33,6 +33,7 @@
#include <security/mac/mac_policy.h>
+
#ifdef INVARIANTS
/*
* Should typically be moved to libkern (and perhaps libc) at some point, and be
@@ -228,6 +229,7 @@ struct id_elem {
STAILQ_HEAD(id_list, id_elem);
+
#ifdef INVARIANTS
static void
check_type(const id_type_t type)