Code review comment for lp://qastaging/~mterry/snap-confine/fix-tests

Revision history for this message
Tyler Hicks (tyhicks) wrote :

How about moving the original strstr() tests inside of the if(geteuid() == 0) { ... } block? That will result in the binary path restrictions being in place when the launcher is installed as a setuid root binary. Those restrictions will not be in place during test runs.

« Back to merge proposal