[PATCH v2 1/4] conf: refactor launch security to allow more types