Age | Commit message (Collapse) | Author | Files | Lines |
|
Sometimes when systems go a bit haywire, the cache file is
written out as a zero byte file. We're still debugging this,
but in the case of a zero byte cache, just regenerate it anyway
|
|
Defined ACL and device-access policy for smart_card_reader. Added
information to the spec.
|
|
Defined new (sub-)namespace(s) for smart card reader as discussed in
fd.o#19663 and opensc:
- smart_card_reader
- smart_card_reader.card_reader (for smart card reader)
- smart_card_reader.crypto_token (for smart/crypto token devices)
|
|
Set default udev_prefix to ${exec_prefix}/lib in configure.in to
get by default ${exec_prefix}/lib/udev/rules.d as the actual
udev package use. Use --with-udev-prefix to change the path if
needed.
|
|
|
|
Fedora still has udev rules dir as /etc/udev/rules.d, so remove the forced lib prefix
|
|
|
|
Removed special serial tablet handling for HP tc4200. The
kernel should handle this correctly, otherwise we have to fix
the kernel or add a new workaround.
|
|
If hal detects that a PNP device is associated with a tablet PC it
adds the input capability to that device. This is wrong - the input
device is the serial device whose parent is this PNP device. Adding
the input capability just results in X attempting to add the PNP
device as an input device, despite it not being one and having no
associated driver.
FDI files for the appropriate driver can add the capabilities to the
serial port device, so there's no need to have the core add these
misleading ones. Simply remove them.
|
|
Properly link against libsmbios library when enabling smbios support.
|
|
Fixed commit 92e7f2e8b2a1a36d3ec2b371424719e7078d91da: don't
free 'const char *'. Changed code to prevent usage of g_strdup()
which prevents need to use g_free().
|
|
|
|
Made Magneto-Optical devices visible. Add missing breaks when
probing MO volume types, so that the volume.disc.type do not
get shadowed by the CD-ROM case.
And when computing the volume display name, do not overwrite it just
after having handled the MO cases. This also fixes a memory leak.
|
|
Remoced unused call to hal_util_get_last_element in memstick_add().
|
|
Fixed libhal: do not call property_set_lookup before checking
param validity.
|
|
Removed remove unused pointer to struct mntent returned from
getmntent_r() .
|
|
Fixed some memory leaks on normal operation. Some pointers were
being lost when being overwritten by new values, others were just
not being freed.
|
|
Fixed leaks on error conditions.
|
|
Fixed addon-cpufreq: do not leak va_arg on error condition.
|
|
Do not compare arrays against NULL.
|
|
Moved all storage/block related policies to one block to
prevent accidentally overwriting of already set policies.
|
|
Fixed problems with removable-block policy and floppy devices.
Moved removable-block part to the end of the file and added a
check if a device as already a rule to prevent overwriting
already set floppy or other policy. (bnc#471514)
|
|
Provide comparable linux kernel version information via these
new properties:
system.kernel.version.major (int)
system.kernel.version.minor (int)
system.kernel.version.micro (int)
This allow us to track changes in the kernel within the fdi
files and rules.
|
|
Fixed commit 33b54318f73012e24220456216794dd3ff39fc93. Don't use
LIBHAL_FREE_DBUS_ERROR() if there was already a dbus_error_is_set()
check.
|
|
|
|
When a server has a _lot_ of disks, hald fails to
startup as it spends more than 250 seconds probing.
We don't want to hardocde this number any higher, as
this may leave haldaemon hung for a long time if there
is an error. Add as a command line argument that can be
appended in the init script if this is required.
|
|
At the moment hal-device always returns success.
Only return success if a device was matched.
|
|
We are not checking if a UDI is valid in hal-get-property
which means getting a horrible DBUS error if the entry
is not a valid DBUS path.
|
|
Fixed existing entries to add acl related keys only if there is
also a device to which HAL can add the ACL rules.
|
|
Added current default policies for device access, for active
and inactive users, to the list of existing policies in the spec.
|
|
Sorted existing PolicyKit policies for device acces alphabetical.
|
|
Filled TODOs with information for the printer namespace.
|
|
Updated spec for new printer access policy.
|
|
Added ACL and device-access policy for printers.
|
|
Changed existing entries to use addset instead of append to prevent
double entries if a device may have more than one matching capability.
|
|
Put usbraw matches for ACL together into one block, fixed
whitespaces.
|
|
Fixed possible buffer overrun if there are invalid formated
led devices (e.g. iwl-phy0:assoc instead of correctly
iwl-phy0::assoc as the kernel documentation says).
|
|
Added new section about existing "Device File policies", defined
via access_control.type, to the spec.
|
|
Added some parameter checks and debug messages to
hal_util_get_driver_name() and hal_util_set_driver().
|
|
Fixed HAL D-Bus config due to D-Bus changes caused by CVE-2008-4311.
Added send_destination="org.freedesktop.Hal" for all exported
interfaces as recommended here:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/318783
" [...]
*IMPORTANT* you MUST include send_destination on ALL allow or deny
tags. Omitting it is a SERIOUS bug!
<!-- !! SERIOUS BUG !! -->
<allow send_interface="x.y.z" />
This allows any service to receive method calls of the given
interface, not just your own service!
It also implicitly allows any service to receive method calls
with no interface specified, in case they match this interface!
[...] "
|
|
Fixed HAL D-Bus config due to D-Bus changes caused by CVE-2008-4311.
Removed all all receive_* lines from HAL D-Bus config as recommended
here: https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/318783
|
|
Fixed HAL D-Bus config due to D-Bus changes caused by CVE-2008-4311.
Added org.freedesktop.DBus.Properties standard iterface as
recommended here:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/318783
|
|
Added org.freedesktop.Hal.Device.DockStation to HAL D-Bus config/
policy.
|
|
Added org.freedesktop.Hal.Device.Storage to HAL D-Bus config/
policy.
|
|
Added org.freedesktop.Hal.Device.WakeOnLan to HAL D-Bus config/
policy.
|
|
Added D-Bus policy rule for org.freedesktop.Hal.Device.Storage.Removable.
|
|
Added D-Bus policy rule for org.freedesktop.Hal.Device.KeyboardBacklight
|
|
Added DBus policy rule for org.freedesktop.Hal.Device.LightSensor.
|
|
Added DBus policy rule for org.freedesktop.Hal.Device.CPUFreq.
|
|
Added DBus policy rule for org.freedesktop.Hal.Device.Leds.
|