Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-09-17 | udev: if a tablet has BTN_0, label it as ID_INPUT_TABLET_PAD | Peter Hutterer | 1 | -4/+14 | |
Graphics tablet devices comprise multiple event nodes, usually a Pen, Finger and Pad node (that's how the kernel postfixes them). Pen and Pad are labeled as ID_INPUT_TABLET but the pad doesn't actually send stylus events - it doesn't usually have BTN_TOOL_PEN, merely BTN_STYLUS. For the last several years, libwacom has set ID_INPUT_TABLET_PAD for all pad devices known to it based on vid/pid and a "* Pad" name match. That does not cover devices not in libwacom. libinput relies on ID_INPUT_TABLET_PAD to initialize the pad backend. We can't drop ID_INPUT_TABLET without breaking userspace, but we can add ID_INPUT_TABLET_PAD ourselves - where a device has BTN_0 in addition to BTN_STYLUS, let's add it as a pad. There are some devices (notably: bamboos) that use BTN_LEFT instead of BTN_0 but they are relatively rare and there's a risk of mislabeling those devices, so let's just stick with BTN_0 only. | |||||
2020-09-17 | test-network: add tests for BareUDP netdev | Yu Watanabe | 3 | -0/+22 | |
2020-09-17 | Fix compilation without libcryptsetup (#17071) | masmullin2000 | 1 | -1/+14 | |
2020-09-17 | test-network: add test for Independent= for vxlan | Yu Watanabe | 3 | -1/+25 | |
2020-09-17 | network: Allow vxlan to be created without .network file | Susant Sahani | 6 | -2/+14 | |
2020-09-17 | network: refuse to configure IPv4LL for bareudp netdev | Yu Watanabe | 1 | -1/+1 | |
2020-09-17 | network: Introduce bare UDP | Susant Sahani | 8 | -0/+212 | |
2020-09-17 | sd-netlink: Add support for bare UDP | Susant Sahani | 2 | -0/+10 | |
2020-09-17 | util: update kernel headers (v5.9-rc5) | Yu Watanabe | 13 | -49/+484 | |
2020-09-17 | util: wireguard is merged into upstream kernel | Yu Watanabe | 1 | -5/+1 | |
2020-09-16 | repart: don't mark image files generated with --empty=create executable | Lennart Poettering | 1 | -1/+1 | |
2020-09-16 | test-execute: kill Waldo and Quux | Topi Miettinen | 1 | -0/+4 | |
Retire /var/lib{,/private}/{quux,waldo} after they have served their purpose. | |||||
2020-09-16 | test-network: add test for [BridgeMDB] section | Yu Watanabe | 3 | -0/+32 | |
2020-09-16 | network: add debug message for configuring MDB entries | Yu Watanabe | 1 | -0/+9 | |
2020-09-16 | network: configure bridge MDB entries after bridge has carrier | Yu Watanabe | 4 | -21/+82 | |
2020-09-16 | network: drop [BridgeMDB] entries if Bridge= is not set | Yu Watanabe | 2 | -8/+8 | |
2020-09-16 | network: check MulticastGroupAddress= is neither a local multicast address ↵ | Yu Watanabe | 1 | -3/+24 | |
nor all nodes address | |||||
2020-09-16 | in-addr-util: introduce in4_addr_is_local_multicast() | Yu Watanabe | 2 | -0/+7 | |
2020-09-16 | in-addr-util: introduce in6_addr_is_link_local_all_nodes() | Yu Watanabe | 2 | -0/+11 | |
2020-09-16 | network: drop unnecessary headers | Yu Watanabe | 1 | -4/+0 | |
2020-09-16 | network: move functions in networkd-mdb.c | Yu Watanabe | 1 | -88/+88 | |
2020-09-16 | man: reorder autogenerated dbus api lists | Zbigniew Jędrzejewski-Szmek | 2 | -5/+5 | |
3e5f04bf6468fcb79c080f02b0eab08f258bff0c was trying to do the right thing, but the resulting list does not match the autogenerated order (which is the same as the order in vtable definition). I assume the addition was done manually. Fix the order so that dbus-docs-fresh test is not unhappy. | |||||
2020-09-16 | gpt: move GPT_LINUX_GENERIC definition next to the user GPT partition types | Lennart Poettering | 1 | -24/+21 | |
No code changes, just some reordering. | |||||
2020-09-16 | dissect: introduce PartitionDesignator as real type | Lennart Poettering | 5 | -25/+22 | |
2020-09-15 | dissect: rename mount_options_from_part() → mount_options_from_designator() | Lennart Poettering | 2 | -8/+8 | |
After all, it actually takes a designator argument, not a partition index or so. | |||||
2020-09-15 | man: substitute path to rc.local in the man page | Zbigniew Jędrzejewski-Szmek | 2 | -15/+19 | |
Different systems use different paths for it and users are confused when the man page has a path different than the one on the local system. https://bugzilla.redhat.com/show_bug.cgi?id=1876905 | |||||
2020-09-15 | test: remove test-dissect-image | Lennart Poettering | 2 | -56/+0 | |
It does pretty much exactly what systemd-dissect does and is a manual test, hence let's remove it as redundant code. | |||||
2020-09-15 | meson: RC_LOCAL_SCRIPT_PATH_START to RC_LOCAL_PATH | Zbigniew Jędrzejewski-Szmek | 3 | -7/+7 | |
RC_LOCAL_SCRIPT_PATH_START and RC_LOCAL_SCRIPT_PATH_STOP were was originally added in the conversion to meson based on the autotools name. In 44508946534eee032927c263b79464832656dd6e RC_LOCAL_SCRIPT_PATH_STOP was dropped. We don't need to use such a long name. | |||||
2020-09-15 | socket-proxy: allow localhost addresses | Zbigniew Jędrzejewski-Szmek | 1 | -1/+0 | |
With this change, only manager_connect() in timesync.d uses AI_ADDRCONFIG. There we are connecting to a remove server, so the flag is appropriate. | |||||
2020-09-15 | sd-bus: allow localhost addresses | Zbigniew Jędrzejewski-Szmek | 2 | -1/+3 | |
By settings AI_ADDRCONFIG in hints we cannot for example resolve "localhost" when the local machine only has a loopback interface. This seems like an unnecessary restriction, drop it. Inspired by https://bugzilla.redhat.com/show_bug.cgi?id=1839007. | |||||
2020-09-15 | fstab-generator: add 'nofail' when NFS 'bg' option is used | Franck Bui | 1 | -1/+1 | |
Otherwise a 'Before=remote-fs.target' dependency is added to the mount unit which defeats the purpose of 'bg' option. | |||||
2020-09-15 | tests: try to allocate a delegated scope unit for our cgroup tests | Lennart Poettering | 1 | -0/+85 | |
Prompted-by: #16632 | |||||
2020-09-15 | exec: SystemCallLog= directive | Topi Miettinen | 11 | -2/+280 | |
With new directive SystemCallLog= it's possible to list system calls to be logged. This can be used for auditing or temporarily when constructing system call filters. --- v5: drop intermediary, update HASHMAP_FOREACH_KEY() use v4: skip useless debug messages, actually parse directive v3: don't declare unused variables with old libseccomp v2: fix build without seccomp or old libseccomp | |||||
2020-09-15 | exec: Add kill action to system call filters | Topi Miettinen | 13 | -17/+95 | |
Define explicit action "kill" for SystemCallErrorNumber=. In addition to errno code, allow specifying "kill" as action for SystemCallFilter=. --- v7: seccomp_parse_errno_or_action() returns -EINVAL if !HAVE_SECCOMP v6: use streq_ptr(), let errno_to_name() handle bad values, kill processes, init syscall_errno v5: actually use seccomp_errno_or_action_to_string(), don't fail bus unit parsing without seccomp v4: fix build without seccomp v3: drop log action v2: action -> number | |||||
2020-09-15 | busctl: add missing shortopt -l | Juergen Hoetzel | 1 | -1/+1 | |
2020-09-15 | core: use strv_free_and_replace() at one more place | Yu Watanabe | 1 | -4/+1 | |
2020-09-15 | socket-util: reset length argument for second getsockopt call in ↵ | Christian Göttsche | 1 | -0/+2 | |
fd_[gs]et_rcvbuf In case the first getsockopt() call changes the value. | |||||
2020-09-14 | basic/copy: vodify unlinkat() call | Zbigniew Jędrzejewski-Szmek | 1 | -1/+1 | |
Not much we can do at this point. Coverity CID#1432670. | |||||
2020-09-14 | test: use pclose() for popen() | Zbigniew Jędrzejewski-Szmek | 2 | -2/+2 | |
Coverity CID#1432701. | |||||
2020-09-14 | systemctl: give a nice hint about org.freedesktop.LogControl1 when applicable | Zbigniew Jędrzejewski-Szmek | 1 | -13/+37 | |
2020-09-14 | man: rework UMask= explanation | Lennart Poettering | 1 | -6/+11 | |
Mention the JSON user record stuff. Mention pam_umask explicitly. Mention that UMask= of the per-user user@.service instance can be used too. Fixes: #16963 | |||||
2020-09-14 | tree-wide: don't needlessly negate error number passed to bus_error_message() | Lennart Poettering | 10 | -44/+41 | |
Like it's customary in our codebase bus_error_message() internally takes abs() of the passed error anyway, hence no need to explicitly negate it. We mostly got this right, but in too many cases we didn't. Fix that. | |||||
2020-09-14 | bootctl: handle if LoaderSystemToken is invalid for some reason | Lennart Poettering | 1 | -1/+3 | |
This points to some firmware issue, but we should still be able to correct things if this happens. Hence log about this and fix it. Fixes: #17041 | |||||
2020-09-14 | shared: drop a redundant if statement | Frantisek Sumsal | 1 | -3/+1 | |
2020-09-14 | libsystemd: drop a redundant if statement | Frantisek Sumsal | 1 | -3/+1 | |
2020-09-14 | home: return SYNTHETIC_ERRNO() when appropriate | Frantisek Sumsal | 2 | -2/+4 | |
2020-09-14 | basic: drop a redundant if statement | Frantisek Sumsal | 1 | -3/+1 | |
2020-09-14 | core: consolidate alloc & put operations into one statement | Frantisek Sumsal | 1 | -5/+1 | |
2020-09-14 | tree-wide: fix typos found by codespell | Frantisek Sumsal | 15 | -20/+20 | |
Reported by Fossies.org | |||||
2020-09-14 | unit-def: drop pointless 0 initialization of first enum value | Lennart Poettering | 1 | -2/+2 | |
This is implied in C and we generally don't bother with this, so don't bother with this here either. |