1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-11-29 00:24:11 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Gabriel Kihlman
04f26f7d29
Typo in debug message: Privilges -> Privileges 2019-10-25 15:02:52 +02:00
Karol Babioch
eb17d840a6 Fix minor typo 2018-05-22 17:24:24 +02:00
Klas Lindfors
cb4e1df68e fixup openpam drop_privs implementation to support debug_file 2016-06-16 10:07:38 +02:00
Simon Josefsson
43cd3b4621 Update copyright years. 2014-04-30 13:16:09 +02:00
Klas Lindfors
1b2a8fdf30 reimplement drop_privs to implement the pam_modutils interface
Original patch from maxime.deroucy@gmail.com.
http://code.google.com/p/yubico-pam/issues/detail?id=49
fixes #19
2013-09-20 10:54:13 +02:00
Klas Lindfors
eb1ba8a52a update copyright years 2013-09-19 08:35:15 +02:00
Klas Lindfors
47cae946df allocate space for the grplist in the privs structure
as we want to save the privs structure longer than the
scope of def_privs we need to allocate the space for grplist.
2013-09-19 08:35:00 +02:00
Klas Lindfors
8cb3752293 correct debug message 2013-09-19 08:35:00 +02:00
Eugene Crosser
2aaf0fdc23 Stop leaks of memory and of privileges
Fix several memory leaks and mishandling of the privilege status
where a function returned failure indication, and previously
allocated memory was not freed (and the referece was lost), or
previously droped privileges where not restored.
2013-09-18 14:22:41 +02:00
Klas Lindfors
f1c30e3028 fix warnings 2013-09-18 14:10:35 +02:00
Fredrik Thulin
bcdfbfa128 include stdlib, for malloc() 2012-02-10 14:13:55 +01:00
Simon Josefsson
3828953374 Bump version. Use silent rules. Bump copyright years. 2012-01-23 20:25:06 +01:00
Fredrik Thulin
29f8a00713 Bug fix dropping privileges using pam_modutil_drop_priv. 2011-12-13 16:15:25 +01:00
Fredrik Thulin
fcde64a93e Use pam_modutil_drop_priv if it is available.
Utility functions for what was done in drop_priv.c appeared
in PAM 1.1.3. Use them when available.
2011-11-23 13:45:41 +01:00
Ricky Zhou
a9892dbb44 Drop privileges before opening user files.
This change also ensures that user tokens are regular files.  We may
want to add a similar check for user challenge files.
2011-11-23 10:16:00 +01:00