1. 10 Apr, 2012 4 commits
    • Kay Sievers's avatar
      build-sys: add $(AM_CFLAGS) where needed · 235450b0
      Kay Sievers authored
      235450b0
    • Kay Sievers's avatar
      util: move ACL code into internal library · 78b2e3a6
      Kay Sievers authored
      78b2e3a6
    • Kay Sievers's avatar
      util: move all to shared/ and split external dependencies in separate internal libraries · d7832d2c
      Kay Sievers authored
      Before:
        $ ldd /lib/systemd/systemd-timestamp
        linux-vdso.so.1 =>  (0x00007fffb05ff000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f90aac57000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007f90aaa53000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f90aa84a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f90aa494000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f90aae90000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f90aa290000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f90aa08a000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a9e6e000)
      
      After:
        $ ldd systemd-timestamp
        linux-vdso.so.1 =>  (0x00007fff3cbff000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5eaa1c3000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f5ea9fbb000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5ea9c04000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5eaa3fc000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea9a00000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea97e4000)
      d7832d2c
    • Kay Sievers's avatar
      304b9f30
  2. 09 Apr, 2012 3 commits
  3. 08 Apr, 2012 5 commits
  4. 06 Apr, 2012 1 commit
  5. 05 Apr, 2012 2 commits
    • Lennart Poettering's avatar
      systemd: add hardware watchdog support · e96d6be7
      Lennart Poettering authored
      This adds minimal hardware watchdog support to PID 1. The idea is that
      PID 1 supervises and watchdogs system services, while the hardware
      watchdog is used to supervise PID 1.
      
      This adds two hardware watchdog configuration options, for the runtime
      watchdog and for a shutdown watchdog. The former is active during normal
      operation, the latter only at reboots to ensure that if a clean reboot
      times out we reboot nonetheless.
      
      If the runtime watchdog is enabled PID 1 will automatically wake up at
      half the configured interval and write to the watchdog daemon.
      
      By default we enable the shutdown watchdog, but leave the runtime
      watchdog disabled in order not to break independent hardware watchdog
      daemons people might be using.
      
      This is only the most basic hookup. If necessary we can later on hook
      up the watchdog ping more closely with services deemed crucial.
      e96d6be7
    • Michal Schmidt's avatar
      job: use a lookup table for merging of job types · 348e27fe
      Michal Schmidt authored
      It is easier to see what job_type_merge() is doing when the merging
      rules are written in the form of a table.
      
      job_type_is_superset() contained redundant information. It can be
      simplified to a simple rule: Type A is a superset of B iff merging A
      with B gives A.
      
      Two job types are conflicting iff they are not mergeable.
      
      Make job_type_lookup_merge() the core function to decide the type
      merging. All other job_type_*() are just short wrappers around it.
      They can be inline.
      
      test-job-type gives the same results as before.
      btw, the systemd binary is smaller by almost 1 KB.
      348e27fe
  6. 04 Apr, 2012 16 commits
  7. 03 Apr, 2012 9 commits