Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527872 - >=net-misc/tor-0.2.5.10 - add USE=seccomp
Summary: >=net-misc/tor-0.2.5.10 - add USE=seccomp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-11-01 18:55 UTC by and
Modified: 2014-11-02 20:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
tor-0.2.5.10.ebuild_seccomp.patch (tor-0.2.5.10.ebuild_seccomp.patch,1.21 KB, patch)
2014-11-01 18:56 UTC, and
Details | Diff
tor-0.2.5.10-r1.ebuild (tor-0.2.5.10-r1.ebuild,2.94 KB, text/plain)
2014-11-01 18:56 UTC, and
Details
tor-0.2.5.10.ebuild_seccomp.patch (tor-0.2.5.10.ebuild_seccomp.patch,1.22 KB, patch)
2014-11-01 19:13 UTC, and
Details | Diff
tor-0.2.5.10-r1.ebuild (tor-0.2.5.10-r1.ebuild,2.95 KB, text/plain)
2014-11-01 19:13 UTC, and
Details

Note You need to log in before you can comment on or make changes to this bug.
Description and 2014-11-01 18:55:16 UTC
seccomp feature is always good to reduce local attack vectors.
Tor has support since 0.2.5.x. So let's support it via USE flag.

You may need to enable "Sandbox" option at your torrc config for use of seccomp syscall feature

more information here:
https://trac.torproject.org/projects/tor/ticket/5756



Reproducible: Always
Comment 1 and 2014-11-01 18:56:09 UTC
Created attachment 387984 [details, diff]
tor-0.2.5.10.ebuild_seccomp.patch
Comment 2 and 2014-11-01 18:56:41 UTC
Created attachment 387986 [details]
tor-0.2.5.10-r1.ebuild
Comment 3 and 2014-11-01 19:13:00 UTC
Created attachment 388062 [details, diff]
tor-0.2.5.10.ebuild_seccomp.patch

depends on seccomp2
Comment 4 and 2014-11-01 19:13:36 UTC
Created attachment 388064 [details]
tor-0.2.5.10-r1.ebuild
Comment 5 Anthony Basile gentoo-dev 2014-11-02 19:08:09 UTC
(In reply to and from comment #4)
> Created attachment 388064 [details]
> tor-0.2.5.10-r1.ebuild

Thanks.  Please don't post a whole ebuild but a patch only.  I added USE=seccomp to 0.2.6.  I guess I can add it to the 0.2.5 branch as well.