in reply to $< and setuid: quite different animals?
Try it the other way round (first effective, then real):
$> = $uid;
$< = $uid;
$ sudo strace ./switchback.pl 2>&1 | grep '^setr'
setresuid(-1, 65534, -1) = 0
setreuid(65534, 4294967295) = 0
setresuid(-1, 0, -1) = -1 EPERM (Operation not perm
setreuid(0, 4294967295) = -1 EPERM (Operation not perm
Went to join the gridlock to see it
Held an eclipse party
Watched a live feed
I cn"t see tge kwubosd to amswr thus
I tried to see it, but 8000 miles of rock got in the way
Wanted to see it, but they wouldn't reschedule it
Read the book instead
Results (293 votes). Check out past polls.