[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: "Todd C. Miller" <millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Mon, 24 Mar 2003 19:15:22 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2003/03/24 19:15:21
Modified files:
usr.sbin/lpr/lpr: lpr.c
usr.sbin/lpr/lprm: lprm.c
Log message:
Fix last commit; to emulate setuid daemon + PRIV_END we need to
set the real & effective uids to the calling user and the saved
uid to daemon. Fixes a problem where lpr could not print files
that were not world-readable.
Visit your host, monkey.org