Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hwdb: Apply the same quirk to all the lis3lv02d deviceswip/hadess/hp-accel-quirk | Bastien Nocera | 2018-10-29 | 1 | -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 matrix | TJ | 2018-10-29 | 1 | -0/+3 |
| | |||||
* | Merge pull request #10551 from keszybz/two-trivial-cleanups | Yu Watanabe | 2018-10-29 | 2 | -4/+1 |
|\ | | | | | Two trivial cleanups | ||||
| * | test-chown-rec: use logging helper here too | Zbigniew Jędrzejewski-Szmek | 2018-10-28 | 1 | -3/+1 |
| | | |||||
| * | test-network-tables: remove duplicate line | Zbigniew Jędrzejewski-Szmek | 2018-10-28 | 1 | -1/+0 |
| | | |||||
* | | util: do not assign return value if it is not used (#10552) | Yu Watanabe | 2018-10-28 | 1 | -3/+1 |
|/ | |||||
* | Merge pull request #10512 from yuwata/udev-event-cleanup | Zbigniew Jędrzejewski-Szmek | 2018-10-28 | 10 | -266/+374 |
|\ | | | | | udev-event: replace udev_device by sd_device | ||||
| * | udev-event: replace udev_device in subst_format_var() by sd_device | Yu Watanabe | 2018-10-27 | 2 | -110/+111 |
| | | |||||
| * | udev-event: drop prototype of nonexistent function | Yu Watanabe | 2018-10-27 | 1 | -2/+0 |
| | | |||||
| * | udev-event: move definition of struct subst_map | Yu Watanabe | 2018-10-27 | 1 | -34/+37 |
| | | |||||
| * | udev-event: replace udev_device in udev_event_execute_rules() by sd_device | Yu Watanabe | 2018-10-27 | 2 | -45/+106 |
| | | | | | | | | Also, this adds many logs. | ||||
| * | udev-event: move devnode handling logic to a new function | Yu Watanabe | 2018-10-27 | 1 | -30/+52 |
| | | | | | | | | Also, replace udev_device by sd_device. | ||||
| * | udev-event: move conditions to rename network interface into rename_netif() | Yu Watanabe | 2018-10-27 | 1 | -26/+33 |
| | | | | | | | | Also, replace udev_device by sd_device. | ||||
| * | udev-event: rename udev_event_unref() to udev_event_free() | Yu Watanabe | 2018-10-27 | 5 | -11/+11 |
| | | | | | | | | As struct udev_event does not have a reference counter. | ||||
| * | udev-event: fix memleak in udev_event | Yu Watanabe | 2018-10-27 | 1 | -0/+1 |
| | | | | | | | | The leak was introduced by 29448498c724da7ade1b5efb20d7472c1b128d2c. | ||||
| * | udev-event: use structured initializer at one more place | Yu Watanabe | 2018-10-27 | 1 | -4/+10 |
| | | |||||
| * | udev-event: add more assert() | Yu Watanabe | 2018-10-27 | 1 | -4/+8 |
| | | |||||
| * | udev-event: check command is not empty before executing | Yu Watanabe | 2018-10-27 | 1 | -0/+7 |
| | | |||||
| * | udev-event: include device name in error message one more place | Yu Watanabe | 2018-10-27 | 1 | -1/+2 |
| | | |||||
| * | network,udev: drop unnecessary check whether ifindex is positive | Yu Watanabe | 2018-10-27 | 2 | -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 succeeds | Yu Watanabe | 2018-10-27 | 1 | -1/+1 |
| | | |||||
| * | sd-device: return positive ifindex when sd_device_get_ifindex() succeeds | Yu Watanabe | 2018-10-27 | 2 | -5/+4 |
| | | | | | | | | | | | | As valid ifindex is positive value, not non-negative value. Follow-up for dcfbde3a43d632ff6e286c77e1081087eca59d8e. | ||||
* | | po: update Polish translation | Piotr Drąg | 2018-10-28 | 1 | -4/+7 |
| | | |||||
* | | curl-util: fix error code check from curl_multi_socket_action | Dave Reisner | 2018-10-27 | 1 | -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 translation | Yu Watanabe | 2018-10-27 | 1 | -4/+6 |
| | | |||||
* | | Merge pull request #10537 from poettering/sentinelimania | Yu Watanabe | 2018-10-27 | 5 | -7/+8 |
|\ \ | |/ |/| | add some missing _sentinel_ decorators | ||||
| * | core: add free_and_replace() at one more place | Lennart Poettering | 2018-10-26 | 1 | -2/+1 |
| | | |||||
| * | tree-wide: add a few missing _sentinel_ decorators | Lennart Poettering | 2018-10-26 | 4 | -5/+7 |
| | | |||||
* | | Merge pull request #10506 from poettering/cgroup-mini-fixes | Lennart Poettering | 2018-10-26 | 2 | -30/+64 |
|\ \ | |/ |/| | various cgroups mini fixes | ||||
| * | cgroup-util: make definition of CGROUP_CONTROLLER_TO_MASK() unsigned | Lennart Poettering | 2018-10-26 | 1 | -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 things | Lennart Poettering | 2018-10-26 | 1 | -8/+8 |
| | | |||||
| * | cgroup: when discovering which controllers the kernel supports mask with ↵ | Lennart Poettering | 2018-10-26 | 1 | -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 Poettering | 2018-10-26 | 1 | -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 Poettering | 2018-10-26 | 1 | -0/+10 |
| | | | | | | | | cgroupsv1 vs. cgroupsv2 | ||||
| * | cgroup-util: disable buffering for cg_enable_everywhere() when writing to ↵ | Lennart Poettering | 2018-10-26 | 1 | -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 initialized | Lennart Poettering | 2018-10-26 | 1 | -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 Poettering | 2018-10-26 | 1 | -4/+6 |
|/ | | | | unexpected reasons | ||||
* | Merge pull request #10536 from keszybz/serialize-fixes | Lennart Poettering | 2018-10-26 | 10 | -130/+265 |
|\ | | | | | Tests for the new serialization functions | ||||
| * | Move tests for *serialize_environment into test-serialize.c | Zbigniew Jędrzejewski-Szmek | 2018-10-26 | 2 | -57/+61 |
| | | | | | | | | The implementation is in serialize.c. | ||||
| * | test-serialize: allocate long_string dynamically | Zbigniew Jędrzejewski-Szmek | 2018-10-26 | 1 | -5/+4 |
| | | |||||
| * | test-serialize: a smoke test for the serialization functions | Zbigniew Jędrzejewski-Szmek | 2018-10-26 | 2 | -0/+153 |
| | | |||||
| * | test: _cleanup_(unlink_tempfilep) in two more places | Zbigniew Jędrzejewski-Szmek | 2018-10-26 | 2 | -6/+3 |
| | | |||||
| * | Introduce fmkostemp_safe and use it in tests | Zbigniew Jędrzejewski-Szmek | 2018-10-26 | 8 | -71/+53 |
| | | | | | | | | No functional change. | ||||
* | | Merge pull request #10517 from poettering/chown-rec-fixes | Lennart Poettering | 2018-10-26 | 3 | -81/+244 |
|\ \ | | | | | | | recursive chowning fixes | ||||
| * | | test: add test case for recursive chown()ing | Lennart Poettering | 2018-10-26 | 2 | -0/+165 |
| | | | |||||
| * | | chown-recursive: TAKE_FD() is your friend | Lennart Poettering | 2018-10-26 | 1 | -5/+1 |
| | | | |||||
| * | | chown-recursive: also drop ACLs when recursively chown()ing | Lennart Poettering | 2018-10-26 | 1 | -4/+12 |
| | | | | | | | | | | | | Let's better be safe than sorry and also drop ACLs. | ||||
| * | | chown-recursive: let's rework the recursive logic to use O_PATH | Lennart Poettering | 2018-10-26 | 1 | -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 newlines | Evgeny Vereshchagin | 2018-10-26 | 1 | -2/+0 |
| | | |||||
* | | Merge pull request #10508 from poettering/watchdog-original-fix | Lennart Poettering | 2018-10-26 | 2 | -41/+59 |
|\ \ | | | | | | | various service watchdog fixes |