Home | History | Annotate | Download | only in openssh

Lines Matching refs:open

870 	if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) {
1095 if ((fd = open(WTMP_FILE, O_WRONLY|O_APPEND, 0)) < 0) {
1189 if ((fd = open(WTMP_FILE, O_RDONLY)) < 0) {
1267 if ((fd = open(WTMPX_FILE, O_WRONLY|O_APPEND, 0)) < 0) {
1354 if ((fd = open(WTMPX_FILE, O_RDONLY)) < 0) {
1473 /* open the file (using filemode) and seek to the login entry */
1497 *fd = open(lastlog_file, filemode, 0600);
1499 debug("%s: Couldn't open %s: %s", __func__,
1673 if ((fd = open(_PATH_BTMP, O_WRONLY | O_APPEND)) < 0) {
1674 debug("Unable to open the btmp file %s: %s", _PATH_BTMP,