[fpc-pascal]SetUid

Balázs Csaba csbalazs at ccs.hu
Fri Jan 24 14:36:12 CET 2003


Hello masters!

I am new on maillist. I have got a question. A cannot find function called
setuid() like in c++. In the source of compiler/units a have found a section
where the linux like function declared. There is a contant called
"syscall_nr_setuid", but it is NOT used in any function. A can declare a
setuid function but i do not know which registers are user int this
function.
How can I switch to a low-level user (not root) after a fork()
Can somebody help me?

Regards!
Balázs Csaba




More information about the fpc-pascal mailing list