[PUP-839] FFI Puppet::Util::Windows::Security module Created: 2013/11/20  Updated: 2016/10/19  Resolved: 2014/06/25

Status: Closed
Project: Puppet
Component/s: None
Affects Version/s: None
Fix Version/s: PUP 3.7.0

Type: Task Priority: Normal
Reporter: Josh Cooper Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
blocks PUP-2396 Support ruby 2.0 x64 on windows Closed
is blocked by PUP-2738 Investigate FFI Memory Pressure / Det... Closed
is blocked by PUP-2382 Standardize existing FFI code and ref... Closed
relates to PUP-835 FFI native windows code Closed
Epic Link: Windows ruby x64
Story Points: 3
Sprint: Week 2014-6-4 to 2014-6-11, Week 2014-6-11 to 2014-6-18, Week 2014-6-18 to 2014-6-25


Use FFI to define and invoke Windows APIs. Always call the wide-version, where applicable, e.g. CreateFileW. Also don't do things like:

  def supports_acl?(path)
    flags = 0.chr * 4

Comment by Ethan Brown [ 2014/06/17 ]

Ready for review Josh Cooper.

I have a few notes in there for additional comment.

Phew.. this one was a longer one...

Comment by Rob Reynolds [ 2014/06/23 ]

Merged into master at 598b3d9df.

Comment by Rob Reynolds [ 2014/06/23 ]

Additional commit fixing up missed documentation note at 45a6c38

Comment by Josh Cooper [ 2014/06/25 ]

This can be moved to resolved after clearing CI. Puppet acceptance master passed on 2003r2, 2008r2, and all 2012 with commit ae0161423a09c3aed5a5d02b69680ec4ad71d309 in

Generated at Thu Jun 27 05:40:19 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.