git: 01e2b0ce1820 - main - MAC/do: Visually separate some file sections
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 May 2026 16:01:52 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=01e2b0ce1820adf475e372ec72371dffca17a7af
commit 01e2b0ce1820adf475e372ec72371dffca17a7af
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-04-28 13:39:09 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-05-29 15:29:02 +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
---
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 8ed1f18a8df6..4feff477b18a 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
@@ -226,6 +227,7 @@ struct id_elem {
STAILQ_HEAD(id_list, id_elem);
+
#ifdef INVARIANTS
static void
check_type(const id_type_t type)