Does renderer use /dev/shm shared memory

178 views
Skip to first unread message

vishnu vardhan reddy.p Reddy

unread,
May 12, 2022, 1:34:24 PM5/12/22
to Chromium-dev
Does renderer use /dev/shm shared memory?

If yes, since chromium zygote drops the file system access, I would assume that renderer will not have access to /dev/shm

Daniel Cheng

unread,
May 12, 2022, 1:45:59 PM5/12/22
to vishnuvar...@gmail.com, Chromium-dev
When the renderer process needs to create shm, it brokers that through the browser process. See https://source.chromium.org/chromium/chromium/src/+/main:content/app/content_main.cc;l=384;drc=317154f193cfe466e41fb1ad2c4a2717a3197442, which is responsible for installing the hooks to make this work in sandboxed processes.

Daniel

On Thu, 12 May 2022 at 10:34, vishnu vardhan reddy.p Reddy <vishnuvar...@gmail.com> wrote:
Does renderer use /dev/shm shared memory?

If yes, since chromium zygote drops the file system access, I would assume that renderer will not have access to /dev/shm

--
--
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/2ed5d325-a0f2-4a57-9131-4aa3e637ba80n%40chromium.org.

vishnu vardhan reddy.p Reddy

unread,
May 12, 2022, 8:24:54 PM5/12/22
to Chromium-dev, Daniel Cheng, Chromium-dev, vishnu vardhan reddy.p Reddy
Got it, Thank you
Reply all
Reply to author
Forward
0 new messages