shadow/lib
nekral-guest 82c1a583f8 * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
of global utent/utxent variables. Only reuse the ut_id and maybe
	the ut_host fields from utmp.
	* lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
	setutmp(), setutmpx().
	* lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
	prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
	* libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
	line with ttyname(). (No stat of the two terminals to compare the
	devices).
	* libmisc/utmp.c: Use getaddrinfo() to get the address of the
	host.
	* configure.in: Check for getaddrinfo().
	* configure.in: Use AC_CHECK_MEMBERS to check for the existence of
	fields in the utmp/utmpx structures.
	* configure.in: Reject systems with utmpx support but no ut_id
	field in utmp. This could be fixed later if needed.
	* src/login.c: Use the new utmp functions. This also simplifies
	the failtmp() handling.
	* src/login.c: passwd_free() renamed to pw_free() and
	shadow_free() renamed to spw_free()
2009-04-21 22:39:14 +00:00
..
.indent.pro [svn-upgrade] Integrating new upstream version, shadow (4.0.8) 2007-10-07 11:46:07 +00:00
commonio.c Tag one of the remaining strtol. 2009-04-11 16:08:00 +00:00
commonio.h Indicate that defines.h is included for the definition of the "bool" type. 2008-05-26 08:52:34 +00:00
defines.h * lib/defines.h: Added MIN and MAX macros. 2009-04-21 22:06:09 +00:00
encrypt.c * lib/encrypt.c: Avoid implicit conversion of pointers to booleans. 2008-05-26 01:07:13 +00:00
exitcodes.h Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
faillog.h Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
fputsx.c * lib/fputsx.c: Add brackets. 2008-05-26 00:59:42 +00:00
get_gid.c * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am, 2009-03-21 20:24:37 +00:00
get_uid.c * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am, 2009-03-21 20:24:37 +00:00
getdef.c * lib/getdef.c: Use getlong instead of strtol/strtoul. 2009-04-10 22:35:26 +00:00
getdef.h * lib/getdef.c: Fix the getdef_ulong() prototype. 2008-06-14 21:09:33 +00:00
getlong.c * NEWS, srclib/getlong.c: Fix parsing of octal numbers. 2009-04-15 17:50:17 +00:00
groupio.c * lib/shadowmem.c: Added spw_free(). 2009-04-21 22:14:10 +00:00
groupio.h * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c: 2008-08-30 18:30:58 +00:00
groupmem.c * lib/shadowmem.c: Added spw_free(). 2009-04-21 22:14:10 +00:00
gshadow_.h Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
gshadow.c * lib/gshadow.c: Avoid assignments in comparison. 2008-07-11 22:23:42 +00:00
lockpw.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
Makefile.am * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c. 2009-04-10 22:35:43 +00:00
nscd.c * lib/nscd.c: Avoid redefinition of _GNU_SOURCE. 2008-08-31 17:27:26 +00:00
nscd.h * configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd flag to 2008-08-30 18:30:36 +00:00
pam_defs.h * README, NEWS, configure.in, lib/pam_defs.h, src/login.c: Add 2008-07-21 21:14:06 +00:00
port.c * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c, 2008-06-13 18:11:09 +00:00
port.h Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
prototypes.h * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid 2009-04-21 22:39:14 +00:00
pwauth.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
pwauth.h Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
pwio.c * lib/shadowmem.c: Added spw_free(). 2009-04-21 22:14:10 +00:00
pwio.h * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c: 2008-08-30 18:30:58 +00:00
pwmem.c * lib/shadowmem.c: Added spw_free(). 2009-04-21 22:14:10 +00:00
sgetgrent.c * lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to 2009-03-21 20:29:58 +00:00
sgetpwent.c Remove unused variable. 2009-03-21 20:45:35 +00:00
sgetspent.c * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT 2009-04-10 22:35:07 +00:00
sgroupio.c * lib/shadowmem.c: Added spw_free(). 2009-04-21 22:14:10 +00:00
sgroupio.h * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h, 2008-08-06 15:57:31 +00:00
shadow.c * lib/shadow.c: Replace strtol() by getlong(). Also detect more 2009-04-10 22:35:14 +00:00
shadowio.c * lib/shadowmem.c: Added spw_free(). 2009-04-21 22:14:10 +00:00
shadowio.h * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h, 2008-08-06 15:57:31 +00:00
shadowmem.c * lib/shadowmem.c: Added spw_free(). 2009-04-21 22:14:10 +00:00
utent.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00