Browse Source

dbus: launch helper should be setuid root

Closes #6464

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 12 years ago
parent
commit
aab3a0ba79
2 changed files with 12 additions and 4 deletions
  1. 8 4
      CHANGES
  2. 4 0
      package/dbus/dbus.mk

+ 8 - 4
CHANGES

@@ -8,10 +8,14 @@
 
 
 	Top level menu names reordered and renamed for clarity.
 	Top level menu names reordered and renamed for clarity.
 
 
-	Updated/fixed packages: acl, attr, bash, directfb, dvb-apps,
-	kexec, kmod, libbsd, linux-fusion, mesa3d, minidlna, openssh,
-	openssl, pulseaudio, python-setuptools, qt5, qt5webkit, redis,
-	strongswan, sunxi-mali
+	Updated/fixed packages: acl, attr, bash, dbus, directfb,
+	dvb-apps, kexec, kmod, libbsd, linux-fusion, mesa3d, minidlna,
+	openssh, openssl, pulseaudio, python-setuptools, qt5,
+	qt5webkit, redis, strongswan, sunxi-mali
+
+	Issues resolved (http://bugs.uclibc.org):
+
+	#6464: dbus-daemon-launch-helper needs setuid
 
 
 2013.08-rc2, Released August 16th 2013:
 2013.08-rc2, Released August 16th 2013:
 
 

+ 4 - 0
package/dbus/dbus.mk

@@ -10,6 +10,10 @@ DBUS_LICENSE = AFLv2.1 GPLv2+
 DBUS_LICENSE_FILES = COPYING
 DBUS_LICENSE_FILES = COPYING
 DBUS_INSTALL_STAGING = YES
 DBUS_INSTALL_STAGING = YES
 
 
+define DBUS_PERMISSIONS
+/usr/libexec/dbus-daemon-launch-helper f 4755 0 0 - - - - -
+endef
+
 DBUS_DEPENDENCIES = host-pkgconf
 DBUS_DEPENDENCIES = host-pkgconf
 
 
 DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
 DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes