Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/rpcbind/
H A Dcheck_bound.c102 fd = fdl->fd; in check_bound()
118 fdl->fd = t_open(fdl->nconf->nc_device, O_RDWR, NULL); in check_bound()
167 fdhead = fdl; in add_bndlist()
168 fdtail = fdl; in add_bndlist()
171 fdtail = fdl; in add_bndlist()
295 fdl->fd = -1; in add_bndlist()
300 fdl->fd = -1; in add_bndlist()
309 for (fdl = fdhead; fdl; fdl = fdl->next) in is_bound()
312 if (fdl == NULL) in is_bound()
333 for (fdl = fdhead; fdl; fdl = fdl->next) in mergeaddr()
[all …]
/illumos-gate/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c90 int fdl; in pam_sm_open_session() local
132 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT|O_DSYNC, 0444)) >= 0) { in pam_sm_open_session()
140 if (llseek(fdl, offset, SEEK_SET) != offset) { in pam_sm_open_session()
144 (void) close(fdl); in pam_sm_open_session()
181 if (write(fdl, (char *)&newll, sizeof (newll)) in pam_sm_open_session()
185 if (close(fdl) != 0) in pam_sm_open_session()
/illumos-gate/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c92 int fdl; in check_for_login_inactivity() local
99 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT, 0444)) >= 0) { in check_for_login_inactivity()
103 if (llseek(fdl, offset, SEEK_SET) != offset) { in check_for_login_inactivity()
108 (void) close(fdl); in check_for_login_inactivity()
112 retval = read(fdl, (char *)&ll, sizeof (ll)); in check_for_login_inactivity()
133 (void) close(fdl); in check_for_login_inactivity()
138 (void) close(fdl); in check_for_login_inactivity()
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c148 int fdl; local
361 fdl = getto(_Flds);
362 if (fdl >= 0) {
372 _Fdl = fdopen(fdl, "r+");
388 strcpy(_Tty, dtnamer(dkminor(fdl)));
450 if ( fdl != 0 ) {
452 dup(fdl);
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c1712 int fdl; in check_log() local
1717 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT, 0444)) >= 0) { in check_log()
1718 if (llseek(fdl, offset, SEEK_SET) == offset && in check_log()
1719 read(fdl, (char *)&ll, sizeof (ll)) == sizeof (ll) && in check_log()
1722 (void) close(fdl); in check_log()