Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2024 07:11:21 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fc9070bf1d16 - stable/14 - procfs rlimit: handle pipebuf
Message-ID:  <202410050711.4957BLgN001354@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410050711.4957BLgN001354>