Hello all,
I’d like to verify that an application was spawned with the SPAWN_CRITICAL flag.
https://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.lib_ref/topic/s/spawn.html
If posix_spawn is used
https://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.lib_ref/topic/p/posix_spawn.html
rather than spawn, it is possible to determine what flags were used with the api posix_spawnattr_getxflags().
https://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.lib_ref/topic/p/posix_spawnattr_getxflags.html
However, I’d like to verify the service was spawned with SPAWN_CRITICAL flag via another application. Any way of doing this other than killing the process and verifying the system crashes?