Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cleanup is_root? method for Linux::Priv / Solaris::Priv #10634
This PR cleans up the
The Solaris implementation assumed the user was
The Linux implementation was fine, however the logic was a little redundant. It assumed
Solaris 10 non-root:
Solaris 10 root:
I did get a chance to have it bug on me, and it handled it well.
Tested on Ubuntu 18.04, 16.04, Fedora 13, Solaris 10, root and user, both worked as expected.