From 0a84879cdc3be1bbe3e09dd9fd883a4832e9443e Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 27 Mar 2018 01:53:14 +0000 Subject: internals: when running as a local/domain user, cache the domain's admin sid. --- src/internal/ntapi_impl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/internal/ntapi_impl.h') diff --git a/src/internal/ntapi_impl.h b/src/internal/ntapi_impl.h index 6021a48..d020386 100644 --- a/src/internal/ntapi_impl.h +++ b/src/internal/ntapi_impl.h @@ -82,8 +82,9 @@ typedef struct __attr_ptr_size_aligned__ _ntapi_internals { nt_port_name * subsystem; nt_security_descriptor seq_desc; nt_security_quality_of_service seq_qos; - nt_sid_any sid_buffer; - nt_sid * sid; + nt_sid_any sid_buffer[2]; + nt_sid * user; + nt_sid * admin; void * hprocess; void * htoken; void * hport_tty_session; -- cgit v1.2.3