[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #24454 [Core Tor/Tor]: sandbox failure on arm64



#24454: sandbox failure on arm64
--------------------------+------------------------------------
 Reporter:  weasel        |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.2.5-alpha
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by weasel):

 With this, it finally bootstraps.

 {{{
 --- /home/weasel/sandbox.c      2017-11-28 08:24:23.807897308 +0000
 +++ src/common/sandbox.c        2017-11-28 08:40:18.205657824 +0000
 @@ -258,7 +258,12 @@
      SCMP_SYS(recvmsg),
      SCMP_SYS(recvfrom),
      SCMP_SYS(sendto),
 -    SCMP_SYS(unlink)
 +    SCMP_SYS(unlink),
 +    SCMP_SYS(unlinkat),
 +    SCMP_SYS(newfstatat),
 +    SCMP_SYS(openat),
 +    SCMP_SYS(ppoll),
 +    SCMP_SYS(renameat)
  };

  /* These macros help avoid the error where the number of filters we add
 on a
 }}}

 Note that I don't think this patch should be applied as is.  (It allows
 openat unrestricted for instance.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24454#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs