Changeset 240289 in webkit


Ignore:
Timestamp:
Jan 22, 2019 1:22:34 PM (5 years ago)
Author:
pvollan@apple.com
Message:

[macOS] Adjust logging policy in WebKit's sandbox
https://bugs.webkit.org/show_bug.cgi?id=193454

Reviewed by Brent Fulgham.

Add a rule to initially deny all calls, since the default is to allow every call.
Later rules allow syscalls that we determined are needed for proper WebKit function.
This reduces the API surface available to attackers.

  • WebProcess/com.apple.WebProcess.sb.in:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r240288 r240289  
     12019-01-22  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [macOS] Adjust logging policy in WebKit's sandbox
     4        https://bugs.webkit.org/show_bug.cgi?id=193454
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Add a rule to initially deny all calls, since the default is to allow every call.
     9        Later rules allow syscalls that we determined are needed for proper WebKit function.
     10        This reduces the API surface available to attackers.
     11
     12        * WebProcess/com.apple.WebProcess.sb.in:
     13
    1142019-01-22  Daniel Bates  <dabates@apple.com>
    215
  • trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r239996 r240289  
    826826
    827827(when (defined? 'syscall-unix)
     828    (deny syscall-unix (with termination))
    828829    (allow syscall-unix
    829830        (syscall-number SYS_exit)
Note: See TracChangeset for help on using the changeset viewer.