HomePhorge

(PUP-836) Remove Win32::Security.elevated_security
60cfa7fbfc27Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-836) Remove Win32::Security.elevated_security

  • Refactor Puppet::Util::Windows::Process to implement new method elevated_security? that was in win32-security gem
  • Refactor get_token_information to return an FFI::MemoryPointer buffer instead of a parsed structure, since GetTokenInformation is a generic call that can return many structure types, including TOKEN_ELEVATION.
  • Remove any reliance on win32-security gem from user.rb
  • Adjust tests accordingly

Details

Provenance
Ethan J. Brown <Iristyle@github>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU58b64cee03fe: (PUP-836) FFI Puppet::Util::Windows::User
Branches
Unknown
Tags
Unknown

Event Timeline

Ethan J. Brown <Iristyle@github> committed rPU60cfa7fbfc27: (PUP-836) Remove Win32::Security.elevated_security (authored by Ethan J. Brown <Iristyle@github>).May 23 2014, 2:59 AM