Now our baseline is glibc-2.31.
+++ /dev/null
-/* SPDX-License-Identifier: LGPL-2.1-or-later */
-#pragma once
-
-#include <sys/resource.h>
-
-#include "macro.h"
-
-#ifndef RLIMIT_RTTIME
-# define RLIMIT_RTTIME 15
-#else
-assert_cc(RLIMIT_RTTIME == 15);
-#endif
-
-/* If RLIMIT_RTTIME is not defined, then we cannot use RLIMIT_NLIMITS as is */
-#define _RLIMIT_MAX (RLIMIT_RTTIME+1 > RLIMIT_NLIMITS ? RLIMIT_RTTIME+1 : RLIMIT_NLIMITS)
#include "fileio.h"
#include "format-util.h"
#include "macro.h"
-#include "missing_resource.h"
#include "process-util.h"
#include "rlimit-util.h"
#include "string-table.h"
#include <sys/resource.h>
#include "macro.h"
-#include "missing_resource.h"
+
+#define _RLIMIT_MAX RLIMIT_NLIMITS
const char* rlimit_to_string(int i) _const_;
int rlimit_from_string(const char *s) _pure_;
#include "exec-util.h"
#include "fdset.h"
#include "list.h"
-#include "missing_resource.h"
#include "namespace.h"
#include "nsflags.h"
#include "numa-util.h"
#include "open-file.h"
#include "ordered-set.h"
#include "path-util.h"
+#include "rlimit-util.h"
#include "runtime-scope.h"
#include "set.h"
#include "time-util.h"
/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#include <sys/resource.h>
#include <sys/wait.h>
#include <unistd.h>
#include "bus-kernel.h"
#include "constants.h"
#include "fd-util.h"
-#include "missing_resource.h"
#include "string-util.h"
#include "tests.h"
#include "time-util.h"
#include "conf-parser.h"
#include "cpu-set-util.h"
#include "macro.h"
-#include "missing_resource.h"
#include "nspawn-expose-ports.h"
#include "nspawn-mount.h"
+#include "rlimit-util.h"
#include "seccomp-util.h"
#include "time-util.h"
#include "sd-json.h"
#include "hashmap.h"
-#include "missing_resource.h"
+#include "rlimit-util.h"
#include "strv.h"
#include "time-util.h"
#include "user-util.h"
#include "alloc-util.h"
#include "capability-util.h"
#include "macro.h"
-#include "missing_resource.h"
#include "process-util.h"
#include "rlimit-util.h"
#include "string-util.h"