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

Re: [tor-bugs] #21943 [Core Tor/Tor]: (Sandbox) Caught a bad syscall attempt (syscall getpid)



#21943: (Sandbox) Caught a bad syscall attempt (syscall getpid)
-------------------------------------------------+-------------------------
 Reporter:  ageisp0lis                           |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  accepted
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.1.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.9.10
 Severity:  Normal                               |     Resolution:
 Keywords:  sandbox seccomp2 getpid              |  Actual Points:  .1
  029-backport 030-backport                      |
Parent ID:                                       |         Points:  .1
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by nickm):

 * keywords:  sandbox seccomp2 getpid => sandbox seccomp2 getpid
     029-backport 030-backport
 * actualpoints:   => .1


Comment:

 My branch `bug21943_029` fixes this, I believe.  I think the reason we
 haven't run into this before is that most getpid() callers on Linux use
 the vdso version of getpid() rather than the syscall.  I don't know why
 this particular version of openssl is doing the syscall instead, but the
 patch should fix it.

 Possible backport.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21943#comment:4>
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