> this should be more portable and future-save, right?
Actually, our suser() implementation is pretty non-portable.
However, using suser() rather than a credential check is better form. In
the former case, you are checking for the presence of special privileges,
while in the latter case, you are checking for a particular user id. As
such things as CAP_FOO become more common, the latter method is a quite
unneccessary obstacle.
Marius
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message