summaryrefslogtreecommitdiff
path: root/os/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2010-12-23os: Add facilities for client ID tracking.Rami Ylimäki1-0/+1
An interface is provided for figuring out the PID and process name of a client. Make some existing functionality from SELinux and IA extensions available for general use. Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2010-12-23Revert "os: Prevent backtrace from being stopped in noreturn functions."Rami Ylimäki1-12/+5
This reverts commit 579715f830fbbca9e1ecb17dc18176132f5969e7. The patch is not needed anymore. I haven't encountered backtrace problems with GCC 4.3.3. Even if the problems still persisted, this commit should be removed and instead the definition of _X_NORETURN should be modified to be empty if GCC/ARM is used. However, currently it seems that ARM backtraces are OK even if _X_NORETURN is used and -mapcs-frame is not defined in CFLAGS. Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi> Reviewed-by: Jamey Sharp <jamey@minilop.net>
2010-03-25os: Prevent backtrace from being stopped in noreturn functions.Rami Ylimaki1-5/+12
There are two noreturn functions in the X server: FatalError and AbortServer. Having any of those two functions in the middle of a call stack will prevent unwinding the program properly and stops the backtrace at those functions in gdb. The file containing FatalError and AbortServer, os/log.c, has to be compiled with the -mapcs-frame option on ARM to get proper backtraces. Automake imposes its own restrictions on compiling individual source files with different options. The recommended way to do this is to put os/log.c into a convenience library and add this library inside os/libos.la. See the documentation of GNU Automake manual, version 1.11.1, section 27.8 Per-Object Flags Emulation, for details. Signed-off-by: Rami Ylimaki <ext-rami.ylimaki@nokia.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Keith Packard <keithp@keithp.com>
2009-10-29Supply all code using dl*() with DLOPEN_LIBSMikhail Gusarov1-1/+1
Previously DLOPEN_LIBS was managed in top-level configure.ac. Instead bundle it with the code using dl*() functions to avoid breakages in uncommon configurations. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2009-10-15Move SHA1 computation from render/glyph.c to os/Julien Cristau1-1/+3
Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Rémi Cardona <remi@gentoo.org>
2009-10-06Use $(AM_V_GEN) to silence more commands when AM_SILENT_RULES is activeAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Dan Nicholson <dbn.lists@gmail.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-06Add platform tests for Dtrace linker magicAlan Coopersmith1-3/+1
Replaces special handling for Xquartz DDX and scales better to handling the multiple platforms that now have some level of Dtrace support available. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2009-09-27Add (ok, fix) support for DTrace under OS XBen Byer1-0/+2
(cherry picked from commit 8428a57184f542941d2c8c90e97d18e111a69dd2)
2008-10-10Move xorg_backtrace() up to the OS level so we can call it from DIX.Adam Jackson1-0/+1
2008-08-09Move string comparaison functions to from dix/ to os/.Matthieu Herrb1-0/+2
2008-07-16OS/KDrive/XFree86: Sanitise colour initialisationDaniel Stone1-1/+0
OsInitColors always just returned TRUE, so just remove calls to it and insane special-case logic. Remove unused kcolor.c implementation, and merge oscolor.h into oscolor.c since it was the only user. Remove open-coded strncasecmp in oscolor.c. Since we no longer need to call OsInitColors after reading the config file, just call PostConfigInit() from one place, and move PM handling to one place so we can install the signal handlers earlier.
2007-12-13Merge branch 'master' into XACE-SELINUXEamon Walsh1-8/+1
Conflicts: Xext/EVI.c Xext/bigreq.c Xext/cup.c Xext/dpms.c Xext/fontcache.c Xext/mitmisc.c Xext/xcmisc.c Xext/xf86bigfont.c Xext/xtest.c configure.ac dbe/dbe.c hw/darwin/darwin.h hw/darwin/darwinEvents.c hw/darwin/iokit/xfIOKit.h hw/darwin/iokit/xfIOKitCursor.c hw/darwin/quartz/fullscreen/fullscreen.c hw/darwin/quartz/fullscreen/quartzCursor.c hw/darwin/quartz/quartz.c hw/darwin/quartz/quartzCommon.h hw/darwin/quartz/quartzCursor.c hw/darwin/quartz/xpr/dri.c hw/darwin/quartz/xpr/dristruct.h hw/darwin/quartz/xpr/xprCursor.c hw/darwin/quartz/xpr/xprFrame.c hw/xfree86/modes/xf86RandR12.c include/cursor.h miext/rootless/rootlessCommon.h miext/rootless/rootlessScreen.c miext/rootless/rootlessWindow.c render/picturestr.h Trying to pick up the pieces from the darwin churn here...
2007-12-03Death to libcwrapper.Adam Jackson1-8/+1
This has been deprecated since 1.1. Since we're breaking ABI again anyway, remove it entirely.
2007-11-19Merge branch 'master' into XACE-SELINUXEamon Walsh1-3/+0
Conflicts: hw/xnest/Pixmap.c include/dix.h
2007-11-15Nuke the debugging allocator.Adam Jackson1-3/+0
This has never been hooked up in the modular build, and can not possibly have built since before 6.7. Clearly no one's using it.
2007-08-28Merge branch 'master' into XACE-SELINUXEamon Walsh1-1/+5
Conflicts: include/miscstruct.h mi/mibstore.c mi/midispcur.c os/Makefile.am
2007-08-17Actually build Secure RPC authentication support (missed in modularization)Alan Coopersmith1-1/+5
2007-08-03security: drop support for XC-QUERY-SECURITY authorization method.Eamon Walsh1-6/+1
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-04Remove the old Kerberos 5 authentication code.Adam Jackson1-2/+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.
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-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 Coopersmith1-0/+12
See http://people.freedesktop.org/~alanc/dtrace/ for more details
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone1-1/+1
Get rid of almost all uses of these definitions. They're still defined for delinquent out-of-tree drivers, and also for the Mesa build. As well as for miinitext.c. But largely gone.
2006-06-01Kill LBX, too.Daniel Stone1-5/+0
2006-03-21Make the server distcheck and tag 1.0.99.1 snapshot.Kristian Høgsberg1-0/+1
Bump CVS version to 1.0.99.1. Distcheck fixes.
2005-12-06Bugzilla #5219 <https://bugs.freedesktop.org/show_bug.cgi?id=5219> MakeAlan Coopersmith1-18/+19
sure all optional sources are included in EXTRA_DIST, even if they aren't used on the platform the distballs are made on.
2005-12-02Define XFree86Server only where it is required.Kevin E Martin1-1/+1
2005-11-29Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadableKevin E Martin1-3/+15
module builds to reflect this change.
2005-10-17include/dix-config.h.in Add support for more extensionsKevin E Martin1-6/+6
Add missing files to EXTRA_DIST
2005-10-14Hook up lbx.Kristian Høgsberg1-2/+6
2005-07-02Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.Daniel Stone1-3/+2
2005-07-01Adding initial build system.Daniel Stone1-0/+40