]> git.saurik.com Git - apple/launchd.git/commitdiff
launchd-258.25.tar.gz mac-os-x-1058 v258.25
authorApple <opensource@apple.com>
Wed, 27 May 2009 16:51:04 +0000 (16:51 +0000)
committerApple <opensource@apple.com>
Wed, 27 May 2009 16:51:04 +0000 (16:51 +0000)
launchd.xcodeproj/project.pbxproj
launchd/src/launchctl.c
launchd/src/launchd_core_logic.c

index 9e28dae4f45109b1b4e9998e38eb6a9aa5855e61..0747d30fe7803513736e0d32651d92aac90fa3f9 100644 (file)
@@ -50,6 +50,7 @@
 /* End PBXAggregateTarget section */
 
 /* Begin PBXBuildFile section */
+               33C2D68C0F8F2C7A00A21214 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 721FBEBB0EA7AE2F0057462B /* Security.framework */; };
                721FBEBC0EA7AE2F0057462B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 721FBEBB0EA7AE2F0057462B /* Security.framework */; };
                72B71B7D0EA7E98A00BFE986 /* exc.defs in Sources */ = {isa = PBXBuildFile; fileRef = FC36291F0E9349410054F1A3 /* exc.defs */; settings = {ATTRIBUTES = (Server, ); }; };
                FC3627BA0E9343220054F1A3 /* StartupItems.c in Sources */ = {isa = PBXBuildFile; fileRef = FC59A0FD0E8C8ADF00D41150 /* StartupItems.c */; };
                                FCC841CC0EA7138700C01666 /* IOKit.framework in Frameworks */,
                                FC3628080E9345E10054F1A3 /* CoreFoundation.framework in Frameworks */,
                                FCD713740E95DE49001B0111 /* libedit.dylib in Frameworks */,
+                               33C2D68C0F8F2C7A00A21214 /* Security.framework in Frameworks */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
index 4c943dbca3b1164f8085e800f4ffca809d7eec60..a766796c2eed7d11659b05aa7d2b7699cf1d3ebd 100644 (file)
@@ -18,8 +18,9 @@
  * @APPLE_APACHE_LICENSE_HEADER_END@
  */
 
-static const char *const __rcs_file_version__ = "$Revision: 23792 $";
+static const char *const __rcs_file_version__ = "$Revision: 23887 $";
 
+#include "config.h"
 #include "launch.h"
 #include "launch_priv.h"
 #include "bootstrap.h"
index 6565b24b495f5cb48e170b263ddad8c1c4aa8643..ec29e12f9f522955fe720cc4e9c1f6390eb0c945 100644 (file)
@@ -16,7 +16,7 @@
  * @APPLE_APACHE_LICENSE_HEADER_END@
  */
 
-static const char *const __rcs_file_version__ = "$Revision: 23792 $";
+static const char *const __rcs_file_version__ = "$Revision: 23923 $";
 
 #include "config.h"
 #include "launchd_core_logic.h"
@@ -2653,6 +2653,8 @@ job_start(job_t j)
                        job_assumes(j, runtime_close(oepair[1]) != -1);
                        j->log_redirect_fd = 0;
                }
+               job_assumes(j, kevent_mod((uintptr_t)j, EVFILT_TIMER, EV_ADD|EV_ONESHOT, NOTE_SECONDS, 1, j) != -1);
+               job_ignore(j);
                break;
        case 0:
                if (_vproc_post_fork_ping()) {