]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sulogin: avoid shared memory area usemask but use waitid() for childs
authorWerner Fink <werner@suse.de>
Thu, 11 Feb 2016 12:35:26 +0000 (13:35 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Feb 2016 10:19:21 +0000 (11:19 +0100)
commitcde7699c27ff22bed8d554d50e10a42ec0dba6d8
treeb0730ea20d74c823c1f5025d9c7ad77740b38829
parent5ee870c98c9d4ee38ce01fd86c5506bc40e5ce29
sulogin: avoid shared memory area usemask but use waitid() for childs

This small patch improves the console detection code and also avoids not
existing device nodes due strdup() which is used in canonicalize_path().
Beside this now the code for emergeny mount does work if enabled at
configure time.

Signed-off-by: Werner Fink <werner@suse.de>
login-utils/sulogin-consoles.c
login-utils/sulogin.c