summaryrefslogtreecommitdiff
path: root/launchd
Commit message (Collapse)AuthorAgeFilesLines
* privileged_startx: use root:wheel instead of 0:0Jeremy Huddleston Sequoia2012-09-201-1/+1
| | | | | | http://xquartz.macosforge.org/trac/ticket/637 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* laucnhd: Silence some syslog spamJeremy Huddleston2012-05-191-3/+3
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Fix the destination of moved-aside directories in privileged_startxJeremy Huddleston2012-04-181-1/+1
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Load privileged_startx properly on TigerJeremy Huddleston2012-04-181-0/+4
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Provide more verbose error reporting for launchd checkin failuresJeremy Huddleston2012-04-181-2/+12
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Don't provide the LaunchAgent on TigerJeremy Huddleston2012-04-182-23/+7
| | | | | | Tiger's launchd doesn't support all the features we need from it. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd/privileged_startx: Improved error resolutionJeremy Huddleston2012-02-241-6/+28
| | | | | | | Rather than just failing to do anything when directories aren't what we want them to be, we now try our best to fix the situation. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Add an option (--with-launchagent-xserver) to set the default X11 ↵Jeremy Huddleston2011-10-192-0/+8
| | | | | | | | | server This allows the LaunchAgent and startx to have different default servers which will be useful as the Xorg DDX becomes available on darwin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* darwin: Buildfix for Tiger which doesn't have posix_spawnJeremy Huddleston2011-07-311-1/+21
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Fix an array-index-out-of-bounds crasherJeremy Huddleston2011-05-141-1/+1
| | | | | Found-by: GuardMalloc Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Update console redirection to work with libdispatchJeremy Huddleston2011-05-127-157/+383
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd Set the correct id for privileged_startxJeremy Huddleston2011-05-121-1/+1
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: syslog: Use facility org.x rather than userJeremy Huddleston2011-05-112-3/+3
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: include config.hJeremy Huddleston2011-05-117-3/+19
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Rename launchd-id-prefix to bundle-id-prefixJeremy Huddleston2011-05-117-16/+16
| | | | | | It's used many other places than just for launchd. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Silence clang static analyzerJeremy Huddleston2011-04-271-1/+1
| | | | | | | | | ../console_redirect.c:67:5: warning: Value stored to 'n' is never read n = kevent(kq, ev, 2, NULL, 0, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* privileged_startx: Prefer /usr/bin/mktempJeremy Huddleston2011-04-271-3/+12
| | | | | | | This will avoid accidentally tripping over an incompatible, user-provided GNU flavor mktemp. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Brownbag fix string compareJeremy Huddleston2011-04-262-3/+3
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: console_redirect: Actually read and log the remaining data when we ↵Jeremy Huddleston2011-04-261-5/+11
| | | | | | get EV_EOF Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Remove dead EXTRA_DISTJeremy Huddleston2011-04-261-2/+0
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Fix make distJeremy Huddleston2011-04-261-1/+1
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Enable stdout/stderr redirection to ASLJeremy Huddleston2011-04-268-5/+318
| | | | | | | Don't rely on launchd to do our logging for us. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Daniel A. Steffen <dsteffen@apple.com>
* launchd: Log messages to ASL rather than fprintfJeremy Huddleston2011-04-253-9/+14
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* launchd: Reorganized layout of launchd sourcesJeremy Huddleston2011-04-2514-0/+731
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* OS-X: Added argv[0] hack for finding Xquartz UI and icon as well as claiming ↵Jeremy Huddleston2007-12-163-129/+0
| | | | | | its dock icon Partially removes need for x11-exec on OS-X. We still need to handle options set in defaults.
* Changed x11-exec to actually start X11.app. X11.app will be responsible for ↵Jeremy Huddleston2007-12-153-6/+27
| | | | calling xinit.
* Added Apple launchd supportJeremy Huddleston2007-12-153-0/+108