Add Authz class to compute exact POSIX user perms in a security descriptor
* autoload.cc (AuthzAccessCheck): Import. (AuthzFreeContext): Import. (AuthzInitializeContextFromSid): Import. (AuthzInitializeContextFromToken): Import. (AuthzInitializeResourceManager): Import. * sec_helper.cc (get_sids_info): Remove. (class authz_ctx_cache_entry): New class. (class authz_ctx_cache): New class. (class authz_ctx): New class. (authz_get_user_attribute): New function. * security.h (get_sids_info): Drop prototype. (authz_get_user_attribute): Add prototype. * winlean.h (_AUTHZ_): Define. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* winlean.h - Standard "lean" windows include
|
||||
|
||||
Copyright 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
|
||||
Copyright 2010, 2011, 2012, 2013, 2014, 2015 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@@ -20,6 +20,7 @@ details. */
|
||||
autoloaded symbols, which in turn clashes with the definition in the
|
||||
w32api library exporting the symbols. */
|
||||
#define _ADVAPI32_
|
||||
#define _AUTHZ_
|
||||
#define _DSGETDCAPI_
|
||||
#define _GDI32_
|
||||
#define _KERNEL32_
|
||||
|
Reference in New Issue
Block a user