This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 23e0b702903f0463d4497b222370876900dd9bb0
Author: guoshichao <guoshic...@xiaomi.com>
AuthorDate: Tue Dec 3 10:52:01 2024 +0800

    sys/resource: add RLIMIT_NICE consntant
    
    Signed-off-by: guoshichao <guoshic...@xiaomi.com>
---
 include/sys/resource.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sys/resource.h b/include/sys/resource.h
index 9cda4a407f..6bb4cf00f7 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -60,6 +60,7 @@
 #define RLIMIT_STACK    6           /* Limit on stack size */
 #define RLIMIT_AS       7           /* Limit on address space size */
 #define RLIMIT_MEMLOCK  8           /* Limit on memory use */
+#define RLIMIT_NICE     10          /* Limit on nice level */
 
 /* Below are not implemented yet: */
 

Reply via email to