MCPcopy Create free account
hub / github.com/NetHack/NetHack / hide_privileges

Function hide_privileges

sys/unix/unixres.c:129–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 */
128
129int
130hide_privileges(boolean flag)
131{
132 if (flag)
133 hiding_privileges++;
134 else if (hiding_privileges)
135 hiding_privileges--;
136 return hiding_privileges;
137}
138
139int
140nh_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid)

Callers 1

ghack_init_main_windowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected