Commit 45724d03 authored by Georg Koppen's avatar Georg Koppen Committed by Matthew Finkel
Browse files

Bug 40193: Add `AT_EMPTY_PATH` definition

`AT_EMPTY_PATH` comes with glibc 2.14. However, Debian Wheezy, which we
still use for building our stable Linux bundles, comes only with glibc
2.13 resulting in an "undeclared-identifier"-error during build time.

This problem got introduced by fixing
https://bugzilla.mozilla.org/show_bug.cgi?id=1660901.
parent 4e82e7b9
...@@ -73,6 +73,10 @@ using namespace sandbox::bpf_dsl; ...@@ -73,6 +73,10 @@ using namespace sandbox::bpf_dsl;
// Not part of UAPI, but userspace sees it in F_GETFL; see bug 1650751. // Not part of UAPI, but userspace sees it in F_GETFL; see bug 1650751.
#define FMODE_NONOTIFY 0x4000000 #define FMODE_NONOTIFY 0x4000000
#ifndef AT_EMPTY_PATH
# define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */
#endif
#ifndef F_LINUX_SPECIFIC_BASE #ifndef F_LINUX_SPECIFIC_BASE
# define F_LINUX_SPECIFIC_BASE 1024 # define F_LINUX_SPECIFIC_BASE 1024
#else #else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment