summaryrefslogtreecommitdiff
path: root/launchd
AgeCommit message (Collapse)Author
2015-12-29launchd: Install binaries into libexecdirJeremy Huddleston Sequoia
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2012-09-20privileged_startx: use root:wheel instead of 0:0Jeremy Huddleston Sequoia
http://xquartz.macosforge.org/trac/ticket/637 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2012-05-19laucnhd: Silence some syslog spamJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-04-18launchd: Fix the destination of moved-aside directories in privileged_startxJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-04-18launchd: Load privileged_startx properly on TigerJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-04-18launchd: Provide more verbose error reporting for launchd checkin failuresJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-04-18launchd: Don't provide the LaunchAgent on TigerJeremy Huddleston
Tiger's launchd doesn't support all the features we need from it. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-02-24launchd/privileged_startx: Improved error resolutionJeremy Huddleston
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>
2011-10-19launchd: Add an option (--with-launchagent-xserver) to set the default X11 ↵Jeremy Huddleston
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>
2011-07-31darwin: Buildfix for Tiger which doesn't have posix_spawnJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-14launchd: Fix an array-index-out-of-bounds crasherJeremy Huddleston
Found-by: GuardMalloc Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-12launchd: Update console redirection to work with libdispatchJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-12launchd Set the correct id for privileged_startxJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11launchd: syslog: Use facility org.x rather than userJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11launchd: include config.hJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11Rename launchd-id-prefix to bundle-id-prefixJeremy Huddleston
It's used many other places than just for launchd. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-27launchd: Silence clang static analyzerJeremy Huddleston
../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>
2011-04-27privileged_startx: Prefer /usr/bin/mktempJeremy Huddleston
This will avoid accidentally tripping over an incompatible, user-provided GNU flavor mktemp. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Brownbag fix string compareJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: console_redirect: Actually read and log the remaining data when we ↵Jeremy Huddleston
get EV_EOF Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Remove dead EXTRA_DISTJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Fix make distJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Enable stdout/stderr redirection to ASLJeremy Huddleston
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>
2011-04-25launchd: Log messages to ASL rather than fprintfJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-25launchd: Reorganized layout of launchd sourcesJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2007-12-16OS-X: Added argv[0] hack for finding Xquartz UI and icon as well as claiming ↵Jeremy Huddleston
its dock icon Partially removes need for x11-exec on OS-X. We still need to handle options set in defaults.
2007-12-15Changed x11-exec to actually start X11.app. X11.app will be responsible for ↵Jeremy Huddleston
calling xinit.
2007-12-15Added Apple launchd supportJeremy Huddleston