[Bug 2407] run Xserver with normal user permissions
bugzilla-daemon@freedesktop.org
bugzilla-daemon@freedesktop.org
Fri Jan 28 08:13:21 PST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=2407
------- Additional Comments From eich@pdx.freedesktop.org 2005-01-28 08:13 -------
Committed.
This patch may break build for non-Linux OSes. I didn't have the opportunity to
test this code.
Leaving open for further discussion.
2005-01-28 Egbert Eich <eich-at-freedesktop-dot-org>
* programs/Xserver/hw/xfree86/common/xf86Bus.c:
(xf86FindPrimaryDevice):
* programs/Xserver/hw/xfree86/common/xf86Configure.c:
(DoConfigure):
* programs/Xserver/hw/xfree86/common/xf86DoProbe.c: (DoProbe):
* programs/Xserver/hw/xfree86/common/xf86Events.c: (xf86VTSwitch):
* programs/Xserver/hw/xfree86/common/xf86Globals.c:
* programs/Xserver/hw/xfree86/common/xf86Helper.c: (xf86AddDriver),
(xf86AllocateScreen):
* programs/Xserver/hw/xfree86/common/xf86Init.c: (InitOutput),
(ddxProcessArgument), (ddxUseMsg):
* programs/Xserver/hw/xfree86/common/xf86Priv.h:
* programs/Xserver/hw/xfree86/common/xf86RandR.c:
(xf86RandRGetInfo), (xf86RandRSetConfig):
* programs/Xserver/hw/xfree86/common/xf86str.h:
* programs/Xserver/hw/xfree86/drivers/dummy/dummy_driver.c:
(dummySetup), (dummyDriverFunc):
* programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c: (FBDevSetup),
(FBDevDriverFunc):
* programs/Xserver/hw/xfree86/etc/scanpci.c: (main):
* programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/bsd/arm_video.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/bsd/i386_video.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/bsdi/bsdi_video.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/bus/Pci.c:
* programs/Xserver/hw/xfree86/os-support/bus/ix86Pci.c:
(ix86PciSelectCfgmech):
* programs/Xserver/hw/xfree86/os-support/bus/linuxPci.c:
(linuxPciOpenFile), (linuxPciCfgRead), (linuxPciCfgWrite),
(linuxPciCfgSetBits), (xf86GetPciDomain), (linuxMapPci):
* programs/Xserver/hw/xfree86/os-support/bus/ppcPci.c:
(ppcPciInit), (motoppcPciInit), (buserr), (pciCfgMech1Read),
(pciCfgMech1Write), (pciCfgMech1SetBits):
* programs/Xserver/hw/xfree86/os-support/hurd/hurd_video.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/linux/lnx_init.c:
(xf86OpenConsole), (xf86CloseConsole):
* programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c:
(SetKbdRepeat):
* programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/nto/nto_ioperm.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/os2/os2_ioperm.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/sco/sco_iop.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/shared/ioperm_noop.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/sunos/sun_vid.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/sysv/sysv_video.c:
(xf86EnableIO):
* programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:
Modifying X.Org Xserver DDX to allow to run X with ordinary
user permissions when no access to HW registers is required.
For API changes which mostly involve the modifications to
make the RRFunc (introduced with 6.8) more flexible please
check Bugzilla #2407.
NOTE: This patch applies changes to OS specific files for
other OSes which I cannot test.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list