Eamon Walsh
4363d70c6b
registry: Fix some mistakes in the reversion of prior commits.
2007-11-20 18:58:55 -05:00
Eamon Walsh
5269da2bde
Revert "registry: Register XvMC extension protocol names."
...
This reverts commit 853ea337bd
.
Moving all the names into dix/registry.c
2007-11-20 18:43:38 -05:00
Eamon Walsh
03a86c8d5e
Revert "registry: Register Xv extension protocol names."
...
This reverts commit 12766c5b5f
.
Moving all the names into dix/registry.c
2007-11-20 18:42:19 -05:00
Eamon Walsh
edcf490cdb
registry: Remove registry code from XTest extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:41:10 -05:00
Eamon Walsh
5fea1ed50f
registry: Remove registry code from SELinux extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:39:48 -05:00
Eamon Walsh
9a8af33718
Revert "registry: Register Resource extension protocol names."
...
This reverts commit 5c8b1a9172
.
Moving all the names into dix/registry.c
2007-11-20 18:38:24 -05:00
Eamon Walsh
e6023e0208
Revert "registry: Register XPrint extension protocol names."
...
This reverts commit f077578e42
.
Moving all the names into dix/registry.c
2007-11-20 18:36:49 -05:00
Eamon Walsh
277345fb70
registry: Remove registry code from XF86Bigfont extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:35:57 -05:00
Eamon Walsh
bf27edd365
Revert "registry: Register EVIE extension protocol names."
...
This reverts commit 48891d5696
.
Moving all the names into dix/registry.c
2007-11-20 18:34:14 -05:00
Eamon Walsh
6874271794
registry: Remove registry code from XC-MISC extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:32:54 -05:00
Eamon Walsh
4b0274e8f7
Revert "registry: Register SYNC extension protocol names."
...
This reverts commit 9f597f6c87
.
Moving all the names into dix/registry.c
2007-11-20 18:25:15 -05:00
Eamon Walsh
4c7cf5aa4c
Revert "registry: Register SHM extension protocol names."
...
This reverts commit 2c9646ad4e
.
Moving all the names to dix/registry.c
2007-11-20 18:23:57 -05:00
Eamon Walsh
67e82e306f
Revert "registry: Register SHAPE extension protocol names."
...
This reverts commit 4e274e90e1
.
Moving all the names to dix/registry.c
2007-11-20 18:22:59 -05:00
Eamon Walsh
8583bf78ad
registry: Remove registry code from XC-SECURITY extension.
...
Moving all the names to dix/registry.c
2007-11-20 18:21:09 -05:00
Eamon Walsh
55744d8e5d
Revert "registry: Register MIT-SCREEN-SAVER extension protocol names."
...
This reverts commit 58c3240fcb
.
Moving all the names into dix/registry.c
2007-11-20 18:19:44 -05:00
Eamon Walsh
36ef45928c
registry: Remove registry code from MIT-MISC extension.
...
Moving all the names to dix/registry.c
2007-11-20 18:18:01 -05:00
Eamon Walsh
816e6e612e
Revert "registry: Register Multibuffer extension protocol names."
...
This reverts commit 3877faf7d9
.
Moving all the names into dix/registry.c
2007-11-20 18:15:37 -05:00
Eamon Walsh
40a0da044e
registry: Remove registry code from Fontcache extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:13:43 -05:00
Eamon Walsh
46412baf60
registry: Remove registry code from EVI extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:11:06 -05:00
Eamon Walsh
460c43032f
registry: Remove registry code from DPMS extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:10:14 -05:00
Eamon Walsh
76e89d45b4
registry: Remove registry code from TOG-CUP extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:06:40 -05:00
Eamon Walsh
ce93c5772d
registry: Remove registry code from BigRequests extension.
...
Moving all the names into dix/registry.c
2007-11-20 18:03:57 -05:00
Eamon Walsh
0756d12712
Revert "registry: Register APPGROUP extension protocol names."
...
This reverts commit b504678ba5
.
Moving all the names into dix/registry.c
2007-11-20 17:59:40 -05:00
Eamon Walsh
546d46224e
Revert "registry: Register XINERAMA extension protocol names."
...
This reverts commit b9f5ab98c8
.
Moving all the names into dix/registry.c
2007-11-20 17:37:48 -05:00
Eamon Walsh
709c1a70c8
Remove some duplicate include statements.
2007-11-20 15:18:02 -05:00
Eamon Walsh
60be452c2e
xace: restore the old SaveScreens function and introduce new API, since the
...
old version is called from drivers...
2007-11-19 16:59:34 -05:00
Eamon Walsh
1603130236
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
Xext/xace.c
Xext/xace.h
2007-11-14 13:35:50 -05:00
Eamon Walsh
f207e69d62
xselinux: adjust receive hook to use new synthetic_event class.
2007-11-14 12:23:29 -05:00
Eamon Walsh
45f884d79c
xselinux: add new synthetic_event security class, and fix registry code.
2007-11-09 15:00:15 -05:00
Eamon Walsh
b092856bab
registry: Register XC-SECURITY extension protocol names.
2007-11-09 14:45:02 -05:00
Eamon Walsh
9d03cad144
Remove SecurityPolicy file and associated references in the manpages.
2007-11-08 16:46:31 -05:00
Eamon Walsh
8b5d21cc1d
Rework of the XC-SECURITY extension. The gen-auth protocol has not changed,
...
but the XC-QUERY-SECURITY-1 authorization method and the SecurityPolicy
configuration file have been removed. The semantics of the trusted vs.
untrusted split have been changed. This will be documented in a future
commit.
2007-11-08 16:32:42 -05:00
Eamon Walsh
d7c5e8bfc1
Modified performance patches from Arjan van de Ven <arjan@infradead.org>
...
Subject: [PATCH] fix some performance gaps in Xace
The XaceHook function is used in several hotpaths.
The problem with it (performance wise) is twofold:
* The XaceHook function has a big switch() statement for the hook number in it
* The XaceHook function uses varargs to reassemble the final dispatch arguments again
Both are expensive operations... for something that is known at compile time
This patch turns the hotpath XaceHook call into a direct call to avoid
the switch and varargs; this gives me over 10% performance gain
on the x11perf benchmark.
2007-11-06 16:26:09 -05:00
Eamon Walsh
a52c9b2a59
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
dix/dispatch.c
dix/property.c
hw/xfree86/common/xf86VidMode.c
include/xkbsrv.h
render/glyph.c
xkb/xkbActions.c
2007-11-05 19:08:36 -05:00
Eamon Walsh
c7e18beb3c
xselinux: Register SELinux extension protocol names.
2007-11-05 15:02:05 -05:00
Daniel Stone
934281126f
Xext: Remove usage of alloca
...
Replace with heap allocations.
2007-11-05 14:34:46 +00:00
Aaron Plattner
f2e310132f
Add CreatePixmap allocation hints.
...
These hints allow an acceleration architecture to optimize allocation of certain
types of pixmaps, such as pixmaps that will serve as backing pixmaps for
redirected windows.
2007-11-04 16:11:28 -08:00
Eamon Walsh
3b7af72fe3
xselinux: Add a SetDeviceContext request and stubs for more requests.
2007-10-26 20:32:47 -04:00
Eamon Walsh
7d14ca59c5
xselinux: Don't include the client in the receive hook audit messages.
2007-10-25 19:00:50 -04:00
Eamon Walsh
40de9fcf18
xselinux: Label the default device directly with the process context.
2007-10-25 12:35:01 -04:00
Eamon Walsh
4b05f19cb9
xselinux: Introduce a type transition when labeling events.
2007-10-24 19:59:58 -04:00
Eamon Walsh
0d2ef187e7
xselinux: Add audit message fields for selection and event names.
2007-10-24 18:23:31 -04:00
Eamon Walsh
46521f5298
xselinux: Add basic support for selection access control and redirection.
...
Probably not fully baked yet. It's difficult to test since so few apps
actually follow the ICCCM with respect to cut & paste.
2007-10-23 20:58:48 -04:00
Eamon Walsh
825f09dffd
xace: Still more changes to selection code. Removed the SelectionPtr from
...
the hook - the hook only needs the Atom to control access to the selection
object. Upgraded the SelectionCallback to take a client argument and
additional type codes so that it can be used for redirection.
2007-10-23 17:12:57 -04:00
Eamon Walsh
660557593e
xselinux: Remove synthetic bit when looking up event type.
2007-10-23 14:46:37 -04:00
Eamon Walsh
d7db549db4
xselinux: Unregister callbacks on server reset.
2007-10-23 14:08:54 -04:00
Eamon Walsh
ce7f6fe126
xselinux: properly update sizes when dynamic arrays are resized...
2007-10-19 19:40:04 -04:00
Eamon Walsh
55a96aa6b0
xselinux: add basic event labeling.
2007-10-18 14:11:11 -04:00
Eamon Walsh
e974bc1233
xselinux: add hooks for send and receive access.
2007-10-18 12:33:39 -04:00
Eamon Walsh
aa340b2c7c
xselinux: add hook for device acceses.
2007-10-17 19:27:16 -04:00