git: fc9070bf1d16 - stable/14 - procfs rlimit: handle pipebuf

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 05 Oct 2024 07:11:21 UTC
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=fc9070bf1d16916de11f69dfc1011284d975040e

commit fc9070bf1d16916de11f69dfc1011284d975040e
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-09-20 15:04:06 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-10-05 07:08:55 +0000

    procfs rlimit: handle pipebuf
    
    (cherry picked from commit 2c1963d46335576d29fe21a4e7b424c47b711ef4)
---
 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 3b582e83d553..0c6b34f7ca0f 100644
--- a/sys/sys/resource.h
+++ b/sys/sys/resource.h
@@ -129,7 +129,7 @@ struct __wrusage {
  */
 
 #ifdef _RLIMIT_IDENT
-static const char *rlimit_ident[RLIM_NLIMITS] = {
+static const char *rlimit_ident[] = {
 	"cpu",
 	"fsize",
 	"data",
@@ -145,6 +145,7 @@ static const char *rlimit_ident[RLIM_NLIMITS] = {
 	"swap",
 	"kqueues",
 	"umtx",
+	"pipebuf",
 };
 #endif