Title: [289127] trunk/Source/WebKit
- Revision
- 289127
- Author
- [email protected]
- Date
- 2022-02-04 10:42:08 -0800 (Fri, 04 Feb 2022)
Log Message
Unreviewed, reverting r289125.
https://bugs.webkit.org/show_bug.cgi?id=236145
Introduced sandbox violation
Reverted changeset:
"[iOS][WP] Block access to syscalls that are only used during
launch"
https://bugs.webkit.org/show_bug.cgi?id=236102
https://commits.webkit.org/r289125
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (289126 => 289127)
--- trunk/Source/WebKit/ChangeLog 2022-02-04 18:23:10 UTC (rev 289126)
+++ trunk/Source/WebKit/ChangeLog 2022-02-04 18:42:08 UTC (rev 289127)
@@ -1,3 +1,17 @@
+2022-02-04 Commit Queue <[email protected]>
+
+ Unreviewed, reverting r289125.
+ https://bugs.webkit.org/show_bug.cgi?id=236145
+
+ Introduced sandbox violation
+
+ Reverted changeset:
+
+ "[iOS][WP] Block access to syscalls that are only used during
+ launch"
+ https://bugs.webkit.org/show_bug.cgi?id=236102
+ https://commits.webkit.org/r289125
+
2022-02-04 Per Arne Vollan <[email protected]>
[iOS][WP] Block access to syscalls that are only used during launch
Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in (289126 => 289127)
--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in 2022-02-04 18:23:10 UTC (rev 289126)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in 2022-02-04 18:42:08 UTC (rev 289127)
@@ -1187,13 +1187,24 @@
SYS_bsdthread_register
SYS_chdir
SYS_connect
+ SYS_csops ;; used by Corefoundation initialization
SYS_dup2
+ SYS_fileport_makefd
SYS_fsgetpath
+ SYS_getegid
SYS_getpid
+ SYS_getrlimit
+ SYS_gettid
+ SYS_getuid
+ SYS_ioctl ;; needed by tcgetattr (TIOCGETA - debugging
SYS_kdebug_trace_string
+ SYS_kdebug_typefilter
SYS_objc_bp_assist_cfg_np
+ SYS_os_fault_with_payload
SYS_shared_region_check_np
+ SYS_shm_open
SYS_sigaction
+ SYS_sysctl
SYS_workq_open
SYS_writev))
@@ -1209,7 +1220,6 @@
SYS_change_fdguard_np
SYS_close
SYS_close_nocancel
- SYS_csops ;; used by Corefoundation initialization
SYS_csops_audittoken ;; used by WK to get entitlments
SYS_exit
SYS_faccessat ;; <rdar://problem/56998930>
@@ -1216,7 +1226,6 @@
SYS_fcntl
SYS_fcntl_nocancel
SYS_fgetattrlist ;; <rdar://problem/50266257>
- SYS_fileport_makefd
SYS_flock
SYS_fsetattrlist ;; MTLCompilerFSCache::openSync
SYS_fsetxattr ;; <rdar://problem/49795964>
@@ -1226,23 +1235,17 @@
SYS_ftruncate
SYS_getattrlist ;; xpc_realpath and directory enumeration
SYS_getdirentries64
- SYS_getegid
SYS_getentropy
SYS_geteuid
SYS_getfsstat64
- SYS_getrlimit
SYS_getrusage
- SYS_gettid
SYS_gettimeofday
- SYS_getuid
SYS_guarded_close_np
SYS_guarded_open_dprotected_np ; <rdar://problem/48166729>
SYS_guarded_open_np
SYS_guarded_pwrite_np
- SYS_ioctl ;; needed by tcgetattr (TIOCGETA - debugging
SYS_issetugid
SYS_kdebug_trace64
- SYS_kdebug_typefilter
SYS_kevent_id
SYS_kevent_qos
SYS_kqueue ;; <rdar://problem/49609201>
@@ -1260,7 +1263,6 @@
SYS_open
SYS_open_nocancel
SYS_openat
- SYS_os_fault_with_payload
SYS_pathconf
SYS_pread
SYS_proc_info
@@ -1279,10 +1281,8 @@
SYS_sem_close
SYS_sem_open
SYS_shared_region_map_and_slide_2_np ;; <rdar://problem/60294880>
- SYS_shm_open
SYS_stat64
SYS_statfs64
- SYS_sysctl
SYS_sysctlbyname
SYS_thread_selfid
SYS_ulock_wait
@@ -1338,7 +1338,8 @@
(allow syscall-unix
(syscall-unix-only-in-use-during-launch)))
(with-filter (state-flag "WebContentProcessLaunched")
- (deny syscall-unix
+ (allow syscall-unix
+ (with report)
(with telemetry)
(with message "Unix syscall used after launch")
(syscall-unix-only-in-use-during-launch)))
@@ -1549,7 +1550,8 @@
(allow syscall-mach
(syscall-mach-only-in-use-during-launch)))
(with-filter (state-flag "WebContentProcessLaunched")
- (deny syscall-mach
+ (allow syscall-mach
+ (with report)
(with telemetry)
(with message "Mach syscall used after launch")
(syscall-mach-only-in-use-during-launch)))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes