Date: Tue, 04 Sep 2001 10:20:35 -0600 From: Warner Losh <imp@harmony.village.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/at panic.c privs.h Message-ID: <200109041620.f84GKZh35512@harmony.village.org> In-Reply-To: Your message of "Tue, 04 Sep 2001 09:15:51 PDT." <200109041615.f84GFpx76144@freefall.freebsd.org> References: <200109041615.f84GFpx76144@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200109041615.f84GFpx76144@freefall.freebsd.org> Ruslan Ermilov writes: : The setre[ug]id() calls are still used in the REDUCE_PERM macro (with : the r[ug]id arguments of -1) so that the call changes the saved user : and group IDs of the process to that specified. Just a side note: We should not use setre* calls in the base sources. They present problems for dropping privs since they obliterate the saved uid. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109041620.f84GKZh35512>