chiark / gitweb /
elogind.git
11 years agortnl: add support for routes
Tom Gundersen [Mon, 4 Nov 2013 01:42:23 +0000 (02:42 +0100)]
rtnl: add support for routes

11 years agonet-config: start split out matching and parsing logic
Tom Gundersen [Sat, 2 Nov 2013 01:13:48 +0000 (02:13 +0100)]
net-config: start split out matching and parsing logic

Move this to src/share/net-util.c, so it can be used elsewhere.

11 years agohostnamectl: H requires an argument, P is no longer used
Thomas Hindoe Paaboel Andersen [Mon, 4 Nov 2013 16:32:50 +0000 (17:32 +0100)]
hostnamectl: H requires an argument, P is no longer used

11 years agoudev: udevd - rules can be NULL when reloading
Kay Sievers [Mon, 4 Nov 2013 14:53:27 +0000 (15:53 +0100)]
udev: udevd - rules can be NULL when reloading

11 years agoudev-builtin-keyboard: Fix large scan codes on 32 bit architectures
Martin Pitt [Mon, 4 Nov 2013 06:25:45 +0000 (07:25 +0100)]
udev-builtin-keyboard: Fix large scan codes on 32 bit architectures

Use strtoul(), as scan codes are always positive. On 32 bit architectures
strtol gives wrong results:

  strtol("fffffff0", &endptr, 16)

returns 2147483647 instead of 4294967280.

https://launchpad.net/bugs/1247676

11 years agorules: simply 60-drm.rules
David Herrmann [Sun, 3 Nov 2013 15:17:14 +0000 (16:17 +0100)]
rules: simply 60-drm.rules

We don't need any GOTO, if we merge all matches into a single line.

11 years agorules: load path_id on DRM devices
David Herrmann [Sun, 3 Nov 2013 12:01:20 +0000 (13:01 +0100)]
rules: load path_id on DRM devices

The path_id-builtin provides useful unique aliases for DRM devices. If we
want to configure DRM render-nodes for compositors, we want to avoid
storing the whole sys-path in configuration files. Hence, allow users to
store the short PATH_ID instead.

Load path_id-builtin unconditionally on DRM devices now to always provide
this alias.

11 years agosd-login: Fix typo
Bastien Nocera [Thu, 31 Oct 2013 23:24:52 +0000 (00:24 +0100)]
sd-login: Fix typo

s/sessio,/session,/

11 years agobus: make bus_map_all_properties() call idempotent
Kay Sievers [Sat, 2 Nov 2013 01:35:23 +0000 (02:35 +0100)]
bus: make bus_map_all_properties() call idempotent

11 years agohostnamectl: port to sd-bus
Simon Peeters [Wed, 30 Oct 2013 05:55:31 +0000 (06:55 +0100)]
hostnamectl: port to sd-bus

Kay:
 - rebase to new transport logic
 - replaced iteration macro with property map

11 years agobus: use internal helper to read org.freedesktop.DBus.Properties::GetAll variables
Kay Sievers [Fri, 1 Nov 2013 23:10:12 +0000 (00:10 +0100)]
bus: use internal helper to read org.freedesktop.DBus.Properties::GetAll variables

11 years agodetect_virtualization() returns NULL; pass empty string to dbus
Kay Sievers [Fri, 1 Nov 2013 23:01:32 +0000 (00:01 +0100)]
detect_virtualization() returns NULL; pass empty string to dbus

11 years agoanalyze: rename variables
Thomas Hindoe Paaboel Andersen [Fri, 1 Nov 2013 22:11:37 +0000 (23:11 +0100)]
analyze: rename variables

11 years agoanalyze: plot: place the text on the side with most space
Thomas Hindoe Paaboel Andersen [Fri, 1 Nov 2013 21:57:47 +0000 (22:57 +0100)]
analyze: plot: place the text on the side with most space

Set the width of the svg to always fit the longest string
while taking its starting position into consideration.

Place the text on the right while the starting point is
in the first half of the screen. After that we put it on
the left to save the svg from being wider that it has to.

11 years agomachinectl: fix warning when compiling with -Og
Thomas Hindoe Paaboel Andersen [Fri, 1 Nov 2013 19:54:29 +0000 (20:54 +0100)]
machinectl: fix warning when compiling with -Og

src/machine/machinectl.c: In function ‘openpt_in_namespace’:
src/machine/machinectl.c:623:44: warning: ‘master’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                         close_nointr_nofail(master);
                                            ^

11 years agosystemctl: fix typo in help text
Thomas Hindoe Paaboel Andersen [Fri, 1 Nov 2013 19:46:49 +0000 (20:46 +0100)]
systemctl: fix typo in help text

11 years agosocket-proxyd: Actually, some of those sizes are unsigned.
David Strauss [Thu, 31 Oct 2013 22:30:49 +0000 (15:30 -0700)]
socket-proxyd: Actually, some of those sizes are unsigned.

11 years agofix compiler warnings
Ronny Chevalier [Thu, 31 Oct 2013 18:26:32 +0000 (19:26 +0100)]
fix compiler warnings

multiple warnings like

src/socket-proxy/socket-proxyd.c: In function ‘transfer_data_cb’:
src/socket-proxy/socket-proxyd.c:237:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ [-Wformat=]
                         log_debug("Buffer now has %ld bytes full.", c->buffer_filled_len);

11 years agoanalyze: share code to read a string array from sd-bus
Thomas Hindoe Paaboel Andersen [Thu, 31 Oct 2013 22:11:39 +0000 (23:11 +0100)]
analyze: share code to read a string array from sd-bus

11 years agoanalyze: use sd_bus_get_propery_trivial and indentation
Thomas Hindoe Paaboel Andersen [Thu, 31 Oct 2013 22:08:16 +0000 (23:08 +0100)]
analyze: use sd_bus_get_propery_trivial and indentation

11 years agotimedatectl: remove unused variable
Thomas Hindoe Paaboel Andersen [Thu, 31 Oct 2013 21:02:29 +0000 (22:02 +0100)]
timedatectl: remove unused variable

11 years agovirt: move caching of virtualization check results into detect_vm() and detect_contai...
Lennart Poettering [Thu, 31 Oct 2013 15:23:06 +0000 (16:23 +0100)]
virt: move caching of virtualization check results into detect_vm() and detect_container()

After all, we ended up calling detect_container() more often than
detect_virtualization(), hence the former one should cache the results,
since the latter is only a wrapper around the former.

11 years agoman: explain NAME in systemctl man page
Václav Pavlín [Thu, 31 Oct 2013 13:36:41 +0000 (14:36 +0100)]
man: explain NAME in systemctl man page

11 years agoRevert "timedated: support --enable-split-usr"
Lennart Poettering [Thu, 31 Oct 2013 10:20:33 +0000 (11:20 +0100)]
Revert "timedated: support --enable-split-usr"

This reverts commit 36f9f99556b2fd90705a9eda2e8f182b1e63a15e.

The ntp unit information is only needed by timedated which runs in late
boot only, where all disks are around. Hence there's no point in
allowing them to be located in the rootprefix.

11 years agozsh-completion: add systemd-run
Ronny Chevalier [Wed, 30 Oct 2013 20:57:44 +0000 (21:57 +0100)]
zsh-completion: add systemd-run

11 years agolocalectl: always print error message when an operation fails
Lennart Poettering [Thu, 31 Oct 2013 02:12:37 +0000 (03:12 +0100)]
localectl: always print error message when an operation fails

11 years agotimedatectl: do not print the time zone for the rtc time
Kay Sievers [Thu, 31 Oct 2013 02:04:07 +0000 (03:04 +0100)]
timedatectl: do not print the time zone for the rtc time

11 years agotimedatectl: assorted simplifications
Lennart Poettering [Thu, 31 Oct 2013 02:02:49 +0000 (03:02 +0100)]
timedatectl: assorted simplifications

11 years agotimedatectl: get time values from the service instead of the client
Kay Sievers [Thu, 31 Oct 2013 01:26:07 +0000 (02:26 +0100)]
timedatectl: get time values from the service instead of the client

This allow querying the RTC time from the unprivileged timedatectl.

11 years agomachinectl: add new command to spawn a getty inside a container
Lennart Poettering [Thu, 31 Oct 2013 00:25:44 +0000 (01:25 +0100)]
machinectl: add new command to spawn a getty inside a container

11 years agogetty-generator: modernizations
Lennart Poettering [Wed, 30 Oct 2013 19:19:22 +0000 (20:19 +0100)]
getty-generator: modernizations

11 years agonspawn: split out pty forwaring logic into ptyfwd.c
Lennart Poettering [Wed, 30 Oct 2013 17:58:59 +0000 (18:58 +0100)]
nspawn: split out pty forwaring logic into ptyfwd.c

11 years agobus-util: avoid infinite loop
Tom Gundersen [Wed, 30 Oct 2013 22:21:46 +0000 (23:21 +0100)]
bus-util: avoid infinite loop

11 years agolocalectl: remove unused 'P' arg
Thomas Hindoe Paaboel Andersen [Wed, 30 Oct 2013 22:13:25 +0000 (23:13 +0100)]
localectl: remove unused 'P' arg

11 years agolocalectl: port to libsystemd-bus
Kay Sievers [Wed, 30 Oct 2013 21:50:09 +0000 (22:50 +0100)]
localectl: port to libsystemd-bus

11 years agotimedatectl: port to sd-bus
Thomas Hindoe Paaboel Andersen [Wed, 30 Oct 2013 20:13:46 +0000 (21:13 +0100)]
timedatectl: port to sd-bus

11 years agonspawn: only pass in slice setting if it is set
Lennart Poettering [Wed, 30 Oct 2013 17:40:21 +0000 (18:40 +0100)]
nspawn: only pass in slice setting if it is set

11 years agoutil: when we use path_strv_canonicalize() we must allocate the strv from the heap
Lennart Poettering [Wed, 30 Oct 2013 17:15:38 +0000 (18:15 +0100)]
util: when we use path_strv_canonicalize() we must allocate the strv from the heap

11 years agorun: add support for executing commands remotely via SSH or in a container
Lennart Poettering [Wed, 30 Oct 2013 15:44:55 +0000 (16:44 +0100)]
run: add support for executing commands remotely via SSH or in a container

Also, unify the transport logic a bit, since we reuse the same scheme in
many of our client tools.

11 years agogeneral: various cleanups
Lennart Poettering [Wed, 30 Oct 2013 15:13:21 +0000 (16:13 +0100)]
general: various cleanups

11 years agotimedated: support --enable-split-usr
Dave Reisner [Wed, 30 Oct 2013 15:06:43 +0000 (11:06 -0400)]
timedated: support --enable-split-usr

11 years agolink-config: support --enable-split-usr
Dave Reisner [Wed, 30 Oct 2013 15:00:46 +0000 (11:00 -0400)]
link-config: support --enable-split-usr

11 years agoudev: rules - move parsing error to log_error()
Kay Sievers [Wed, 30 Oct 2013 14:49:46 +0000 (15:49 +0100)]
udev: rules - move parsing error to log_error()

11 years agoudev: config-link - one less log_info
Tom Gundersen [Wed, 30 Oct 2013 14:46:22 +0000 (15:46 +0100)]
udev: config-link - one less log_info

11 years agomachinectl: we don't really just show information, we execute operations
Lennart Poettering [Wed, 30 Oct 2013 14:42:06 +0000 (15:42 +0100)]
machinectl: we don't really just show information, we execute operations

11 years agobus: add API call to create bus connection to the system bus of local containers
Lennart Poettering [Wed, 30 Oct 2013 14:34:50 +0000 (15:34 +0100)]
bus: add API call to create bus connection to the system bus of local containers

Also, add support for this to machinectl, so that we can enumerate the
machines that run inside a container. We must go deeper!

11 years agobus: move ssh support into public API of libsystem-bus
Lennart Poettering [Wed, 30 Oct 2013 12:52:40 +0000 (13:52 +0100)]
bus: move ssh support into public API of libsystem-bus

11 years agolibudev: default log_priority to INFO
Tom Gundersen [Wed, 30 Oct 2013 14:09:01 +0000 (15:09 +0100)]
libudev: default log_priority to INFO

This brings it in sync with the default config file.

11 years agoudev: link-config - less verbose logging
Tom Gundersen [Wed, 30 Oct 2013 13:40:10 +0000 (14:40 +0100)]
udev: link-config - less verbose logging

Also reinstate print to kmsg when renaming netif.

11 years agoudev: link-config - let udevd set the ifname
Tom Gundersen [Wed, 30 Oct 2013 03:10:19 +0000 (04:10 +0100)]
udev: link-config - let udevd set the ifname

11 years agomachinectl: privileged option is gone
Marc-Antoine Perennou [Wed, 30 Oct 2013 03:33:11 +0000 (12:33 +0900)]
machinectl: privileged option is gone

11 years agoudev: ata_id: log faling ioctls as "debug"
Kay Sievers [Wed, 30 Oct 2013 13:34:58 +0000 (14:34 +0100)]
udev: ata_id: log faling ioctls as "debug"

11 years agomachinectl: port to sd-bus
Tom Gundersen [Mon, 12 Aug 2013 12:19:22 +0000 (14:19 +0200)]
machinectl: port to sd-bus

11 years agobuild-sys: remove default CFLAGS assignment
Kay Sievers [Wed, 30 Oct 2013 01:26:29 +0000 (02:26 +0100)]
build-sys: remove default CFLAGS assignment

11 years agobus: fix build
Lennart Poettering [Wed, 30 Oct 2013 01:38:52 +0000 (02:38 +0100)]
bus: fix build

11 years agogit: indicate that tabs are never OK in the systemd tree
Lennart Poettering [Wed, 30 Oct 2013 01:25:38 +0000 (02:25 +0100)]
git: indicate that tabs are never OK in the systemd tree

11 years agomachined: port over to libsystemd-bus
Lennart Poettering [Wed, 30 Oct 2013 01:06:55 +0000 (02:06 +0100)]
machined: port over to libsystemd-bus

11 years agoupdate TODO
Lennart Poettering [Wed, 30 Oct 2013 01:05:49 +0000 (02:05 +0100)]
update TODO

11 years agobus: make sure we can match well-known names
Lennart Poettering [Wed, 30 Oct 2013 01:05:38 +0000 (02:05 +0100)]
bus: make sure we can match well-known names

11 years agoautogen: use -O0 for "autogen.sh c" after all
Lennart Poettering [Wed, 30 Oct 2013 01:04:17 +0000 (02:04 +0100)]
autogen: use -O0 for "autogen.sh c" after all

-Og actually breaks gdb still, so let's stick to -O0 for now, but
introduce "autogen.sh g" for those who don't need gdb.

11 years agobus: it is OK to have signals with multiple parameters
Lennart Poettering [Tue, 29 Oct 2013 20:38:47 +0000 (21:38 +0100)]
bus: it is OK to have signals with multiple parameters

11 years agobus: don't fail if GetAll() is used to get properties of the built-in interfaces
Lennart Poettering [Tue, 29 Oct 2013 20:38:31 +0000 (21:38 +0100)]
bus: don't fail if GetAll() is used to get properties of the built-in interfaces

11 years agobus: make bus message dump output a bit smaller
Lennart Poettering [Tue, 29 Oct 2013 20:37:32 +0000 (21:37 +0100)]
bus: make bus message dump output a bit smaller

11 years agobus: don't include the introspected object in list of subobjects
Lennart Poettering [Tue, 29 Oct 2013 20:37:07 +0000 (21:37 +0100)]
bus: don't include the introspected object in list of subobjects

11 years agoudev: do not allow to change the DEVPATH of a device
Kay Sievers [Wed, 30 Oct 2013 00:57:47 +0000 (01:57 +0100)]
udev: do not allow to change the DEVPATH of a device

11 years agoudev: link-config - reset ctx on exit
Tom Gundersen [Tue, 29 Oct 2013 22:32:00 +0000 (23:32 +0100)]
udev: link-config - reset ctx on exit

11 years agortnl-util: add missing files
Tom Gundersen [Tue, 29 Oct 2013 20:52:22 +0000 (21:52 +0100)]
rtnl-util: add missing files

11 years agoudev-event: use rtnl to set ifname
Tom Gundersen [Tue, 29 Oct 2013 19:03:26 +0000 (20:03 +0100)]
udev-event: use rtnl to set ifname

11 years agortnl: move set_link_properties to rtnl-utils
Tom Gundersen [Tue, 29 Oct 2013 18:55:54 +0000 (19:55 +0100)]
rtnl: move set_link_properties to rtnl-utils

11 years agortnl: fix sockaddr confusion
Tom Gundersen [Tue, 29 Oct 2013 20:20:25 +0000 (21:20 +0100)]
rtnl: fix sockaddr confusion

11 years agostrv: introduce new STRV_MAKE and STRV_MAKE_EMPTY macros to create string arrays...
Lennart Poettering [Tue, 29 Oct 2013 19:09:16 +0000 (20:09 +0100)]
strv: introduce new STRV_MAKE and STRV_MAKE_EMPTY macros to create string arrays nicely on the fly

11 years agobus: add extra validity checks
Lennart Poettering [Tue, 29 Oct 2013 18:55:37 +0000 (19:55 +0100)]
bus: add extra validity checks

11 years agostrv: introduce new strv_from_stdarg_alloca() macro to generate a string array from...
Lennart Poettering [Tue, 29 Oct 2013 18:53:43 +0000 (19:53 +0100)]
strv: introduce new strv_from_stdarg_alloca() macro to generate a string array from stdarg function parameters

This allows us to turn lists of strings passed in easily into string
arrays without having to allocate memory.

11 years agorc-local: use access(X_OK) to check if files are executable
Lennart Poettering [Tue, 29 Oct 2013 18:34:11 +0000 (19:34 +0100)]
rc-local: use access(X_OK) to check if files are executable

... and other modernizations.

11 years agotimedate: handle more nicely if something or somebody keeps open /dev/rtc and thus...
Lennart Poettering [Tue, 29 Oct 2013 18:31:41 +0000 (19:31 +0100)]
timedate: handle more nicely if something or somebody keeps open /dev/rtc and thus blocks out everybody else

chrony is appears to keep the RTC open continuously these days which is
a bad idea, and /dev/rtc is a single-user device, which is a bad idea
too. Together both bad ideas mean that nobody else can access the RTC
anymore. That's something to fix, but in the meantime we should handle
this more gracefully.

11 years agobus: add a macro to simplify reading of UUIDs
Lennart Poettering [Tue, 29 Oct 2013 18:31:25 +0000 (19:31 +0100)]
bus: add a macro to simplify reading of UUIDs

11 years agobus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API calls
Lennart Poettering [Tue, 29 Oct 2013 18:30:55 +0000 (19:30 +0100)]
bus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API calls

11 years agortnl: cleanup socket_read_message
Tom Gundersen [Tue, 29 Oct 2013 16:52:25 +0000 (17:52 +0100)]
rtnl: cleanup socket_read_message

11 years agoudev: link-config - split connection to sockets from loading of configs
Tom Gundersen [Tue, 29 Oct 2013 16:48:58 +0000 (17:48 +0100)]
udev: link-config - split connection to sockets from loading of configs

We want to load the config in _init, but not connect to the sockets before we are forked.

11 years agortnl: complain if used after fork
Tom Gundersen [Tue, 29 Oct 2013 16:38:31 +0000 (17:38 +0100)]
rtnl: complain if used after fork

11 years agortnl: introduce default timeout
Tom Gundersen [Tue, 29 Oct 2013 15:35:37 +0000 (16:35 +0100)]
rtnl: introduce default timeout

We set it to 10 secs (as we are only communicating with the kernel,
it seems we should be able to bail out sooner than sd-bus, which
uses 25).

When passing timout 0, the default is used, use this in link-config.

11 years agoudev: link-config - use safe_atou instead of strtoul
Tom Gundersen [Tue, 29 Oct 2013 15:20:22 +0000 (16:20 +0100)]
udev: link-config - use safe_atou instead of strtoul

11 years agoudev: link-config - use zero instead of memset
Tom Gundersen [Tue, 29 Oct 2013 15:10:54 +0000 (16:10 +0100)]
udev: link-config - use zero instead of memset

11 years agoudev: link-config - use proper return values
Tom Gundersen [Tue, 29 Oct 2013 15:05:27 +0000 (16:05 +0100)]
udev: link-config - use proper return values

Not sure if -ENOENT is the correct return value for when no persistent network
name is set, but couldn't think of anything better.

11 years agoudev: link-config - use new0 instead of calloc
Tom Gundersen [Tue, 29 Oct 2013 14:59:45 +0000 (15:59 +0100)]
udev: link-config - use new0 instead of calloc

11 years agortnl: use malloc0 instead of calloc
Tom Gundersen [Tue, 29 Oct 2013 14:57:54 +0000 (15:57 +0100)]
rtnl: use malloc0 instead of calloc

11 years agortnl: use _cleanup_ macro more
Tom Gundersen [Tue, 29 Oct 2013 14:56:28 +0000 (15:56 +0100)]
rtnl: use _cleanup_ macro more

11 years agoudev: link-config - use _cleanup_ macro locally
Tom Gundersen [Tue, 29 Oct 2013 14:36:26 +0000 (15:36 +0100)]
udev: link-config - use _cleanup_ macro locally

11 years agopath_check_timestamp: only keep the most recent timestamp
Tom Gundersen [Tue, 29 Oct 2013 14:15:53 +0000 (15:15 +0100)]
path_check_timestamp: only keep the most recent timestamp

There is no point in keeping one timestamp for each directory, as we only
ever care about the most recent one.

11 years agosd-rtnl: minor fixes
Tom Gundersen [Tue, 29 Oct 2013 14:03:27 +0000 (15:03 +0100)]
sd-rtnl: minor fixes

11 years agoudev: link-config - add proper parsing
Tom Gundersen [Mon, 28 Oct 2013 19:59:56 +0000 (20:59 +0100)]
udev: link-config - add proper parsing

11 years agoconf-parser: add macro for ENUMV
Tom Gundersen [Tue, 29 Oct 2013 12:03:13 +0000 (13:03 +0100)]
conf-parser: add macro for ENUMV

Parses a whitespace separated list of strings into a vector of enums.

11 years agoudev: builtin - rename net_link to net_setup_link
Tom Gundersen [Mon, 28 Oct 2013 19:20:59 +0000 (20:20 +0100)]
udev: builtin - rename net_link to net_setup_link

Also add shell completions.

11 years agonetwork: move configuration to /etc/systemd/network
Tom Gundersen [Mon, 28 Oct 2013 19:11:10 +0000 (20:11 +0100)]
network: move configuration to /etc/systemd/network

This is private configuraiton, so let's not pollute the namespace (and hence make Debian happy :) ).

11 years agojournalctl: add --list-boots to show boot IDs and times
Zbigniew Jędrzejewski-Szmek [Tue, 29 Oct 2013 03:43:57 +0000 (23:43 -0400)]
journalctl: add --list-boots to show boot IDs and times

Suggested by David Wilkins <dwilkins@maths.tcd.ie> in
https://bugzilla.redhat.com/show_bug.cgi?id=967521:

> [Specific boot ID is a] bit of a palaver to obtain.  I consulted the
> verbose dump of the journal to discover the _BOOT_ID for the
> timestamp, and then generated the journal dump for that boot using
> journalctl _BOOT_ID=foo -o short-monotonic.

11 years agoupdate TODO
Lennart Poettering [Mon, 28 Oct 2013 20:11:51 +0000 (21:11 +0100)]
update TODO

11 years agoUpdate socket proxy name in TODO. Reformat to list.
David Strauss [Mon, 28 Oct 2013 19:48:39 +0000 (12:48 -0700)]
Update socket proxy name in TODO. Reformat to list.

11 years agoudev: don't mix static and dynamic libs
Tom Gundersen [Mon, 28 Oct 2013 17:54:41 +0000 (18:54 +0100)]
udev: don't mix static and dynamic libs

11 years agoudev: link-config - add mac address policy
Tom Gundersen [Sun, 27 Oct 2013 23:19:59 +0000 (00:19 +0100)]
udev: link-config - add mac address policy

This introduces a new key MACAddressPolicy.

The possible policies are 'persistent' and 'random'.

'persistent' will do nothing if the current address is the hardware address,
but if the hardware does not have an address (or another address is set for
whatever reason), we will generate an address which will be random, but
persistent between boots (based on machineid and persistent netif name).

'random' will do nothing if the kernel already set a random address, otherwise
it will generate a random one and use that instead.

This patch sets MACAddressPolicy=persistent in the default .link file.

11 years agokeymap: Fix stuck keys on Lenovo IdeaPad Z370
Martin Pitt [Mon, 28 Oct 2013 11:32:12 +0000 (12:32 +0100)]
keymap: Fix stuck keys on Lenovo IdeaPad Z370

https://launchpad.net/bugs/1245189