[前][次][番号順一覧][スレッド一覧]

ruby-changes:73671

From: Hiroshi <ko1@a...>
Date: Thu, 22 Sep 2022 11:35:44 +0900 (JST)
Subject: [ruby-changes:73671] 6b0b326ef2 (master): Followed up 796069b2882d8a67ecc36bda7c72affcbad09dae

https://git.ruby-lang.org/ruby.git/commit/?id=6b0b326ef2

From 6b0b326ef26478e96d176ed2013530e368e32440 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 22 Sep 2022 09:39:20 +0900
Subject: Followed up 796069b2882d8a67ecc36bda7c72affcbad09dae

---
 process.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/process.c b/process.c
index dcab3d4da7..d95b717960 100644
--- a/process.c
+++ b/process.c
@@ -5548,6 +5548,9 @@ rlimit_resource_name2int(const char *name, long len, int casetype) https://github.com/ruby/ruby/blob/trunk/process.c#L5548
 #ifdef RLIMIT_NPROC
         RESCHECK(NPROC);
 #endif
+#ifdef RLIMIT_NPTS
+        RESCHECK(NPTS);
+#endif
 #ifdef RLIMIT_NICE
         RESCHECK(NICE);
 #endif
@@ -5776,6 +5779,7 @@ proc_getrlimit(VALUE obj, VALUE resource) https://github.com/ruby/ruby/blob/trunk/process.c#L5779
  *  [NICE] ceiling on process's nice(2) value (number) (GNU/Linux)
  *  [NOFILE] file descriptors (number) (SUSv3)
  *  [NPROC] number of processes for the user (number) (4.4BSD, GNU/Linux)
+ *  [NPTS] number of pseudo terminals (number) (FreeBSD)
  *  [RSS] resident memory size (bytes) (4.2BSD, GNU/Linux)
  *  [RTPRIO] ceiling on the process's real-time priority (number) (GNU/Linux)
  *  [RTTIME] CPU time for real-time process (us) (GNU/Linux)
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]