Bug 204358

Summary: [iOS] Fix sysctl-read sandbox violation
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, bfulgham, commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
bfulgham: review+
Patch none

Per Arne Vollan
Reported 2019-11-19 10:33:24 PST
The WebContent sandbox should allow sysctl-read of "kern.hostname".
Attachments
Patch (1.24 KB, patch)
2019-11-19 10:35 PST, Per Arne Vollan
bfulgham: review+
Patch (1.45 KB, patch)
2019-11-19 12:08 PST, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2019-11-19 10:33:44 PST
Per Arne Vollan
Comment 2 2019-11-19 10:35:06 PST
Brent Fulgham
Comment 3 2019-11-19 11:28:44 PST
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
Per Arne Vollan
Comment 4 2019-11-19 11:37:33 PST
(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 :)
Per Arne Vollan
Comment 5 2019-11-19 12:08:33 PST
Brent Fulgham
Comment 6 2019-11-19 12:12:33 PST
Comment on attachment 383893 [details] Patch Looks great! r=me
WebKit Commit Bot
Comment 7 2019-11-19 13:00:28 PST
Comment on attachment 383893 [details] Patch Clearing flags on attachment: 383893 Committed r252643: <https://trac.webkit.org/changeset/252643>
Aakash Jain
Comment 8 2019-11-19 17:20:02 PST
> Committed r252643: <https://trac.webkit.org/changeset/252643> Did you want to close the bug as well?
Per Arne Vollan
Comment 9 2019-11-20 11:37:54 PST
(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!
Brent Fulgham
Comment 10 2020-01-13 12:53:18 PST
*** Bug 204359 has been marked as a duplicate of this bug. ***
Brent Fulgham
Comment 11 2020-01-13 12:54:14 PST
*** Bug 204360 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.