[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: XF4



CVSROOT:	/cvs
Module name:	XF4
Changes by:	matthieu_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/02/17 16:04:21

Modified files:
	xc/config/cf   : OpenBSD.cf 
	xc/programs/Xserver/os: Imakefile connection.c 
	xc/programs/Xserver/hw/xfree86/dummylib: Imakefile 
	xc/programs/Xserver/hw/xfree86/os-support/bsd: bsd_init.c 
	xc/programs/Xserver/hw/xfree86/os-support/shared: posix_tty.c 
Added files:
	xc/programs/Xserver/os: privsep.c 
	xc/programs/Xserver/hw/xfree86/dummylib: privsep.c 

Log message:
Privilege separation for X. This creates a child process in the X server
that keeps root privileges in order to do the few operations that really
need root to work correctly : sending SIGUSR1 to xdm and (re)opening the
mouse device after each VT switch.
It will fix problems with xdm and multiple VTs and kdm too.
Based on some basic code by espie@, provos@ and other contributions.
Ok deraadt_(_at_)__(_dot_)_



Visit your host, monkey.org