runningPrivileged returns true if the effective user ID of the calling process is 0
()
| 78 | // runningPrivileged returns true if the effective user ID of the |
| 79 | // calling process is 0 |
| 80 | func runningPrivileged() bool { |
| 81 | return unix.Geteuid() == 0 |
| 82 | } |
no outgoing calls
searching dependent graphs…