How does renderer process access filesystem on linux?

72 views
Skip to first unread message

lixin jiang

unread,
Jan 6, 2023, 9:02:29 AM1/6/23
to Chromium-dev
Hello,

I'm trying to read the source code of seccomp-bpf sandbox of chromium. When I inspected the bpf policy of renderer process, I found it just return a errno instead of triggering a trap to forward the syscall to broker., like: 


Source code is here.

So I wander how renderer process access the filesystem when it tries to load a file.

K. Moon

unread,
Jan 6, 2023, 1:22:59 PM1/6/23
to ylzsg...@gmail.com, Chromium-dev
The short answer is that it doesn't. Sandboxed processes like the renderer have to ask other processes for help:

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/493eb86f-fdce-43b4-b648-f7ef73c2c40fn%40chromium.org.
Reply all
Reply to author
Forward
0 new messages