summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* hwdb: Apply the same quirk to all the lis3lv02d deviceswip/hadess/hp-accel-quirkBastien Nocera2018-10-291-2/+6
| | | | | | | | | | | | | | HP laptops and desktop containing the lis3lv02d device (as supported by the drivers/platform/x86/hp_accel.c driver) are supposed to output their values according to their "standard" orientation, one that corresponds to "can play neverball". For all those devices, we need to convert that "neverball" orientation to a "Windows 8" orientation. We will not accept quirks for HP machines that use the lis3lv02d device, they should go in the hp_accel.c driver instead. Closes: #5160
* hwdb: Add Asus T300CHI accelerator matrixTJ2018-10-291-0/+3
|
* Merge pull request #10551 from keszybz/two-trivial-cleanupsYu Watanabe2018-10-292-4/+1
|\ | | | | Two trivial cleanups
| * test-chown-rec: use logging helper here tooZbigniew Jędrzejewski-Szmek2018-10-281-3/+1
| |
| * test-network-tables: remove duplicate lineZbigniew Jędrzejewski-Szmek2018-10-281-1/+0
| |
* | util: do not assign return value if it is not used (#10552)Yu Watanabe2018-10-281-3/+1
|/
* Merge pull request #10512 from yuwata/udev-event-cleanupZbigniew Jędrzejewski-Szmek2018-10-2810-266/+374
|\ | | | | udev-event: replace udev_device by sd_device
| * udev-event: replace udev_device in subst_format_var() by sd_deviceYu Watanabe2018-10-272-110/+111
| |
| * udev-event: drop prototype of nonexistent functionYu Watanabe2018-10-271-2/+0
| |
| * udev-event: move definition of struct subst_mapYu Watanabe2018-10-271-34/+37
| |
| * udev-event: replace udev_device in udev_event_execute_rules() by sd_deviceYu Watanabe2018-10-272-45/+106
| | | | | | | | Also, this adds many logs.
| * udev-event: move devnode handling logic to a new functionYu Watanabe2018-10-271-30/+52
| | | | | | | | Also, replace udev_device by sd_device.
| * udev-event: move conditions to rename network interface into rename_netif()Yu Watanabe2018-10-271-26/+33
| | | | | | | | Also, replace udev_device by sd_device.
| * udev-event: rename udev_event_unref() to udev_event_free()Yu Watanabe2018-10-275-11/+11
| | | | | | | | As struct udev_event does not have a reference counter.
| * udev-event: fix memleak in udev_eventYu Watanabe2018-10-271-0/+1
| | | | | | | | The leak was introduced by 29448498c724da7ade1b5efb20d7472c1b128d2c.
| * udev-event: use structured initializer at one more placeYu Watanabe2018-10-271-4/+10
| |
| * udev-event: add more assert()Yu Watanabe2018-10-271-4/+8
| |
| * udev-event: check command is not empty before executingYu Watanabe2018-10-271-0/+7
| |
| * udev-event: include device name in error message one more placeYu Watanabe2018-10-271-1/+2
| |
| * network,udev: drop unnecessary check whether ifindex is positiveYu Watanabe2018-10-272-4/+2
| | | | | | | | | | As sd_device_get_ifindex() now returns positive ifindex when it succeeds.
| * test: check sd_device_get_ifindex() returns positive ifindex when it succeedsYu Watanabe2018-10-271-1/+1
| |
| * sd-device: return positive ifindex when sd_device_get_ifindex() succeedsYu Watanabe2018-10-272-5/+4
| | | | | | | | | | | | As valid ifindex is positive value, not non-negative value. Follow-up for dcfbde3a43d632ff6e286c77e1081087eca59d8e.
* | po: update Polish translationPiotr Drąg2018-10-281-4/+7
| |
* | curl-util: fix error code check from curl_multi_socket_actionDave Reisner2018-10-271-1/+1
| | | | | | | | | | | | After curl 7.20.0, this function never returns negative error codes. Make this consistent with the other call to this function and only compare against CURLM_OK.
* | po: update Japanese translationYu Watanabe2018-10-271-4/+6
| |
* | Merge pull request #10537 from poettering/sentinelimaniaYu Watanabe2018-10-275-7/+8
|\ \ | |/ |/| add some missing _sentinel_ decorators
| * core: add free_and_replace() at one more placeLennart Poettering2018-10-261-2/+1
| |
| * tree-wide: add a few missing _sentinel_ decoratorsLennart Poettering2018-10-264-5/+7
| |
* | Merge pull request #10506 from poettering/cgroup-mini-fixesLennart Poettering2018-10-262-30/+64
|\ \ | |/ |/| various cgroups mini fixes
| * cgroup-util: make definition of CGROUP_CONTROLLER_TO_MASK() unsignedLennart Poettering2018-10-261-1/+1
| | | | | | | | | | | | Otherwise doing comparing a CGroupMask (which is unsigned in effect) with the result of CGROUP_CONTROLLER_TO_MASK() will result in warnings about signedness differences.
| * cgroup-util: FLAGS_SET()ify all thingsLennart Poettering2018-10-261-8/+8
| |
| * cgroup: when discovering which controllers the kernel supports mask with ↵Lennart Poettering2018-10-261-6/+8
| | | | | | | | | | | | | | what we support Let's use our new CGROUP_MASK_V1 and CGROUP_MASK_V2 definitions for this.
| * cgroup-util: before operating on a mounted cgroup controller check if it ↵Lennart Poettering2018-10-261-0/+15
| | | | | | | | | | | | | | | | | | | | actually can be mounted We now have the "BPF" pseudo-controllers. These should never be assumed to be accessible as /sys/fs/cgroup/<controller> and not through "cgroup.subtree_control" either, hence always check explicitly before we go to the file system. We do this through our new CGROUP_MASK_V1 and CGROUP_MASK_V2 definitions.
| * cgroup-util: add mask definitions for sets of controllers supported by ↵Lennart Poettering2018-10-261-0/+10
| | | | | | | | cgroupsv1 vs. cgroupsv2
| * cgroup-util: disable buffering for cg_enable_everywhere() when writing to ↵Lennart Poettering2018-10-261-7/+7
| | | | | | | | | | | | cgroup attributes Let's better be safe than sorry.
| * cgroup-util: don't expect cg_mask_from_string()'s return value to be initializedLennart Poettering2018-10-261-4/+9
| | | | | | | | | | | | | | | | | | Also, when we fail, don't clobber the return value. This brings the call more in-line with our usual coding style, and removes surprises. None of the callers seemed to care about this behaviour.
| * cgroup-util: debug log if /proc/self/ns/cgroup is not available for ↵Lennart Poettering2018-10-261-4/+6
|/ | | | unexpected reasons
* Merge pull request #10536 from keszybz/serialize-fixesLennart Poettering2018-10-2610-130/+265
|\ | | | | Tests for the new serialization functions
| * Move tests for *serialize_environment into test-serialize.cZbigniew Jędrzejewski-Szmek2018-10-262-57/+61
| | | | | | | | The implementation is in serialize.c.
| * test-serialize: allocate long_string dynamicallyZbigniew Jędrzejewski-Szmek2018-10-261-5/+4
| |
| * test-serialize: a smoke test for the serialization functionsZbigniew Jędrzejewski-Szmek2018-10-262-0/+153
| |
| * test: _cleanup_(unlink_tempfilep) in two more placesZbigniew Jędrzejewski-Szmek2018-10-262-6/+3
| |
| * Introduce fmkostemp_safe and use it in testsZbigniew Jędrzejewski-Szmek2018-10-268-71/+53
| | | | | | | | No functional change.
* | Merge pull request #10517 from poettering/chown-rec-fixesLennart Poettering2018-10-263-81/+244
|\ \ | | | | | | recursive chowning fixes
| * | test: add test case for recursive chown()ingLennart Poettering2018-10-262-0/+165
| | |
| * | chown-recursive: TAKE_FD() is your friendLennart Poettering2018-10-261-5/+1
| | |
| * | chown-recursive: also drop ACLs when recursively chown()ingLennart Poettering2018-10-261-4/+12
| | | | | | | | | | | | Let's better be safe than sorry and also drop ACLs.
| * | chown-recursive: let's rework the recursive logic to use O_PATHLennart Poettering2018-10-261-76/+70
|/ / | | | | | | | | | | | | | | | | | | | | That way we can pin a specific inode and analyze it and manipulate it without it being swapped out beneath our hands. Fixes a vulnerability originally found by Jann Horn from Google. CVE-2018-15687 LP: #1796692 https://bugzilla.redhat.com/show_bug.cgi?id=1639076
* | lgtm: drop redundant newlinesEvgeny Vereshchagin2018-10-261-2/+0
| |
* | Merge pull request #10508 from poettering/watchdog-original-fixLennart Poettering2018-10-262-41/+59
|\ \ | | | | | | various service watchdog fixes