Bug 1980886 Comment 14 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Unfortunately GetInheritanceSourceW seems particularly expensive.
On my test number of system calls:
GetInheritanceSourceW: 409
GetNamedSecurityInfoW: 17
SetNamedSecurityInfoW: 27

So my plan is to count the number of object inherit ACEs in the parent DACL andthe number of inherited ACEs in the moved file and call SetNamedSecurityInfoW if they don't match.
Unfortunately GetInheritanceSourceW seems particularly expensive.
On my test number of system calls:
GetInheritanceSourceW: 409
GetNamedSecurityInfoW: 17
SetNamedSecurityInfoW: 27

So my plan is to count the number of object inherit ACEs in the parent DACL and the number of inherited ACEs in the moved file and call SetNamedSecurityInfoW if they don't match.

Back to Bug 1980886 Comment 14