summaryrefslogtreecommitdiff
path: root/os
AgeCommit message (Collapse)AuthorFilesLines
2007-08-15xace: rename hostlist security hook to "server" as this hook will be usedEamon Walsh1-1/+1
for other types of server access besides just the host list.
2007-08-03security: drop support for XC-QUERY-SECURITY authorization method.Eamon Walsh5-232/+2
2007-08-02Merge branch 'master' into XACE-SELINUXEamon Walsh12-91/+20
Conflicts: dix/devices.c dix/property.c include/dix.h
2007-08-01Build system: Non-dtrace distcheck hacksDaniel Stone1-1/+5
automake 1.10 really wants foo.c for foo.O, so give it some dummy files to deal with if it really needs them.
2007-06-29Death to RCS tags.Adam Jackson2-6/+0
2007-06-28Remove the remnants of OS/2 support.Adam Jackson9-83/+10
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-26Split checks for dtrace & getpeerucred()Alan Coopersmith1-1/+5
2007-06-11Merge branch 'master' into XACE-SELINUXEamon Walsh6-868/+14
Conflicts: dix/dixutils.c
2007-06-04Remove the old Kerberos 5 authentication code.Adam Jackson5-867/+1
Before you complain, this code hasn't seen material change since at least X11R6. It certainly does not build with any modern version of Kerberos. Anybody wanting krb5 auth to their X server should probably be using GSSAPI instead of internal krb5 API anyway.
2007-05-24Fix os/utils.c compile with mingw.Luo Jie1-1/+13
2007-04-17xace: change the semantics of the return value of XACE hooks to allowEamon Walsh1-1/+1
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-09Bug #10560: Code-Cleanup: function declarations () -> (void)Stefan Huehner2-3/+3
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-09Add setrlimit call in -core option to make dumps occur.Keith Packard1-0/+8
Default core size limit for most environments is 0, which disables core dumps. Add code in the -core option processing path to set the core limit to the maximum value.
2007-03-28Bug #10296: Fix timer rescheduling.Tomas Janousek1-3/+6
2007-03-27Enable Composite by default now that it disables itself in the known bad cases.Eric Anholt1-4/+1
2007-03-25General DIX static and dead code cleanup.Adam Jackson5-70/+35
2007-03-25Static cleanups, dead code deletion.Adam Jackson5-29/+19
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-02-16merged in miext/rootless changes for XDarwin supportBen Byer1-1/+1
2007-02-15os: fix client privates leakDaniel Stone1-0/+2
Minor leak here. Oops.
2007-01-10Bug #9555: Always define _GNU_SOURCE in glibc environments.Eric Anholt1-17/+1
This keeps us from having to define _POSIX_C_SOURCE, _BSD_SOURCE, and _XOPEN_SORUCE to get the C environment we want in different places. It also fixes the build on linux due to RTLD_DEFAULT having not been defined.
2007-01-03Move the code for resetting the DPMS mode in response to input events,Fredrik Höglund1-4/+1
from WaitForSomething to mieqProcessInputEvents. mieqProcessInputEvents already handles resetting the screen saver.
2006-12-24os: test for userland, not kernelDaniel Stone1-1/+1
It doesn't matter which kernel we're running on, the relevant part when dealing with includes is what our userland is.
2006-12-19Only do the _POSIX_C_SOURCE hackery on linux where it's required.Eric Anholt1-4/+4
On other OSes, the nasty hack was resulting in prototypes being hidden, so just don't do it.
2006-12-14Naming change: Security*Access -> Dix*AccessEamon Walsh1-1/+1
2006-12-01Define calls away when not building XACE, allowing ifdef's to be removed.Eamon Walsh2-8/+4
2006-11-30Tell automake to STFU about the *.O filesAlan Coopersmith1-1/+1
automake will not stop whining about the *.O files not being in normal library name format, so just tell automake they are PROGRAMS so it builds them without bitching.
2006-11-28Fix potential NULL pointer access in timer code.Matthias Hopf1-7/+9
https://bugzilla.novell.com/show_bug.cgi?id=223718
2006-11-21Issue CloseDownDevices() in os/log.c and remove from dix/main.c.Alan Hourihane1-0/+2
This ensures that all calls to FatalError() will shutdown the input devices.
2006-11-08CheckConnections: don't close down the server client (bug #7876)Rich Coe1-1/+1
When an appgroup is shutting down, the list of clients can change, so make sure we're not trying to shut the server down.
2006-11-08os: fix sun extensions testDaniel Stone1-2/+4
'else if' is not very valid, plus the logic is kind of broken, so just move it outside the ifdef in the first place.
2006-11-08RemoveGeneralSocket: don't touch EnabledDevicesDaniel Stone1-1/+0
RemoveGeneralSocket. Harmless, but.
2006-11-04automake: avoid use of reserved _SOURCES keyword (bug #8866)Bernhard Rosenkraenzer1-13/+13
Avoid using _SOURCES unless we're directly referencing a program or library to be built; use _SRCS instead. Shuts automake 1.10 up.
2006-11-03Add DTrace probe points for X server <-> client communicationsAlan Coopersmith2-2/+40
See http://people.freedesktop.org/~alanc/dtrace/ for more details
2006-11-02Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone1-4/+38
input-hotplug
2006-11-02Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone1-0/+2
input-hotplug
2006-11-01If getpeerucred() is available, include pid & zoneid in audit messages tooAlan Coopersmith1-3/+27
2006-11-01Bug #1997: AUDIT messages should contain uid for local accessesAlan Coopersmith1-5/+15
<https://bugs.freedesktop.org/show_bug.cgi?id=1997>
2006-10-31Make _POSIX_C_SOURCE hack work with Solaris headersAlan Coopersmith1-0/+2
Solaris headers are very literal - if you ask for POSIX_C_SOURCE 199309L, they limit to only the functions in that standard and no more, unless you also specify __EXTENSIONS__ to allow functions beyond the standard base.
2006-10-29GetTimeInMillis: use correct units for clock_gettimeDaniel Stone1-1/+1
Make sure we're treating the nanoseconds as a long, not an int, so we don't overflow.
2006-10-29WaitForSomething: only rewind when delta is more than 250msDaniel Stone1-10/+10
Only rewind time when we're more than (original delta + 250ms) away from executing the timer. When we're walking the timer list, use a goto to iterate all of them from the start again, since timers may drop out of the list. Don't bother trying to be smart in TimerSet, we'll pick it up in WaitForSomething anyway.
2006-10-26Merge branch 'master' into input-hotplugDaniel Stone1-16/+3
2006-10-26GetTimeInMillis: simplify monotonic testDaniel Stone1-16/+3
We don't actually need to get the CPU clock ID, which means we don't need the monotonic_usable test. Since there's now only one branch, the compiler will treat that as likely, so we don't need xproto 7.0.9 anymore. The fallthrough to gettimeofday() is preserved.
2006-10-26Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone2-7/+66
input-hotplug
2006-10-25GetTimeInMillis: spuport monotonic clockDaniel Stone1-4/+35
Add support for CLOCK_MONOTONIC from clock_gettime, and use that in GetTimeInMillis() if available, falling back to the old gettimeofday() implementation. This is _slightly_ faster on some 64-bit architectures, and _slightly_ slower on others (though barely measurable).
2006-10-25WaitForSomething: allow time to rewindDaniel Stone1-3/+31
If time rewinds dramatically, reset all the timers to fix their expiry.
2006-10-13Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone2-14/+12
input-hotplug
2006-08-21Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Alan Coopersmith2-7/+7
XACE-modular
2006-08-18Merge branch 'master' into input-hotplugDaniel Stone1-0/+3
2006-08-18Merge branch 'origin' into input-hotplugDaniel Stone1-0/+4