Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: $< and setuid: quite different animals?

by almut (Canon)
on Apr 10, 2010 at 06:52 UTC ( #833957=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $> = $uid;
    $< = $uid;
    ...
    
  2. or download this
    $ 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
    +itted)
    setreuid(0, 4294967295)                 = -1 EPERM (Operation not perm
    +itted)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://833957]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-12-21 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (107 votes), past polls