]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/rlimit-util.h
Merge pull request #11827 from keszybz/pkgconfig-variables
[thirdparty/systemd.git] / src / basic / rlimit-util.h
index d50fd38c2e2f2de5b0ecbeb4a3296dadd9c48bdf..d4fca2b8556d9b00b3a080c02c11e64737dd8ccb 100644 (file)
@@ -1,12 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
-/***
-  This file is part of systemd.
-
-  Copyright 2010 Lennart Poettering
-***/
-
 #include <sys/resource.h>
 
 #include "macro.h"
@@ -26,3 +20,6 @@ int rlimit_format(const struct rlimit *rl, char **ret);
 void rlimit_free_all(struct rlimit **rl);
 
 #define RLIMIT_MAKE_CONST(lim) ((struct rlimit) { lim, lim })
+
+int rlimit_nofile_bump(int limit);
+int rlimit_nofile_safe(void);