MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / debug_or_root

Method debug_or_root

kernel/cellos/src/sys_process.cpp:33–35  ·  view source on GitHub ↗

Check all flags known to be related to extended permissions (TODO) It's possible anything which has root flags implicitly has debug perm as well But I haven't confirmed it.

Source from the content-addressed store, hash-verified

31// It's possible anything which has root flags implicitly has debug perm as well
32// But I haven't confirmed it.
33bool ps3_process_info_t::debug_or_root() const {
34 return (ctrl_flags1 & (0xe << 28)) != 0;
35}
36
37bool ps3_process_info_t::has_root_perm() const {
38 return (ctrl_flags1 & (0xc << 28)) != 0;

Calls

no outgoing calls

Tested by

no test coverage detected