shadow/libmisc
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 Commit the last version from the PLD CVS repository. 2007-10-07 14:36:51 +00:00
addgrps.c * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to 2009-04-05 22:29:42 +00:00
age.c * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A 2009-04-11 18:37:08 +00:00
audit_help.c * libmisc/audit_help.c: Added audit_logger_message() to log 2008-12-22 21:52:43 +00:00
basename.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
chkname.c * libmisc/chkname.c: Use a bool when possible instead of integers. 2008-12-23 22:42:22 +00:00
chkname.h Updated copyright dates. 2008-05-25 23:31:10 +00:00
chowndir.c * Avoid assignment in comparisons, implicit comparison of integers to booleans. 2008-05-25 21:23:28 +00:00
chowntty.c * libmisc/getgr_nam_gid.c: Added support for NULL argument. 2009-04-11 16:23:21 +00:00
cleanup_group.c * libmisc/cleanup_group.c: Fix compilation when compiled without 2008-12-23 00:39:54 +00:00
cleanup_user.c * libmisc/audit_help.c: Added audit_logger_message() to log 2008-12-22 21:52:43 +00:00
cleanup.c * libmisc/cleanup.c: Fix del_cleanup. The arguments were not 2009-03-15 21:15:48 +00:00
console.c * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c, 2008-06-13 18:11:09 +00:00
copydir.c * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map 2009-04-11 15:34:10 +00:00
entry.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
env.c * libmisc/env.c: Avoid implicit conversion of pointers / chars to 2008-06-17 21:58:46 +00:00
failure.c Fix typo. 2009-04-21 22:02:37 +00:00
failure.h * libmisc/failure.h, libmisc/failure.c, src/login.c: Added 2009-04-20 11:37:41 +00:00
fields.c * libmisc/fields.c: Avoid assignments in comparisons, assignments 2008-05-24 15:19:02 +00:00
find_new_gid.c * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system 2009-04-11 16:00:45 +00:00
find_new_uid.c * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system 2009-04-11 16:00:45 +00:00
getdate.h Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
getdate.y * libmisc/getdate.y: abbrev is a bool. 2008-05-26 08:59:54 +00:00
getgr_nam_gid.c * libmisc/getgr_nam_gid.c: Added support for NULL argument. 2009-04-11 16:23:21 +00:00
getrange.c * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am, 2009-03-08 20:26:56 +00:00
hushed.c Fix typo ( ) and fix a compilation warning (wrong const). 2009-04-21 22:03:33 +00:00
isexpired.c * libmisc/isexpired.c: If there are no shadow entry, there is no 2009-04-05 22:02:00 +00:00
limits.c * libmisc/limits.c: Add brackets and parenthesis. 2008-06-15 21:59:41 +00:00
list.c * libmisc/list.c: Added assertions for non NULL parameters. 2008-08-31 17:30:21 +00:00
log.c * libmisc/log.c: Check return values. If lseek() failed, avoid 2008-06-15 19:15:15 +00:00
loginprompt.c * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c, 2008-06-13 18:11:09 +00:00
mail.c * libmisc/mail.c: Added brackets and parenthesis. 2008-08-30 18:31:56 +00:00
Makefile.am * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map 2009-04-11 15:34:10 +00:00
motd.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
myname.c Re-indent. 2008-06-17 21:17:45 +00:00
obscure.c * libmisc/obscure.c: Compare characters to '\0', not NULL. 2008-09-06 15:59:28 +00:00
pam_pass.c * libmisc/pam_pass.c (do_pam_passwd): The silent and 2008-05-25 23:38:05 +00:00
pwd2spwd.c * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to 2009-04-05 22:29:42 +00:00
pwd_init.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
pwdcheck.c Simply passwd_check since it's never used when configured with PAM support. 2008-05-24 14:11:31 +00:00
rlogin.c * libmisc/rlogin.c: The size argument of read() is a size_t. 2008-06-13 18:34:27 +00:00
salt.c * lib/defines.h: Added MIN and MAX macros. 2009-04-21 22:06:09 +00:00
setugid.c * libmisc/setugid.c: Updated comments. 2009-04-20 11:43:36 +00:00
setupenv.c Updated copyright dates. 2008-05-26 00:04:30 +00:00
shell.c * libmisc/shell.c: Add brackets and parenthesis. 2009-04-21 22:07:35 +00:00
strtoday.c * libmisc/strtoday.c: Avoid implicit conversion of pointers to 2008-06-13 19:48:11 +00:00
sub.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +00:00
sulog.c * libmisc/sulog.c: Likewise for the su log. 2009-03-21 19:32:14 +00:00
system.c libmisc/system.c was contributed by Dan Walsh. 2009-04-15 17:42:34 +00:00
ttytype.c * libmisc/ttytype.c: Add brackets and parenthesis. 2009-04-20 11:31:05 +00:00
tz.c * libmisc/tz.c: tz() is only used when USE_PAM is not defined. 2008-09-06 16:42:41 +00:00
ulimit.c * libmisc/limits.c: Add brackets and parenthesis. 2008-06-15 21:59:41 +00:00
utmp.c * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid 2009-04-21 22:39:14 +00:00
valid.c * lib/prototypes.h, libmisc/valid.c: Change the prototype of 2008-06-10 21:52:34 +00:00
xgetgrgid.c * lib/defines.h: Do not include <config.h>. This complicate 2008-09-06 15:58:23 +00:00
xgetgrnam.c * lib/defines.h: Do not include <config.h>. This complicate 2008-09-06 15:58:23 +00:00
xgetpwnam.c * lib/defines.h: Do not include <config.h>. This complicate 2008-09-06 15:58:23 +00:00
xgetpwuid.c * lib/defines.h: Do not include <config.h>. This complicate 2008-09-06 15:58:23 +00:00
xgetspnam.c * lib/defines.h: Do not include <config.h>. This complicate 2008-09-06 15:58:23 +00:00
xgetXXbyYY.c * lib/defines.h: Do not include <config.h>. This complicate 2008-09-06 15:58:23 +00:00
xmalloc.c Avoid implicit conversion of integers / pointers to booleans. 2008-05-25 20:39:31 +00:00
yesno.c * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c, 2008-06-13 18:11:09 +00:00