MSDN says to do this the job object should have
JOB_OBJECT_ASSIGN_PROCESS right.
How do I add this right to my job object ?? I tried calling
GetSecurityInfo() on my job handle but that call
also fails with access_denied.
How do I properly set these access rights ?? What are all the API's
?? What is the sequence of calling ??
A sample code snippet would be really helpful. I am quite new to the Windows
Object Security programming.
Thanks
~j.