mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Allow unlinkat() in the seccomp2 sandbox
Closes ticket 33346.
This commit is contained in:
parent
b9c7c61ea5
commit
c81cb588db
3
changes/ticket33346
Normal file
3
changes/ticket33346
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor features (linux seccomp2 sandbox):
|
||||
- Permit the unlinkat() syscall, which some Libc implementations
|
||||
use to implement unlink(). Closes ticket 33346.
|
@ -269,6 +269,9 @@ static int filter_nopar_gen[] = {
|
||||
SCMP_SYS(recvfrom),
|
||||
SCMP_SYS(sendto),
|
||||
SCMP_SYS(unlink),
|
||||
#ifdef __NR_unlinkat
|
||||
SCMP_SYS(unlinkat),
|
||||
#endif
|
||||
SCMP_SYS(poll)
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user