Session Manager

From ReactOS Wiki
Jump to: navigation, search

The page Session Manager is a short article on something that should have a lot more information written on it.
If you know anything else about it, you are STRONGLY encouraged to add the information in. If you are unsure of proper formatting or style, add it to the talk page or this page itself as you think best and others will help.


ROS Session Manager (SM) is a special environment subsystem. SMSS.EXE is the first off kernel process run by the system process. Its role is managing any other environment subsystem, like W32, PSX, OS2 etc.

SM is called by a subsystem server at initialization time to say it wants to manage a given subsystem ID (it is the same which compilers put in the subsystem field in PE image files). That action is successful only if no previous subsystem registered itself with the SM for the same ID. This means that, on the same box, can not run two or more W32 environment servers at the same time.

SM itself registers itself with the SM for the subsystem ID=1 (native NT processes). This prevents viruses and other frauds from running fake SMs.