Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#16363 closed defect (fixed)

[patch] sandbox support for fallback pipe2/pipe syscall

Reported by: cypherpunks Owned by:
Priority: Medium Milestone: Tor: 0.2.6.x-final
Component: Core Tor/Tor Version: Tor: 0.2.6.9
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

When system without eventfd support or kernel was compiled with CONFIG_EVENTFD=n
tor will fallback to pipe2 or pipe syscall.

This result in
"(Sandbox) Caught a bad syscall attempt (syscall pipe2)"

patch tested with tor-2.6.9

Child Tickets

Attachments (1)

tor-0.2.6.9-seccomp-pipe.patch (368 bytes) - added by cypherpunks 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by cypherpunks

comment:1 Changed 5 years ago by nickm

Resolution: fixed
Status: newclosed

Merged!

comment:2 Changed 5 years ago by arlolra

Any reason these aren't #elseif?

comment:3 Changed 5 years ago by nickm

the macros are defined regardless of whether the kernel provides the syscalls.

Note: See TracTickets for help on using tickets.