Skip to content

Commit

Permalink
ipc: allow admins but require high integrity label
Browse files Browse the repository at this point in the history
Might be more reasonable.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
  • Loading branch information
zx2c4 committed Jun 24, 2021
1 parent f9b48a9 commit 15b24b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ipc/uapi_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ var UAPISecurityDescriptor *windows.SECURITY_DESCRIPTOR

func init() {
var err error
/* SDDL_DEVOBJ_SYS_ALL from the WDK */
UAPISecurityDescriptor, err = windows.SecurityDescriptorFromString("O:SYD:P(A;;GA;;;SY)")
UAPISecurityDescriptor, err = windows.SecurityDescriptorFromString("O:SYD:P(A;;GA;;;SY)(A;;GA;;;BA)S:(ML;;NWNRNX;;;HI)")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 15b24b6

Please sign in to comment.