Displaying 1 result from an estimated 1 matches for "dacl_present".
2006 Mar 20
5
Need some ACL help for win32-file
....pack(''L'')
revision = [0].pack(''L'')
if @@GetSecurityDescriptorControl.call(sec_buf, control, revision)
== 0
raise ArgumentError, get_last_error
end
# No DACL exists
if (control.unpack(''L'').first & SE_DACL_PRESENT) == 0
raise ArgumentError, ''No DACL present: explicit deny all''
end
dacl_present = [0].pack(''L'')
dacl_defaulted = [0].pack(''L'')
acl_ptr = [0].pack(''L'')
val = @@GetSecurityDescri...