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

Re: [tor-bugs] #24315 [Core Tor/Tor]: sandbox: openat() not handled for all our files



#24315: sandbox: openat() not handled for all our files
--------------------------+------------------------------------
 Reporter:  dgoulet       |          Owner:  dgoulet
     Type:  defect        |         Status:  assigned
 Priority:  Medium        |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  sandbox       |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by dgoulet):

 Hmmm that glibc source code is kind of _crazy_ but I see that
 `__libc_open()` functions in `sysdeps/unix/sysv/linux/open.c` is calling:

 {{{
   return SYSCALL_CANCEL (openat, AT_FDCWD, file, oflag, mode);
 }}}

 A small test only doing `open()` on a file does call `openat()` and
 nothing else.

 So I assume they did (well at least on glibc 2.26 Ubuntu).

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