shadow/libmisc
nekral-guest a324a7f13f * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from
utmp.c to chowntty.c. checkutmp() now only uses an existing utmp
	entry if the pid matches and ut_line matches with the current tty.
	This fixes a possible DOS when entries can be forged in the utmp
	file.
	* libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the
	tty argument from chown_tty. chown_tty always changes stdin and
	does not need this argument anymore.
2008-11-22 23:56:11 +00:00
..
.indent.pro
addgrps.c * libmisc/addgrps.c: Avoid implicit conversion of pointers to 2008-06-13 18:19:34 +00:00
age.c * libmisc/age.c: fork() and wait return a pid_t, not an int. 2008-06-13 19:24:27 +00:00
audit_help.c * lib/prototypes.h, libmisc/audit_help.c: Define new type 2008-09-04 19:35:48 +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.h, libmisc/chkname.c: check_group_name (resp. 2008-05-25 20:58:16 +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 * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from 2008-11-22 23:56:11 +00:00
console.c * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c, 2008-06-13 18:11:09 +00:00
copydir.c * libmisc/copydir.c: Call utimes() after closing the file. 2008-09-07 00:51:17 +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 * libmisc/failure.c: Try to close the open file if a failure 2008-06-15 19:16:34 +00:00
failure.h Updated copyright dates. 2008-05-25 23:32: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 * src/useradd.c: Added missing declaration of Mflg. 2008-09-14 13:42:10 +00:00
find_new_uid.c * src/useradd.c: Added missing declaration of Mflg. 2008-09-14 13:42:10 +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
getlong.c * libmisc/getlong.c: Reset errno before calling strtol(). 2008-06-14 21:02:52 +00:00
getrange.c * libmisc/Makefile.am, libmisc/getrange.c: Added function to parse 2008-06-14 21:01:11 +00:00
hushed.c * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c, 2008-06-13 18:11:09 +00:00
isexpired.c * libmisc/isexpired.c: Cast number of days to a long integer. 2008-06-13 20:12:03 +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 * libmisc/find_new_ids.c, libmisc/find_new_gid.c, 2008-06-15 18:33:52 +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 * libmisc/pwd2spwd.c: Cast number of days to a long integer. 2008-06-13 20:08:33 +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 * libmisc/salt.c: Use a size_t for the size of strings instead of 2008-06-13 19:37:15 +00:00
setugid.c * libmisc/setugid.c, src/login_nopam.c, src/suauth.c, 2008-09-13 18:03:50 +00:00
setupenv.c Updated copyright dates. 2008-05-26 00:04:30 +00:00
shell.c Make sure every source files are distributed with a copyright and license. 2008-04-27 00:40:09 +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: Ignore the return value of umask() when the 2008-06-13 19:52:58 +00:00
ttytype.c * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c, 2008-06-13 18:11:09 +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 * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from 2008-11-22 23:56:11 +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