summaryrefslogtreecommitdiff
path: root/src/udev/udev.h
Commit message (Collapse)AuthorAge
* udev: do not skip the execution of RUN when renaming a network device failsKay Sievers2014-05-15
|
* udev: declare some symbols staticKay Sievers2013-11-13
|
* udev: builtin - rename net_link to net_setup_linkTom Gundersen2013-10-29
| | | | Also add shell completions.
* udev: add network link configuration toolTom Gundersen2013-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This tool applies hardware specific settings to network devices before they are announced via libudev. Settings that will probably eventually be supported are MTU, Speed, DuplexMode, WakeOnLan, MACAddress, MACAddressPolicy (e.g., 'hardware', 'synthetic' or 'random'), Name and NamePolicy (replacing our current interface naming logic). This patch only introduces support for Description, as a proof of concept. Some of these settings may later be overriden by a network management daemon/script. However, these tools should always listen and wait on libudev before touching a device (listening on netlink is not enough). This is no different from how things used to be, as we always supported changing the network interface name from udev rules, which does not work if someone has already started using it. The tool is configured by .link files in /etc/net/links/ (with the usual overriding logic in /run and /lib). The first (in lexicographical order) matching .link file is applied to a given device, and all others are ignored. The .link files contain a [Match] section with (currently) the keys MACAddress, Driver, Type (see DEVTYPE in udevadm info) and Path (this matches on the stable device path as exposed as ID_PATH, and not the unstable DEVPATH). A .link file matches a given device if all of the specified keys do. Currently the keys are treated as plain strings, but some limited globbing may later be added to the keys where it makes sense. Example: /etc/net/links/50-wireless.link [Match] MACAddress=98:f2:e4:42:c6:92 Path=pci-0000:02:00.0-bcma-0 Type=wlan [Link] Description=The wireless link
* macro: clean up usage of gcc attributesLennart Poettering2013-10-16
| | | | Always use our own macros, and name all our own macros the same style.
* udev: support custom Linux Security Module labels for device nodesKay Sievers2013-10-08
|
* udev: export tags of "dead" device nodes to /run/udev/static_node-tags/Tom Gundersen2013-07-16
| | | | | | | | | | Based on a patch by Kay Sievers. A tag is exported at boot as a symlinks to the device node in the folder /run/udev/static_node-tags/<tagname>/, if the device node exists. These tags are cleaned up by udevadm info --cleanup-db, but are otherwise never removed.
* udev: add builtin 'keyboard' to manage key mappingsKay Sievers2013-07-10
|
* hwdb: add --lookup-prefix= optionKay Sievers2013-07-08
|
* hwdb: add --device=<device-id> and --filter=<key name glob>Kay Sievers2013-07-01
|
* Add printf attributes in exported headersZbigniew Jędrzejewski-Szmek2013-04-25
| | | | | | | | | | | | | gcc (and other compilers) sometimes generate spurious warnings, and thus users of public headers must be able to disable warnings. Printf format attributes can be disabled by setting #define _sd_printf_attr_ before including the header file. Also, add similar logic for sentinel attribute: #define _sd_sentinel_attr_ before including the header file disables the attribute.
* build-sys: fix HAVE/ENABLE_FIRMWAREKay Sievers2013-03-28
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=62864
* udev: make firmware loading optional and disable by defaultTom Gundersen2013-03-18
| | | | | | Distros that whish to support old kernels should set --with-firmware-dirs="/usr/lib/firmware/updates:/usr/lib/firmware" to retain the old behaviour.
* udev: set default rules permissions only at "add" eventsKay Sievers2013-01-27
|
* udev: in addition to DEVMODE, honor DEVUID, DEVGID from the ueventKay Sievers2012-12-31
|
* build-sys: make loadable module support optionalTom Gundersen2012-11-20
| | | | | kmod is unecessary if loadable module support is disabled in the kernel, so make the dependency optional.
* udev: make blkid optionalAnders Olofsson2012-11-16
| | | | | | I'm building systemd for an embedded system and we would prefer not having to include the entire util-linux package just to get a libblkid whose functionality we don't need.
* use the same email address everywhereKay Sievers2012-11-12
|
* udev: use usec_t and now()Kay Sievers2012-11-12
|
* udev: net_id - add builtin to retrieve data for network devicesKay Sievers2012-11-09
|
* udev: hwdb - search parents for 'modalias' and dataKay Sievers2012-11-09
|
* udev: builtin - do not fail builtin initialization if one of them returns an ↵Kay Sievers2012-10-26
| | | | error
* udev: add hardware database supportKay Sievers2012-10-23
|
* udev: add btrfs supportKay Sievers2012-09-17
| | | | | | | | All "btrfs" file systems will be registered with the kernel when they show up. Incomplete multi-device volumes will set SYSTEMD_READY=0, to prevent access until the volume is complete and fully registered.
* udev: use conf_files_list() to search rules filesKay Sievers2012-05-07
|
* selinux: unify systemd and udev codeKay Sievers2012-04-17
|
* udev: use startswith() and streq()Kay Sievers2012-04-16
|
* udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers2012-04-16
|
* udev: convert 'uaccess' to a builtinKay Sievers2012-04-09
|
* udev: fix gcc warningsKay Sievers2012-04-04
|
* move imported udev into placeKay Sievers2012-04-04