Home
last modified time | relevance | path

Searched refs:fdl (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/rpcbind/
H A Dcheck_bound.c85 check_bound(struct fdlist *fdl, char *uaddr) in check_bound() argument
92 if (fdl->check_binding == FALSE) in check_bound()
95 na = uaddr2taddr(fdl->nconf, uaddr); in check_bound()
101 (void) mutex_lock(&fdl->fd_lock); in check_bound()
102 fd = fdl->fd; in check_bound()
105 (void) mutex_unlock(&fdl->fd_lock); in check_bound()
110 (void) mutex_unlock(&fdl->fd_lock); in check_bound()
118 fdl->fd = t_open(fdl->nconf->nc_device, O_RDWR, NULL); in check_bound()
119 if (fdl->fd == -1) in check_bound()
120 fdl->check_binding = FALSE; in check_bound()
[all …]
/titanic_41/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c91 int fdl; in pam_sm_open_session() local
131 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT|O_DSYNC, 0444)) >= 0) { in pam_sm_open_session()
139 if (llseek(fdl, offset, SEEK_SET) != offset) { in pam_sm_open_session()
143 (void) close(fdl); in pam_sm_open_session()
180 if (write(fdl, (char *)&newll, sizeof (newll)) in pam_sm_open_session()
184 if (close(fdl) != 0) in pam_sm_open_session()
/titanic_41/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c91 int fdl; in check_for_login_inactivity() local
98 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT, 0444)) >= 0) { in check_for_login_inactivity()
102 if (llseek(fdl, offset, SEEK_SET) != offset) { in check_for_login_inactivity()
107 (void) close(fdl); in check_for_login_inactivity()
111 retval = read(fdl, (char *)&ll, sizeof (ll)); in check_for_login_inactivity()
132 (void) close(fdl); in check_for_login_inactivity()
137 (void) close(fdl); in check_for_login_inactivity()
/titanic_41/usr/src/cmd/bnu/
H A Dct.c146 int fdl; local
359 fdl = getto(_Flds);
360 if (fdl >= 0) {
370 _Fdl = fdopen(fdl, "r+");
386 strcpy(_Tty, dtnamer(dkminor(fdl)));
448 if ( fdl != 0 ) {
450 dup(fdl);
/titanic_41/usr/src/cmd/login/
H A Dlogin.c1709 int fdl; in check_log() local
1714 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT, 0444)) >= 0) { in check_log()
1715 if (llseek(fdl, offset, SEEK_SET) == offset && in check_log()
1716 read(fdl, (char *)&ll, sizeof (ll)) == sizeof (ll) && in check_log()
1719 (void) close(fdl); in check_log()
/titanic_41/usr/src/cmd/ssh/ssh-agent/
H A Dssh-agent.c720 prepare_select(fd_set **fdrp, fd_set **fdwp, int *fdl, u_int *nallocp, in prepare_select() argument
751 if (n < *fdl) in prepare_select()
752 debug("XXX shrink: %d < %d", n, *fdl); in prepare_select()
753 *fdl = n; in prepare_select()