Re: kernel32: Set object security on process object in CreateProcess.[try2]
Vitaliy Margolen wrote:
Removed todo from succeeding tests.
Tests showed that only DACL can be set this way. Owner and group are taken from the token. And we don't need SACL at this time if ever. --- dlls/advapi32/tests/security.c | 3 --- dlls/kernel32/process.c | 12 ++++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-)
Any reason this patch was not applied? Vitaliy.
Vitaliy Margolen <wine-devel(a)kievinfo.com> writes:
Vitaliy Margolen wrote:
Removed todo from succeeding tests.
Tests showed that only DACL can be set this way. Owner and group are taken from the token. And we don't need SACL at this time if ever. --- dlls/advapi32/tests/security.c | 3 --- dlls/kernel32/process.c | 12 ++++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-)
Any reason this patch was not applied?
There's a race, someone else could open the process before the descriptor is set. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Vitaliy Margolen