The WebContent sandbox should allow sysctl-read of "kern.hostname".
rdar://problem/57298313
Created attachment 383880 [details] Patch
Comment on attachment 383880 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=383880&action=review r=me > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:852 > + "kern.hostname" I propose we also add the other two items we noticed in this same patch? kern.osrelease kern.version
(In reply to Brent Fulgham from comment #3) > Comment on attachment 383880 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=383880&action=review > > r=me > > > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:852 > > + "kern.hostname" > > I propose we also add the other two items we noticed in this same patch? > > kern.osrelease > kern.version Will do! Thanks for reviewing :)
Created attachment 383893 [details] Patch
Comment on attachment 383893 [details] Patch Looks great! r=me
Comment on attachment 383893 [details] Patch Clearing flags on attachment: 383893 Committed r252643: <https://trac.webkit.org/changeset/252643>
> Committed r252643: <https://trac.webkit.org/changeset/252643> Did you want to close the bug as well?
(In reply to Aakash Jain from comment #8) > > Committed r252643: <https://trac.webkit.org/changeset/252643> > Did you want to close the bug as well? Yes, thanks!
*** Bug 204359 has been marked as a duplicate of this bug. ***
*** Bug 204360 has been marked as a duplicate of this bug. ***