2020-06-30 12:49:37 +02:00
|
|
|
== Recommended Secure Coding Practices
|
|
|
|
|
2022-09-28 10:23:01 +02:00
|
|
|
* For stateful applications with user management, ensure that only administrators trigger this code.
|
|
|
|
* Verify that the `pid` and `sig` parameters are correct before using them.
|
|
|
|
* Ensure that the process sending the signals runs with as few OS privileges as possible.
|
|
|
|
* Isolate the process on the system based on its (E)UID.
|
|
|
|
* Ensure that the signal does not interrupt any essential functions when intercepted by a target's signal handlers.
|