mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1411115 - Allow F_SETLK fcntl in sandboxed content processes. r=gcp
MozReview-Commit-ID: ARc7EpfN73o --HG-- extra : rebase_source : 21c35a65a7c45387e2bd7fd7aba5f82ecf7c9ab3
This commit is contained in:
parent
ee247f0d5f
commit
6557099666
@ -819,7 +819,12 @@ public:
|
||||
If((flags & ~allowed_flags) == 0, Allow())
|
||||
.Else(InvalidSyscall()))
|
||||
.Case(F_DUPFD_CLOEXEC, Allow())
|
||||
// Pulseaudio uses F_SETLKW.
|
||||
// Nvidia GL and fontconfig (newer versions) use fcntl file locking.
|
||||
.Case(F_SETLK, Allow())
|
||||
#ifdef F_SETLK64
|
||||
.Case(F_SETLK64, Allow())
|
||||
#endif
|
||||
// Pulseaudio uses F_SETLKW, as does fontconfig.
|
||||
.Case(F_SETLKW, Allow())
|
||||
#ifdef F_SETLKW64
|
||||
.Case(F_SETLKW64, Allow())
|
||||
|
Loading…
Reference in New Issue
Block a user