> > IMHO this explains it as limits.conf is a configuration file for PAM. If you > don't use > any PAM methods (haven't worked out which would be needed) in the code the > limits will not > be applied after setuid. Of course pam_limits.so need to be configured for > session for your app > as well.
Ah, that helps - -thanks!