~ubuntu-branches/ubuntu/dapper/hal/dapper

Viewing all changes in revision 12.

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-02-21 16:58:53 UTC
  • Revision ID: james.westby@ubuntu.com-20060221165853-nf9isyw9r42ithop
Tags: 0.5.6-4ubuntu3
* debian/run-hald.sh: Specify absolute paths in HALD_RUNNER_PATH to make
  the runner find the callouts in the source tree.
* debian/patches/08_privileges-addons.patch: Completely rework patch.
  - hald/linux2/probing/shared.h: Factor out drop_privileges() into this
    header file and add 'keep_auxgroups' parameter.
  - hald/linux2/addons/addon-storage.c: Drop privileges with keeping
    auxiliary groups right at the start; since the helper repeatedly opens
    the device file for good reasons, we cannot keep an opened fd around.
  - hald/linux2/addons/addon-acpi.c:
    + If /proc ACPI interface is disabled, drop privileges right away (since
      everybody can read from acpid).
    + Otherwise, drop privileges right after opening the kernel's ACPI
      interface. Move this part out of the reconnect loop since after
      dropping privs we cannot reconnect (and the kernel interface shouldn't
      disappear anyway).
  - hald/linux2/addons/addon-pmu.c: Drop all privileges after opening
    /dev/adb.
* debian/patches/07_add-keyboard-addons.patch: Remove drop_privileges()
  since it's already in shared.h.
* debian/hal.init.dbus: Remove the extra pid check/kill, start-stop-daemon
  should be sufficient to stop hal nowadays.
* Revert changes from previous upload; discussion revealed that hal should
  deliberately ignore settings in /etc/default/acpi-support, so we don't
  need the PMI querying.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: