summaryrefslogtreecommitdiff
path: root/Xext
AgeCommit message (Collapse)AuthorFilesLines
2007-08-29xace: add hooks + new access codes: TOG-CUP extension.Eamon Walsh1-4/+5
2007-08-29xace: drop map-window checking hook, add new hooks for controlling theEamon Walsh3-16/+44
delivery of events to windows and clients. This is tentative. It's likely that an additional last-resort hook will be necessary for code that calls TryClientEvents or WriteEventsToClient directly. It's also possible that new xace machinery will be necessary to classify events and pull useful resource ID's out of them. The failure case also needs some thinking through. Should event delivery "succeed" or should it report undeliverable? Finally, XKB appears to call WriteToClient to pass events. Sigh.
2007-08-28xace: add hooks + new access codes: core protocol input requestsEamon Walsh2-2/+2
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh10-251/+88
over to new system. Need to update documentation and address some remaining vestiges of old system such as CursorRec structure, fb "offman" structure, and FontRec privates.
2007-08-28Merge branch 'master' into XACE-SELINUXEamon Walsh5-22/+10
Conflicts: include/miscstruct.h mi/mibstore.c mi/midispcur.c os/Makefile.am
2007-08-25Implement core protocol backing store exclusively in terms of Composite.Adam Jackson1-16/+0
Composite's automatic redirection is a more general mechanism than the ad-hoc BS machinery, so it's much prettier to implement the one in terms of the other. Composite now wraps ChangeWindowAttributes and activates automatic redirection for windows with backing store requested. The old backing store infrastructure is completely gutted: ABI-visible structures retain the function pointers, but they never get called, and all the open-coded conditionals throughout the DIX layer to implement BS are gone. Note that this is still not a strictly complete implementation of backing store, since Composite will throw the bits away on unmap and therefore WhenMapped and Always hints are equivalent.
2007-08-24Export fbShmPutImage to modules.Michel Dänzer2-2/+5
To be used by EXA.
2007-08-16devPrivates rework: use camelcase standard for name of key type.Eamon Walsh1-5/+5
2007-08-16Add some more support for DragonFly. From Joerg SonnenbergerJeremy C. Reed2-2/+2
and pkgsrc.
2007-08-16xace: drop background-none checking hook, add new hook for controllingEamon Walsh5-25/+21
access to other clients.
2007-08-16xace: add hooks + new access codes: core protocol screensaver requestsEamon Walsh5-7/+9
2007-08-15xace: rename hostlist security hook to "server" as this hook will be usedEamon Walsh5-13/+15
for other types of server access besides just the host list.
2007-08-14Fix the value comparisons in the IDLETIME wakeup handler.Fredrik Höglund1-2/+3
LessThan/GreaterThan comparisons were used in the wakeup handler, and LessOrEqual/GreaterOrEqual in the block handler. Change it to use LessOrEqual/GreaterOrEqual in both functions, since this is what XSyncNegativeComparison and XSyncPositiveComparison imply.
2007-08-14dix: remove caching of drawables and graphics contexts. The security checksEamon Walsh1-1/+1
simply bypass the cached values so they are unused.
2007-08-06xace: drop site-policy and declare-extension-security hooks, add 2 new hooksEamon Walsh3-25/+13
for controlling access to screens and screen savers.
2007-08-03security: drop support for XC-QUERY-SECURITY authorization method.Eamon Walsh3-72/+1
2007-08-03security: drop the "declare extension security" dix call. Use theEamon Walsh5-46/+66
SecurityPolicy configuration file instead.
2007-08-02Merge branch 'master' into XACE-SELINUXEamon Walsh7-18/+0
Conflicts: dix/devices.c dix/property.c include/dix.h
2007-06-29Death to RCS tags.Adam Jackson6-10/+0
2007-06-28Remove the remnants of OS/2 support.Adam Jackson1-8/+0
This has never worked in any modular server release, and as far as I know was never tested in 6.7 through 6.9.
2007-06-21xselinux: adjust the config file format to that expected by libselinux.Eamon Walsh1-95/+85
This file will eventually be moved out of the X source tree.
2007-06-21xselinux: use new libselinux support for context labeling.Eamon Walsh1-561/+30
Remove all the config file parsing code and use the new lookup interface instead.
2007-06-11Merge branch 'master' into XACE-SELINUXEamon Walsh1-1/+0
Conflicts: dix/dixutils.c
2007-06-11xselinux: use new libselinux support for private Flask definitions.Eamon Walsh2-2/+133
Removes indirect dependency on kernel headers.
2007-05-28Allow configurable serverconfigdir for security policy locationEugene Konev1-1/+0
Allow the location of the SERVERCONFIGdir variable to be defined at compile-time. This allows us to specify where the security policy will be located (Debian uses this to put it in /etc). The default is to the previous location.
2007-05-22Merge branch 'master' into XACE-SELINUXEamon Walsh1-0/+119
Conflicts: include/miscstruct.h
2007-05-18Add a new IDLETIME system sync counter.Fredrik Höglund1-0/+119
This counter exposes the time in milliseconds since the last input event. Clients such as screen savers and power managers can set an alarm on this counter to find out when the idle time reaches a certain value, without having to poll the server.
2007-04-17xace: change the semantics of the return value of XACE hooks to allowEamon Walsh5-174/+186
arbitrary X status codes instead of just TRUE/FALSE. The dix layer in most cases still does not propagate the return value of XACE hooks back to the client, however. There is more error propagation work to do.
2007-04-17security: remove debugging code.Eamon Walsh1-53/+0
2007-04-17Merge branch 'master' into XACE-SELINUXEamon Walsh3-6/+6
Conflicts: dix/privates.c
2007-04-09Bug #10560: Code-Cleanup: function declarations () -> (void)Stefan Huehner3-6/+6
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560> Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
2007-04-05Merge branch 'master' into XACE-SELINUXEamon Walsh1-2/+11
Conflicts: configure.ac
2007-04-03security: rewrite to use new devPrivates support.Eamon Walsh1-37/+38
2007-04-03CVE-2007-1003: XC-MISC Extension ProcXCMiscGetXIDList() Memory CorruptionMatthieu Herrb1-2/+11
2007-03-28xace: minor comment fixes.Eamon Walsh1-2/+1
2007-03-26Merge branch 'master' into XACE-SELINUXEamon Walsh12-145/+30
2007-03-25Static and dead code cleaup for Xext/Adam Jackson12-144/+29
2007-03-23xace: pass serverClient as default argument to dixChangeWindowPropertyEamon Walsh2-6/+8
instead of NullClient.
2007-03-22xace: drop the name argument from the property callback.Eamon Walsh4-5/+2
2007-03-22dix: reorganize property code to better support xace hook; requires new API forEamon Walsh2-2/+2
changing a property, dixChangeWindowProperty, taking an additional client argument.
2007-03-22xace: add new argument to property hook for property structure itself.Eamon Walsh3-8/+3
2007-03-21xace: add access_mode argument to selection hook.Eamon Walsh2-0/+2
2007-03-21xace: bump major version since the hooks have changed.Eamon Walsh1-1/+1
2007-03-21xace: add XACE_SELECTION_ACCESS hook for selection redirection/access.Eamon Walsh3-7/+26
2007-03-20Static markup and dead code cull over xkb/.Adam Jackson1-1/+1
The former <X11/extensions/XKBsrv.h> has been pulled into the server now as include/xkbsrv.h, and the world updated to look for it in the new place, since it made no sense to define server API in an extension header. Any further work along this line will need to do similar things with XKBgeom.h and friends.
2007-03-19xace: drop XACE_WINDOW_INIT hook, it has been superseded by ↵Eamon Walsh3-18/+3
ResourceStateCallback.
2007-03-19xselinux: use the new ResourceStateCallback instead of the XACE_WINDOW_INIT ↵Eamon Walsh1-8/+17
hook.
2007-03-19xselinux + security: remove confusing CALLBACK macro.Eamon Walsh2-25/+50
2007-03-08xselinux: remove context validation function for now.Eamon Walsh1-36/+0
2007-03-07Merge branch 'master' into XACE-SELINUXEamon Walsh1-23/+0