From fc9070bf1d16916de11f69dfc1011284d975040e Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 20 Sep 2024 18:04:06 +0300 Subject: [PATCH] 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 3b582e83d55..0c6b34f7ca0 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