> - if I gdb a core of an setuid program, will the code
>   executed also be setuid?

No. And a setuid program won't dump core unless run as the id it would setuid
to anyway

> - 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?

You can do what you like. If its under the gdb debugger it wont be setuid


-
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