Searched defs:fdl (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c92 int fdl; local
134 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT|O_DSYNC, 0444)) >= 0) {
142 if (llseek(fdl, offset, SEEK_SET) != offset) {
146 (void) close(fdl);
183 if (write(fdl, (char *)&newll, sizeof (newll))
187 if (close(fdl) != 0)
/illumos-gate/usr/src/cmd/rpcbind/
H A Dcheck_bound.c81 * fdl: My FD list
85 check_bound(struct fdlist *fdl, char *uaddr) argument
92 if (fdl->check_binding == FALSE)
95 na = uaddr2taddr(fdl->nconf, uaddr);
101 (void) mutex_lock(&fdl->fd_lock);
102 fd = fdl->fd;
105 (void) mutex_unlock(&fdl->fd_lock);
110 (void) mutex_unlock(&fdl->fd_lock);
118 fdl->fd = t_open(fdl
149 struct fdlist *fdl; local
307 struct fdlist *fdl; local
329 struct fdlist *fdl; local
421 struct fdlist *fdl; local
[all...]
/illumos-gate/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c91 int fdl; local
98 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT, 0444)) >= 0) {
102 if (llseek(fdl, offset, SEEK_SET) != offset) {
107 (void) close(fdl);
111 retval = read(fdl, (char *)&ll, sizeof (ll));
132 (void) close(fdl);
137 (void) close(fdl);
/illumos-gate/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);
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c1709 int fdl; local
1714 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT, 0444)) >= 0) {
1715 if (llseek(fdl, offset, SEEK_SET) == offset &&
1716 read(fdl, (char *)&ll, sizeof (ll)) == sizeof (ll) &&
1719 (void) close(fdl);

Completed in 80 milliseconds