Commit 536df70
committed
Set correct SECURITY_INFORMATION bit
Prior to this change we were setting `OWNER_SECURITY_INFORMATION`
along with `DACL_SECURITY_INFORMATION`.
Since we are not touching the owner, I don't think we need to
set this.
Furthermore, the test was failing because the DACL was actually
protected (`D:P(A;;GA;;;BA)(A;;GA;;;SY)`) and we need to tell
the API about it.
Setting `PROTECTED_DACL_SECURITY_INFORMATION` fixes the issue
and allows socket creation with the required security descriptor.
Signed-off-by: Craig Gumbley <[email protected]>1 parent d61b17e commit 536df70
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments