Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2024 21:09:29 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2c1963d46335 - main - procfs rlimit: handle pipebuf
Message-ID:  <202409202109.48KL9T5l078773@gitrepo.freebsd.org>

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



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