← Commit list

e32d05b70

Denys Vlasenko
Denys Vlasenko
2011-04-04
FAILED Duration: 219s

Subject

ash,hush: add ulimit -e -r (RLIMIT_NICE, RLIMIT_RTPRIO)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/shell_common.c+12 -0
@@ -286,6 +286,12 @@ static const struct limits limits_tbl[] = {
#ifdef RLIMIT_LOCKS
{ RLIMIT_LOCKS, 0, 'w', "locks" },
#endif
+#ifdef RLIMIT_NICE
+ { RLIMIT_NICE, 0, 'e', "scheduling priority" },
+#endif
+#ifdef RLIMIT_RTPRIO
+ { RLIMIT_RTPRIO, 0, 'r', "real-time priority" },
+#endif
};
enum {
@@ -327,6 +333,12 @@ static const char ulimit_opt_string[] = "-HSa"
#endif
#ifdef RLIMIT_LOCKS
"w::"
+#endif
+#ifdef RLIMIT_NICE
+ "e::"
+#endif
+#ifdef RLIMIT_RTPRIO
+ "r::"
#endif
;