Re: kernel32: Set object security on process object in CreateProcess.[try2]

2007-03-02 Thread Alexandre Julliard
Vitaliy Margolen <[EMAIL PROTECTED]> 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

Re: kernel32: Set object security on process object in CreateProcess.[try2]

2007-03-01 Thread Vitaliy Margolen
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 ++

Re: kernel32: Set object security on process object in CreateProcess.

2007-02-24 Thread Vitaliy Margolen
Robert Shearman wrote: > Vitaliy Margolen wrote: >> + >> +/* set process security */ >> +if (ret && psa && psa->lpSecurityDescriptor) >> +{ >> +NTSTATUS status; >> + >> +status = NtSetSecurityObject( info->hProcess, >> DACL_SECURITY_INFORMATION, >> +

Re: kernel32: Set object security on process object in CreateProcess.

2007-02-22 Thread Robert Shearman
Vitaliy Margolen wrote: + +/* set process security */ +if (ret && psa && psa->lpSecurityDescriptor) +{ +NTSTATUS status; + +status = NtSetSecurityObject( info->hProcess, DACL_SECURITY_INFORMATION, + psa->lpSecurityDescriptor ); +