summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/firefox-flatpak/close_range.c
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/docker/firefox-flatpak/close_range.c')
-rw-r--r--taskcluster/docker/firefox-flatpak/close_range.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/taskcluster/docker/firefox-flatpak/close_range.c b/taskcluster/docker/firefox-flatpak/close_range.c
new file mode 100644
index 0000000000..d786e78e3b
--- /dev/null
+++ b/taskcluster/docker/firefox-flatpak/close_range.c
@@ -0,0 +1,12 @@
+/*
+ This Source Code Form is subject to the terms of the Mozilla Public
+ License, v. 2.0. If a copy of the MPL was not distributed with this
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+*/
+
+#include <errno.h>
+
+int close_range(unsigned int first, unsigned int last, unsigned int flags) {
+ errno = ENOSYS;
+ return -1;
+}