mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-26 11:52:06 +00:00
- (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report
from matth@eecs.berkeley.edu
This commit is contained in:
parent
c8a49d743a
commit
d186d74410
@ -1,3 +1,7 @@
|
||||
20030409
|
||||
- (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report
|
||||
from matth@eecs.berkeley.edu
|
||||
|
||||
20030402
|
||||
- (bal) if IP_TOS is not found or broken don't try to compile in
|
||||
packet_set_tos() function call. bug #527
|
||||
@ -1299,4 +1303,4 @@
|
||||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||
ok provos@
|
||||
|
||||
$Id: ChangeLog,v 1.2649 2003/04/02 15:18:22 mouring Exp $
|
||||
$Id: ChangeLog,v 1.2650 2003/04/09 09:40:33 djm Exp $
|
||||
|
@ -163,7 +163,7 @@
|
||||
#include "log.h"
|
||||
#include "atomicio.h"
|
||||
|
||||
RCSID("$Id: loginrec.c,v 1.47 2003/03/10 00:23:07 djm Exp $");
|
||||
RCSID("$Id: loginrec.c,v 1.48 2003/04/09 09:40:34 djm Exp $");
|
||||
|
||||
#ifdef HAVE_UTIL_H
|
||||
# include <util.h>
|
||||
@ -1483,7 +1483,7 @@ lastlog_perform_login(struct logininfo *li)
|
||||
/* create our struct lastlog */
|
||||
lastlog_construct(li, &last);
|
||||
|
||||
if (!lastlog_openseek(li, &fd, O_RDWR|O_CREAT))
|
||||
if (!lastlog_openseek(li, &fd, O_RDWR|O_CREAT, 0600))
|
||||
return(0);
|
||||
|
||||
/* write the entry */
|
||||
|
Loading…
Reference in New Issue
Block a user