git: 2c1963d46335 - main - procfs rlimit: handle pipebuf
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Sep 2024 21:09:29 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=2c1963d46335576d29fe21a4e7b424c47b711ef4
commit 2c1963d46335576d29fe21a4e7b424c47b711ef4
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-09-20 15:04:06 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-09-20 21:08:51 +0000
procfs rlimit: handle pipebuf
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
sys/sys/resource.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/sys/resource.h b/sys/sys/resource.h
index c18e45d50b30..81346028f1ed 100644
--- a/sys/sys/resource.h
+++ b/sys/sys/resource.h
@@ -127,7 +127,7 @@ struct __wrusage {
*/
#ifdef _RLIMIT_IDENT
-static const char *rlimit_ident[RLIM_NLIMITS] = {
+static const char *rlimit_ident[] = {
"cpu",
"fsize",
"data",
@@ -143,6 +143,7 @@ static const char *rlimit_ident[RLIM_NLIMITS] = {
"swap",
"kqueues",
"umtx",
+ "pipebuf",
};
#endif