The WebContent sandbox on iOS should allow reading the passwd file.
<rdar://75616105>
Created attachment 424026 [details] Patch
This patch is not intended for ToT.
Comment on attachment 424026 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424026&action=review r=me > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:-586 > - (literal "/private/etc/passwd")) Oh, no! I missed that one.
Created attachment 424028 [details] Patch
(In reply to Brent Fulgham from comment #4) > Comment on attachment 424026 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=424026&action=review > > r=me > > > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:-586 > > - (literal "/private/etc/passwd")) > > Oh, no! I missed that one. I believe this was incorrectly added by myself in https://trac.webkit.org/changeset/274231/webkit. Thanks for reviewing!