Clang generates more warning messages, such as pointing out a lack
of newline at end of file and issues with the size of a strncopy.
Moving -Wno-unused-parameter to the end of the flags avoids it being
overwritten by -Wextra.
Removing -Werror avoids compilation errors that may arise from new
compiler warnings that might come from newer versions of compilers.
Implements utmp audit required by policykit.
This commit also flattens the pidtree for the DM by starting the
display environment directly in the first fork which already should
have the environment ready for this purpose. This is with the
exception of xorg environments where this can't be done that easily.
This allows disabling the feature if PATH was already set (e.g. by the systemd session
slice) and the user wishes to honor that.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
This allows the user to specify a different directory to store static files, such as
translations and other resources.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
* remove trailing whitespace
* always submit password on enter
Moves the keypress logic for keypresses from if-else statements
to switches, adds non-contextual behavior on pressing enter
* wrap pam actions and handle errors at on spot
* init all of text struct in input_text()
This gets rid off valgrind warning on unitialized variables