Jeunder Yu wrote: > > geteuid may be better. though i would hope the difference doesn't matter. > > The difference is very important for me. > > In my application, I am root and change to different uid, create semaphore > and share memory, make some hand sharking to client app with different uid. > > May I give a patch to fix it?
Ah, thanks, I had forgotten about this. I changed it to geteuid.
