> Can anyone enlighten me or sent me some pointers on the following
> problems:
> - if I gdb a core of an setuid program, will the code
>   executed also be setuid?
> - if I execute a program, will the memory in which the executable code is
>   stored read/writable? (i.e. can I insert my own jumps?) I suspect setuid
>   programs are read-only in memory?

Not really sure if this is an answer but you can't strace a suid'd binary
as a none root user, I get permission deied.

--

      Tim Fletcher                  .~.
                                    /V\       L   I   N   U   X
   [EMAIL PROTECTED]           // \  >Don't fear the penguin<
[EMAIL PROTECTED]       /(   )\
                                   ^^-^^
"Courage will take you to the most dangerous places on Earth.
 Overwhelming firepower will see you safely through them."
                                              -Syndicate Wars



-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to