Commit Graph

20 Commits (faa76def085a01f733cd4d006b663845e88ce660)

Author SHA1 Message Date
AnErrupTion a7b01a721b Increase length for UID to 20 (closes #444) 2 years ago
Simon Struck 77eb456410
Re-add missing environment variables (#446) 2 years ago
Cavernosa 59aae77f49
Fixes for the XDG Base Dirs implementation (#330) (#419)
Fix XDG Base Dirs implementation
2 years ago
ShiningLea 09ee6293bd
Merge dev into master (closes #182) (#425)
Merge dev into master branch
Co-authored-by: AnErrupTion <anerruption@disroot.org>
2 years ago
ShiningLea 9364ffcea9
Merge pull request #330 from UtkarshVerma/xdg
Use XDG_RUNTIME_DIR for storing Xauthority
2 years ago
Utkarsh Verma 38aacc6b1c
Implement fallback logic for XAUTHORITY 2 years ago
Qontinuum da5b08abf2
Check if lang is NULL and use shorter check (#303) 2 years ago
AnErrupTion 25034d1536 Set XDG_SESSION_ID to fix a few bugs 2 years ago
AnErrupTion 27c5673116 Set XDG_SESSION_TYPE earlier to fix some bugs 2 years ago
Utkarsh Verma 908ebf8964
Use XDG_RUNTIME_DIR for storing Xauthority 3 years ago
nullgemm b448fc97b2 remove the ctypes submodule 3 years ago
nullgemm 915ebd442f clear password instead of free 4 years ago
nullgemm 4882cd4548 fix wayland sessions 4 years ago
nullgemm 9eb212cb91 put xauthority file in XDG_CONFIG if specified 4 years ago
Érico Nogueira Rolim fa42781cb9 Make the project compilable with clang. (#163)
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.
4 years ago
Stanislav Láznička ecaea4131b Implement utmp audit (#133)
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.
5 years ago
Roosemberth Palacios f650e82f93 login.c: Do not overwrite the PATH variable if config.path element is empty (#135)
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>
5 years ago
Stanislav Láznička 9486f05e59 cosmetic changes + enter behavior (#126)
* 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
5 years ago
nullgemm ce07938ccf set LANG 5 years ago
nullgemm efc5c49de5 initial commit 5 years ago