[systemd-devel] [PATCH] localed: validate set-x11-keymap input

Jan Synacek jsynacek at redhat.com
Tue Nov 4 03:05:47 PST 2014


As mentioned in [1], it would probably be better if the validation
errors were just warnings, but I'm not sure if that can be achieved
over dbus.

[1] http://lists.freedesktop.org/archives/systemd-devel/2014-October/024129.html

Jan Synacek (1):
  localed: validate set-x11-keymap input

 Makefile.am            |   2 +
 src/locale/localectl.c |  77 ++------------------
 src/locale/localed.c   |   8 ++
 src/shared/xkb-util.c  | 194 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/shared/xkb-util.h  |  39 ++++++++++
 5 files changed, 248 insertions(+), 72 deletions(-)
 create mode 100644 src/shared/xkb-util.c
 create mode 100644 src/shared/xkb-util.h

-- 
1.9.3



More information about the systemd-devel mailing list