summaryrefslogtreecommitdiff
path: root/Source/WebKit2/Resources/PlugInSandboxProfiles/com.microsoft.SilverlightPlugin.sb
blob: 92ec68268408194827cf327820a29add33d760e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(allow iokit-open
    (iokit-user-client-class "IOHIDLibUserClient")
    (iokit-user-client-class "IOBluetoothHCIUserClient"))

(shared-preferences-read
    "com.microsoft.PlayReady"
    "com.microsoft.autoupdate2")
(shared-preferences-read-write "com.microsoft.silverlight")

(allow file-write-create
    (home-library-literal "/Application Support/Microsoft"))

(allow file-read* file-write*
    ;; Sigh, mode 777 in /Library.
    (subpath "/Library/Application Support/Microsoft/PlayReady")
    (home-library-subpath "/Application Support/Microsoft/PlayReady")
    (home-library-subpath "/Application Support/Microsoft/Silverlight")
    (home-library-subpath "/Caches/TemporaryItems"))

(if (defined? 'semaphore-owner)
    (allow ipc-posix-sem
         (semaphore-owner same-sandbox))
    (allow ipc-posix-sem
         (ipc-posix-name "LC_Mutex")))

;; FIXME: <rdar://problem/13636078>
(allow ipc-posix-shm*
    (ipc-posix-name-regex #"^CoreCLR_"))

(allow network-bind (local ip))

(webkit-printing)