Bug 210929 - Allow "kern.osversion" sysctl read
Summary: Allow "kern.osversion" sysctl read
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-23 12:01 PDT by Brent Fulgham
Modified: 2020-04-23 14:34 PDT (History)
3 users (show)

See Also:


Attachments
Patch (3.51 KB, patch)
2020-04-23 12:04 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch for landing (3.51 KB, patch)
2020-04-23 14:03 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch for landing (3.51 KB, patch)
2020-04-23 14:07 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2020-04-23 12:01:01 PDT
Libdispatch checks "kern.osversion" as part of the code path we use for launching our XPC services. We already allow it for some services (Network Process), and should be doing so for our other helper processes.
Comment 1 Radar WebKit Bug Importer 2020-04-23 12:01:22 PDT
<rdar://problem/62256013>
Comment 2 Brent Fulgham 2020-04-23 12:04:31 PDT
Created attachment 397371 [details]
Patch
Comment 3 Per Arne Vollan 2020-04-23 13:15:37 PDT
Comment on attachment 397371 [details]
Patch

R=me.
Comment 4 EWS 2020-04-23 14:01:54 PDT
ChangeLog entry in Source/WebKit/ChangeLog contains OOPS!.
Comment 5 Brent Fulgham 2020-04-23 14:03:08 PDT
Created attachment 397381 [details]
Patch for landing
Comment 6 EWS 2020-04-23 14:03:27 PDT
ChangeLog entry in Source/WebKit/ChangeLog contains OOPS!.
Comment 7 Brent Fulgham 2020-04-23 14:07:46 PDT
Created attachment 397382 [details]
Patch for landing
Comment 8 EWS 2020-04-23 14:34:14 PDT
Committed r260600: <https://trac.webkit.org/changeset/260600>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 397382 [details].