зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
ee247f0d5f
Коммит
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())
|
||||
|
|
Загрузка…
Ссылка в новой задаче