[fpc-pascal]SetUid
Marco van de Voort
marcov at stack.nl
Fri Jan 24 15:06:07 CET 2003
> 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?
Note that that last one is untested, since I don't have Linux myself, and
don't have root rights on the remote system I do some linux testing now and then.
More information about the fpc-pascal
mailing list