logind: be a bit more rigid with seat names

This commit is contained in:
Lennart Poettering 2011-06-29 01:48:59 +02:00
parent ab2a782ab7
commit 1c9a2c1047
2 changed files with 4 additions and 0 deletions

View File

@ -492,5 +492,8 @@ bool seat_name_is_valid(const char *name) {
if (!seat_name_valid_char(*p))
return false;
if (strlen(name) > 255)
return false;
return true;
}

View File

@ -45,6 +45,7 @@
* use device_has_tag() as soon as it is available
* trigger based on libudev if available
* enumerate recursively with libudev when triggering
* use sysfs in device hash table, not sysname, when fb driver is fixed
*
* non-local X11 server
* reboot/shutdown halt management