A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Hermès Bélusca-Maïto ba62280d9e [NTOS]
- Fix Job object session ID setting and comparison; fix a list initialization.
- Correct some comments.
- As Alex noticed it 7 years and 2 months ago, in revision 23197, the ProcessSessionInformation case in the NtSetInformationProcess API doesn't set a new session ID for the given process anymore (checked by myself too), because it is set once and for all at process creation time and is stored inside the Process->Session structure managed by MM. Therefore fake changing it: we just return success if the user-defined value is the same as the session ID of the process, and otherwise we fail.

svn path=/trunk/; revision=60298
2013-09-21 22:59:24 +00:00
reactos [NTOS] 2013-09-21 22:59:24 +00:00
rosapps
rostests
wallpaper