xserver-multidpi/include
Ray Strode 4b4b9086d0 os: support new implicit local user access mode [CVE-2015-3164 2/3]
If the X server is started without a '-auth' argument, then
it gets started wide open to all local users on the system.

This isn't a great default access model, but changing it in
Xorg at this point would break backward compatibility.

Xwayland, on the other hand is new, and much more targeted
in scope.  It could, in theory, be changed to allow the much
more secure default of a "user who started X server can connect
clients to that server."

This commit paves the way for that change, by adding a mechanism
for DDXs to opt-in to that behavior.  They merely need to call

LocalAccessScopeUser()

in their init functions.

A subsequent commit will add that call for Xwayland.

Signed-off-by: Ray Strode <rstrode@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-05-26 11:22:21 -07:00
..
.gitignore
busfault.h
callback.h Avoid starting a comment with */* 2014-07-17 10:19:52 -07:00
client.h
closestr.h
closure.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
colormap.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
colormapst.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
cursor.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
cursorstr.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
dbus-core.h xfree86: drop double-typedef of DBusConnection 2014-11-12 10:25:00 +10:00
dix-config-apple-verbatim.h
dix-config.h.in Add AC_SYS_LARGEFILE defines to dix-config.h 2015-05-12 08:02:11 -07:00
dix.h Missing parens in REQUEST_FIXED_SIZE macro [CVE-2014-8092 pt. 5] 2014-12-09 11:28:07 -08:00
dixaccess.h
dixevents.h
dixfont.h Avoid starting a comment with */* 2014-07-17 10:19:52 -07:00
dixfontstr.h
dixfontstubs.h
dixgrabs.h Avoid starting a comment with */* 2014-07-17 10:19:52 -07:00
dixstruct.h
eventconvert.h
events.h
eventstr.h Delete stray ; in struct _DeviceChangedEvent 2014-02-09 17:21:20 -08:00
exevents.h
extension.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
extinit.h Make PseudoramiXExtensionInit() prototype more generally available 2015-03-16 16:56:17 +00:00
extnsionst.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
gc.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
gcstruct.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
globals.h
glx_extinit.h
hotplug.h config: Replace OdevAttributes linked list with struct 2014-07-17 17:10:48 -07:00
input.h dix: Add unaccelerated valuators to the ValuatorMask 2015-05-20 12:44:58 +10:00
inputstr.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
inpututils.h dix: Add unaccelerated valuators to the ValuatorMask 2015-05-20 12:44:58 +10:00
kdrive-config.h.in
list.h include: fix documentation for list.h 2014-11-12 10:24:55 +10:00
Makefile.am Make PseudoramiXExtensionInit() prototype more generally available 2015-03-16 16:56:17 +00:00
misc.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
miscstruct.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
nonsdk_extinit.h Make PseudoramiXExtensionInit() prototype more generally available 2015-03-16 16:56:17 +00:00
opaque.h Add a command line argument for disabling indirect GLX. 2014-04-23 13:24:22 -07:00
optionstr.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
os.h os: support new implicit local user access mode [CVE-2015-3164 2/3] 2015-05-26 11:22:21 -07:00
pixmap.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
pixmapstr.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
privates.h
probes.h Get rid of const warnings in XSERVER_INPUT_EVENT dtrace probe calls 2015-02-10 18:14:44 -08:00
property.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
propertyst.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
protocol-versions.h randr: Add Monitor support (v1.1) 2015-03-31 12:32:04 +10:00
ptrveloc.h
region.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
regionstr.h dix: make RegionInit legal C++ 2015-01-23 10:35:49 -08:00
registry.h XSERVER_DTRACE needs request names from registry too 2014-09-22 12:00:46 -07:00
resource.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
rgb.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
screenint.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
scrnintstr.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
selection.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
servermd.h dix: Fix image byte order on big endian hardware 2015-05-07 14:03:50 -04:00
site.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
swaprep.h
swapreq.h
systemd-logind.h systemd-logind: let the logind code decided whether to close an fd 2014-05-05 07:26:33 +10:00
validate.h
version-config.h.in
window.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
windowstr.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
XIstubs.h
xkb-config.h.in
xkbfile.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xkbrules.h
xkbsrv.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xkbstr.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xorg-config.h.in xfree86: Remove the memory of MTRR awareness 2014-09-16 11:58:53 -04:00
xorg-server.h.in Import reallocarray() from OpenBSD 2015-04-21 16:57:08 -07:00
Xprintf.h
xserver-properties.h
xsha1.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xwin-config.h.in configure: Restore DEFAULT_LOGDIR to xwin-config.h, it is used 2014-06-02 13:07:46 +01:00