* autoload.cc (SetSecurityDescriptorControl): Drop.
* security.cc (alloc_sd): Set security descriptor control flag without calling SetSecurityDescriptorControl function. * wincap.h (wincapc::has_dacl_protect): Rename from has_security_descriptor_control. * wincap.cc: Ditto throughout.
This commit is contained in:
@@ -18,7 +18,7 @@ static NO_COPY wincaps wincap_unknown = {
|
||||
heapslop:0x0,
|
||||
max_sys_priv:SE_CHANGE_NOTIFY_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:false,
|
||||
has_dacl_protect:false,
|
||||
has_ip_helper_lib:false,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:true,
|
||||
@@ -47,7 +47,7 @@ static NO_COPY wincaps wincap_nt4 = {
|
||||
heapslop:0x0,
|
||||
max_sys_priv:SE_CHANGE_NOTIFY_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:false,
|
||||
has_dacl_protect:false,
|
||||
has_ip_helper_lib:false,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:true,
|
||||
@@ -76,7 +76,7 @@ static NO_COPY wincaps wincap_nt4sp4 = {
|
||||
heapslop:0x0,
|
||||
max_sys_priv:SE_CHANGE_NOTIFY_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:false,
|
||||
has_dacl_protect:false,
|
||||
has_ip_helper_lib:true,
|
||||
has_broken_if_oper_status:true,
|
||||
has_physical_mem_access:true,
|
||||
@@ -105,7 +105,7 @@ static NO_COPY wincaps wincap_2000 = {
|
||||
heapslop:0x0,
|
||||
max_sys_priv:SE_MANAGE_VOLUME_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:true,
|
||||
has_dacl_protect:true,
|
||||
has_ip_helper_lib:true,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:true,
|
||||
@@ -134,7 +134,7 @@ static NO_COPY wincaps wincap_2000sp4 = {
|
||||
heapslop:0x0,
|
||||
max_sys_priv:SE_CREATE_GLOBAL_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:true,
|
||||
has_dacl_protect:true,
|
||||
has_ip_helper_lib:true,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:true,
|
||||
@@ -163,7 +163,7 @@ static NO_COPY wincaps wincap_xp = {
|
||||
heapslop:0x0,
|
||||
max_sys_priv:SE_MANAGE_VOLUME_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:true,
|
||||
has_dacl_protect:true,
|
||||
has_ip_helper_lib:true,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:true,
|
||||
@@ -192,7 +192,7 @@ static NO_COPY wincaps wincap_xpsp1 = {
|
||||
heapslop:0x0,
|
||||
max_sys_priv:SE_MANAGE_VOLUME_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:true,
|
||||
has_dacl_protect:true,
|
||||
has_ip_helper_lib:true,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:true,
|
||||
@@ -221,7 +221,7 @@ static NO_COPY wincaps wincap_xpsp2 = {
|
||||
heapslop:0x0,
|
||||
max_sys_priv:SE_CREATE_GLOBAL_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:true,
|
||||
has_dacl_protect:true,
|
||||
has_ip_helper_lib:true,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:true,
|
||||
@@ -250,7 +250,7 @@ static NO_COPY wincaps wincap_2003 = {
|
||||
heapslop:0x4,
|
||||
max_sys_priv:SE_CREATE_GLOBAL_PRIVILEGE,
|
||||
is_server:true,
|
||||
has_security_descriptor_control:true,
|
||||
has_dacl_protect:true,
|
||||
has_ip_helper_lib:true,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:false,
|
||||
@@ -279,7 +279,7 @@ static NO_COPY wincaps wincap_vista = {
|
||||
heapslop:0x4,
|
||||
max_sys_priv:SE_CREATE_SYMBOLIC_LINK_PRIVILEGE,
|
||||
is_server:false,
|
||||
has_security_descriptor_control:true,
|
||||
has_dacl_protect:true,
|
||||
has_ip_helper_lib:true,
|
||||
has_broken_if_oper_status:false,
|
||||
has_physical_mem_access:false,
|
||||
|
Reference in New Issue
Block a user