docs: add docs for sm permissive unregistration

This commit is contained in:
misson20000 2018-12-20 19:25:13 -08:00
parent f38b610732
commit 39206fbe85

View File

@ -67,3 +67,7 @@ By default, the Stratosphere implementation of PM will raise any session limits
### Weak Service Verification ### Weak Service Verification
In system firmware versions before 3.0.1, if a process did not call the [Initialize](https://reswitched.github.io/SwIPC/ifaces.html#nn::sm::detail::IUserInterface(0)) command on its `sm:` session, normally used to inform sm of the process's identity, sm would assume that the process was a kernel internal process and skip any service registration or access checks. The Stratosphere implementation of sm reimplements this vulnerability, allowing homebrew processes to skip service registration and access checks. In system firmware versions before 3.0.1, if a process did not call the [Initialize](https://reswitched.github.io/SwIPC/ifaces.html#nn::sm::detail::IUserInterface(0)) command on its `sm:` session, normally used to inform sm of the process's identity, sm would assume that the process was a kernel internal process and skip any service registration or access checks. The Stratosphere implementation of sm reimplements this vulnerability, allowing homebrew processes to skip service registration and access checks.
### Permissive Unregistration
Stock sm ensures that a service may only be unregistered by the service that registered it, or a built-in. This requirement has been removed so that a service may be unregistered by any process.