Always set the kill
status flag on launch.
SDK
- macOS 10.6+
Framework
- Security
Declaration
static var forceKill: Sec Code Signature Flags { get }
Discussion
The k
flag indicates that the code wishes to be terminated if it is ever invalidated. Once the kill bit is set, it cannot be cleared. Therefore, setting this option flag guarantees that the running code will always be valid, since it will die immediately if it becomes invalid.