I am working with sandbox project Spawner (https://github.com/klenin/Spawner) under Windows platform.
I encountered a problem: how I can assign process, created with CreateWithLogonW function, to job object, created by my process?
I've tried to create custom security descriptor allowing all actions to everyone and use it in CreateJobObject, but nothing happens. Result still the same:
Access denied.
Can do I do it at all? Or there is no solution in such way?