71d35b6b5563817dfbe757ab9e3b9f018b2db491 |
|
18-Nov-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
tree-wide: sort includes in *.h
This is a continuation of the previous include sort patch, which
only sorted for .c files. |
07630cea1f3a845c09309f197ac7c4f11edd3b62 |
|
24-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split our string related calls from util.[ch] into its own file string-util.[ch]
There are more than enough calls doing string manipulations to deserve
its own files, hence do something about it.
This patch also sorts the #include blocks of all files that needed to be
updated, according to the sorting suggestions from CODING_STYLE. Since
pretty much every file needs our string manipulation functions this
effectively means that most files have sorted #include blocks now.
Also touches a few unrelated include files. |
b250ea2fd6fe35242a7d161a3b37bb756ae87be0 |
|
19-Oct-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
tree-wide: remove unused functions |
ecb17862ad969cc15e94f95d0255b51ba3e588e1 |
|
12-May-2015 |
Tom Gundersen <teg@jklm.no> |
udevd: manager - move a few global variables into the Manager object |
107f2e2526d476c6cc9b81a690391c111027d641 |
|
23-Apr-2015 |
Tom Gundersen <teg@jklm.no> |
udevd: fix REMOVE handling
This reverts b67f944. Lazy loading of device properties does not work for devices
that are received over netlink, as these are sealed. Reinstate the unconditional
loading of the device db.
Reported by: Mantas MikulÄ—nas <grawity@gmail.com>. |
bf0e00ec58c0d203d0654c083bbe5c6d9cb23328 |
|
18-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
libudev: private - introduce udev_device_new_from_synthetic_event()
This allows set_action(), read_uevent_file() and read_db() to be made internal to libudev. |
1b14c3cfbe25f9bf1183bd26875f3c68847559c0 |
|
13-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
udev: make set_usec_initialized() internal to libudev
Instead introduce ensure_usec_initialized(), which copies the timestamp if possible otherwise
sets it to now(CLOCK_MONOTONIC). |
8f0f13f04555d3bc67511d2e334c667cef7e8971 |
|
12-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
libudev: introduce clone_with_db()
This allows us to move the db reading from udevd to libudev. |
1cd0a77022a4da17d1274f8f776b63e72c99fb05 |
|
12-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
libudev: introduce udev_device_properties_copy()
To copy properties from one device to another. Drop the equivalent functionality from udevd. |
570b83cc62067f518c119e4803b4f234d1f0f01c |
|
09-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
libudev: udev_device_read_db - drop unused argument |
df546eb56a3e8cb7cbea7a1cb630f9ed21ea5c6b |
|
09-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
libudev: udev_device_add_property - implicitly mark properties for saving to db
Properties should only be saved to the db when added to the udev_device by udevd, and only if
the property does not start with a '.'. Make this implicit rather than expose the marking of
properties. |
bd57b6de74c6ff77f0220bf08d43a7e41f4316e9 |
|
09-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
libudev: private - make property_from_string_parse* static |
71ef8b3ac49fd8b5cff36ee7efc945a751ab9a09 |
|
26-Jan-2015 |
Tom Gundersen <teg@jklm.no> |
libudev: private - drop some functions from the internal API |
2df959ec3b5128dfe4d9b996dc13b16a8f4c4233 |
|
26-Jan-2015 |
Tom Gundersen <teg@jklm.no> |
libudev: monitor - move nulstr parsing to libudev-device
Hide the details a bit. |
fa639f3ae770ffccdd9f97430b0883d01bc821ce |
|
26-Jan-2015 |
Tom Gundersen <teg@jklm.no> |
udev: event - introduce and use internal udev_device_shallow_clone() |
243d182543c7edc3980e1ae41712bb0b96df46bd |
|
26-Jan-2015 |
Tom Gundersen <teg@jklm.no> |
udev: event - move renaming of udev_device to libudev
This is not exposed in the public API. We want to simplify the internal libudev-device API as much as possible
so that it will be simpler to rip the whole thing out in the future. |
c532d8a00cacacc6775effb7aadca680b1d39ccd |
|
15-Dec-2014 |
Tom Gundersen <teg@jklm.no> |
udev: builtin-hwdb - port to sd-hwdb |
41b848b0ea674dba135d5d5f82b87d126d967fcf |
|
13-Nov-2014 |
Kay Sievers <kay@vrfy.org> |
udev: move global property handling from libudev to udevd |
25e773eeb4f853804e1bf0dbd9a184f23e9b2a97 |
|
13-Nov-2014 |
Kay Sievers <kay@vrfy.org> |
udev: switch to systemd logging functions |
a974cacd9ac179599f3645409664ccb254ed6bbb |
|
13-Nov-2014 |
Kay Sievers <kay@vrfy.org> |
libudev: we do not log errors from libraries |
b12b78712edb09a0fc28b460ebf0bb8eae5cff03 |
|
12-Nov-2014 |
Kay Sievers <kay@vrfy.org> |
udev: use the systemd logging functions in udev tools |
572016d1c2c5a679ea3ac95ff15ce9f3508020f3 |
|
18-Sep-2014 |
Robert Milasan <rmilasan@suse.com> |
udev: fix path for database names on 'change' event
If a device does not have a major/minor number attached, we use different
database names than if it does. On "change" events, we didn't copy the
devnum over, therefore, we used different paths than on 'add' or 'remove'
events (where devnum was properly copied).
Fix this by always copying the devnum into the udev-device.
(David: added commit-log from email) |
37d522746b67fda0d52111364d81358ce560bcf7 |
|
16-Sep-2014 |
Tom Gundersen <teg@jklm.no> |
libudev: util - drop util_delete_path()
Use rmdir_parents() from src/shared instead. |
23bf8dd7d5ce1e2a52f28d5d242109ddb668b3fb |
|
16-Sep-2014 |
Tom Gundersen <teg@jklm.no> |
libudev: drop util_lookup_{user,group}
Use shared versions instead. Difference is with overwriting of repeated user/group
name, and lack of logging. |
8e3ba3772cadf6a8292b0da533062dd4d377af67 |
|
11-Sep-2014 |
David Herrmann <dh.herrmann@gmail.com> |
udev: allow removing tags via TAG-="foobar"
This extends the udev parser to support OP_REMOVE (-=) and adds support
for TAG-= to remove previously set tags. We don't fail if the tag didn't
exist.
This is pretty handy if we ship default rules for seat-assignments and
users want to exclude specific devices from that. They can easily add
rules that drop any automatically added "seat" tags again. |
9d19a679f23c7a72c326cbbbf44e0c9f423dec5d |
|
09-Sep-2014 |
Tom Gundersen <teg@jklm.no> |
udev - drop print_kmsg
The only remaining user was 'starting version XXX', which is now logged using log_info(). |
5168f84a29b9f0002c9d44133cc9830046bb0619 |
|
11-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
udev: never bypass our own logging framework and call vsyslog() directly from udev tools |
ac9c87dbc4c3950c55f6685db669f5f34957e09d |
|
01-Aug-2014 |
Tom Gundersen <teg@jklm.no> |
Revert "libudev: use get_*_creds from shared rather than util_lookup_*"
This reverts commit a56ba6158b9649e01226dfaf3ff7082c82571090.
The commit was pushed in error. |
a56ba6158b9649e01226dfaf3ff7082c82571090 |
|
01-Aug-2014 |
Tom Gundersen <teg@jklm.no> |
libudev: use get_*_creds from shared rather than util_lookup_* |
b26618399ecc9a773dcb384dd1ad66309921e8e0 |
|
13-Nov-2013 |
Kay Sievers <kay@vrfy.org> |
udev: declare some symbols static |
e3dc56a21907d5c028e11bfb750447614e0ed900 |
|
12-Nov-2013 |
Kay Sievers <kay@vrfy.org> |
udev: declare some symbols static |
44b601bc79e46722bc0f0862ee0ce34a2284ef11 |
|
16-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
macro: clean up usage of gcc attributes
Always use our own macros, and name all our own macros the same style. |
d5a89d7dc17a5ba5cf4fc71f82963c5c94a31c3d |
|
09-Jan-2013 |
Kay Sievers <kay@vrfy.org> |
udev: move string copy functions to shared/ |
1328f66ad16b5afeb5684858c27e121a46c1959e |
|
04-Jan-2013 |
Kay Sievers <kay@vrfy.org> |
udev: net_id - append "dev_id" value if needed |
1edefa4f1d7bae6cc19aa4a97238400c5a04f7a4 |
|
31-Dec-2012 |
Kay Sievers <kay@vrfy.org> |
udev: in addition to DEVMODE, honor DEVUID, DEVGID from the uevent |
88a6477ef32ac4c59111f7340525714a6e02e503 |
|
12-Nov-2012 |
Kay Sievers <kay@vrfy.org> |
libudev: update copyright headers |
40fe8b11be9c1a1b38b91db097a5d6ebfa99304c |
|
12-Nov-2012 |
Kay Sievers <kay@vrfy.org> |
udev: use usec_t and now() |
2001208c2ab631a69896d1f670c26846b70d1fb7 |
|
27-Oct-2012 |
Kay Sievers <kay@vrfy.org> |
libudev: import hwdb and export lookup interface |
8a1733871ffe9bfc47958e9056fd53ce216b1802 |
|
08-Oct-2012 |
Kay Sievers <kay@vrfy.org> |
udev: remove SYMLINK "unique" option |
cd8651982b497a8be369e0dbc24fe04ec5e83aaa |
|
19-Sep-2012 |
Kay Sievers <kay@vrfy.org> |
libudev: remove dead code |
dbf61afb29e016fe1b4ac48312a782df1d60a3e6 |
|
10-Aug-2012 |
Kay Sievers <kay@vrfy.org> |
udev: export udev_device_new_from_device_id() |
4cb72937d3c10948e4904388ea27efae75775f08 |
|
15-Jul-2012 |
Kay Sievers <kay@vrfy.org> |
udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run |
c6eefe366470e1cf6c94f52dd923dc822eb5d027 |
|
14-Jul-2012 |
Kay Sievers <kay@vrfy.org> |
udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=n |
c8f8394a9309d4390daac70b736b34d0b6734f95 |
|
26-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
libudev: prefix log macros with 'udev_' |
e9a5ef7cddcfcdb29b5aef3896931132b6fd5165 |
|
17-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
selinux: unify systemd and udev code |
3b49d09a3d34ac462573aa96d66c70e9a60417e4 |
|
17-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: kill udev_selinux_setfscreateconat() |
9e13dbae509605dba1bde7e7385086b59acb428e |
|
17-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: replace util_create_path() with mkdir_parents() |
33502ffe2eb7b56cdd018a4fb6830d7828519fad |
|
16-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: use startswith() and streq() |
6ada823a9a0979ea145fd70add1007c21caa45c0 |
|
16-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: remove configuration options for /dev, /sys, /run directories |
8fef0ff25c9fd7e5bb99d66f43c6357e4996a3cc |
|
16-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: replace ARRAY_SIZE() with ELEMENTSOF() |
bb061708d5aa83579f213bdfb67253f7027217c3 |
|
13-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/ |