mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 960365 - Whitelist uname for nsSystemInfo. r=kang
This commit is contained in:
parent
cc79ac0296
commit
e233c87fdd
@ -158,7 +158,6 @@
|
||||
ALLOW_SYSCALL(readlink), \
|
||||
ALLOW_SYSCALL(getsockname), \
|
||||
ALLOW_SYSCALL(recvmsg), \
|
||||
ALLOW_SYSCALL(uname), \
|
||||
/* duplicate rt_sigaction in SECCOMP_WHITELIST_PROFILING */ \
|
||||
ALLOW_SYSCALL(rt_sigaction), \
|
||||
ALLOW_SYSCALL(getuid), \
|
||||
@ -268,6 +267,9 @@
|
||||
/* linux desktop is not as performance critical as B2G */ \
|
||||
/* we can place desktop syscalls at the end */ \
|
||||
SECCOMP_WHITELIST_DESKTOP_LINUX \
|
||||
/* nsSystemInfo uses uname (and we cache an instance, so */ \
|
||||
/* the info remains present even if we block the syscall) */ \
|
||||
ALLOW_SYSCALL(uname), \
|
||||
ALLOW_SYSCALL(exit_group), \
|
||||
ALLOW_SYSCALL(exit)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user