diff options
author | Dan Bjorge <dbjorge@gmail.com> | 2015-04-23 00:24:24 -0700 |
---|---|---|
committer | Dan Bjorge <dbjorge@gmail.com> | 2015-04-23 00:24:24 -0700 |
commit | 6f42327a590025e078de9cdfd3191f14a0980776 (patch) | |
tree | c1b8c0d416e7d3a5a84e0b6f1ec5981d66f4f93c /lib/chef/win32/api | |
parent | 44d70ba0f1b38bc3e1170ae978ad5e9a11679df3 (diff) | |
download | chef-6f42327a590025e078de9cdfd3191f14a0980776.tar.gz |
securable_resource functional specs compare default creation permissions against actual defaults on Windows
Diffstat (limited to 'lib/chef/win32/api')
-rw-r--r-- | lib/chef/win32/api/security.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/chef/win32/api/security.rb b/lib/chef/win32/api/security.rb index 229f2ace10..281e0b2271 100644 --- a/lib/chef/win32/api/security.rb +++ b/lib/chef/win32/api/security.rb @@ -270,6 +270,14 @@ class Chef :MaxTokenInfoClass ] + class TOKEN_OWNER < FFI::Struct + layout :Owner, :pointer + end + + class TOKEN_PRIMARY_GROUP < FFI::Struct + layout :PrimaryGroup, :pointer + end + # https://msdn.microsoft.com/en-us/library/windows/desktop/aa379572%28v=vs.85%29.aspx SECURITY_IMPERSONATION_LEVEL = enum :SECURITY_IMPERSONATION_LEVEL, [ :SecurityAnonymous, |