git: 8ae779832c6f - main - privs: add PRIV_PIPEBUF
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Sep 2024 06:46:55 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=8ae779832c6fee0588274af3c48cc643022787e6
commit 8ae779832c6fee0588274af3c48cc643022787e6
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-09-15 06:38:41 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-09-20 06:46:07 +0000
privs: add PRIV_PIPEBUF
a privilege to allocate reserved pipebuf space.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D46619
---
sys/sys/priv.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys/sys/priv.h b/sys/sys/priv.h
index 7a5773da220f..5e14fee2cce1 100644
--- a/sys/sys/priv.h
+++ b/sys/sys/priv.h
@@ -426,11 +426,13 @@
*/
#define PRIV_VM86_INTCALL 550 /* Allow invoking vm86 int handlers. */
+#define PRIV_PIPEBUF 560 /* Allow to allocate reserved pipebuf
+ space */
+
/*
* Set of reserved privilege values, which will be allocated to code as
* needed, in order to avoid renumbering later privileges due to insertion.
*/
-#define _PRIV_RESERVED0 560
#define _PRIV_RESERVED1 561
#define _PRIV_RESERVED2 562
#define _PRIV_RESERVED3 563