WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
204358
[iOS] Fix sysctl-read sandbox violation
https://bugs.webkit.org/show_bug.cgi?id=204358
Summary
[iOS] Fix sysctl-read sandbox violation
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+
Details
Formatted Diff
Diff
Patch
(1.45 KB, patch)
2019-11-19 12:08 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Per Arne Vollan
Comment 1
2019-11-19 10:33:44 PST
rdar://problem/57298313
Per Arne Vollan
Comment 2
2019-11-19 10:35:06 PST
Created
attachment 383880
[details]
Patch
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
Created
attachment 383893
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug