Skip to content

Commit 15b24b6

Browse files
committed
ipc: allow admins but require high integrity label
Might be more reasonable. Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent f9b48a9 commit 15b24b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ipc/uapi_windows.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ var UAPISecurityDescriptor *windows.SECURITY_DESCRIPTOR
5454

5555
func init() {
5656
var err error
57-
/* SDDL_DEVOBJ_SYS_ALL from the WDK */
58-
UAPISecurityDescriptor, err = windows.SecurityDescriptorFromString("O:SYD:P(A;;GA;;;SY)")
57+
UAPISecurityDescriptor, err = windows.SecurityDescriptorFromString("O:SYD:P(A;;GA;;;SY)(A;;GA;;;BA)S:(ML;;NWNRNX;;;HI)")
5958
if err != nil {
6059
panic(err)
6160
}

0 commit comments

Comments
 (0)