Date: Sun, 25 Jun 2000 01:42:48 +0200 (CEST) From: Marius Bendiksen <mbendiks@eunet.no> To: clemensF <ino-waiting@gmx.net> Cc: freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: sys/ufs/ufs/ufs_quota.c Message-ID: <Pine.BSF.4.05.10006250140430.94644-100000@login-1.eunet.no> In-Reply-To: <20000625001840.A1017@spotteswoode.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10006250140430.94644-100000>