icecat: add release icecat-140.7.0-1gnu1 for ecne
This commit is contained in:
parent
7d0f5dab3b
commit
30225f2e73
156 changed files with 9131 additions and 4525 deletions
|
|
@ -118,6 +118,13 @@ static_assert(MADV_GUARD_INSTALL == 102);
|
|||
static_assert(MADV_GUARD_REMOVE == 103);
|
||||
#endif
|
||||
|
||||
// Added in 6.10
|
||||
#ifndef F_DUPFD_QUERY
|
||||
# define F_DUPFD_QUERY (F_LINUX_SPECIFIC_BASE + 3)
|
||||
#else
|
||||
static_assert(F_DUPFD_QUERY == (F_LINUX_SPECIFIC_BASE + 3));
|
||||
#endif
|
||||
|
||||
// To avoid visual confusion between "ifdef ANDROID" and "ifndef ANDROID":
|
||||
#ifndef ANDROID
|
||||
# define DESKTOP
|
||||
|
|
@ -1100,6 +1107,9 @@ class SandboxPolicyCommon : public SandboxPolicyBase {
|
|||
#endif
|
||||
// Not much different from other forms of dup(), and commonly used.
|
||||
.Case(F_DUPFD_CLOEXEC, Allow())
|
||||
// Used by Mesa, generally useful, and harmless: tests if
|
||||
// two file descriptors refer to the same file description.
|
||||
.Case(F_DUPFD_QUERY, Allow())
|
||||
.Default(SandboxPolicyBase::EvaluateSyscall(sysno));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue