summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login.c
Commit message (Collapse)AuthorAgeFilesLines
* Add used include of <string.h>.wollman2002-05-301-0/+1
|
* Fix for the sshd(8) utmp problem. Previously, login(3) would ignore the ttydes2002-04-201-3/+9
| | | | | | | | | | | | | | | named by its argument and use ttyslot(3) instead to determine what slot to use. The problem is that sshd(8) calls pam_open_session(3) before forking the child (as it should), at which point it does not have a controlling terminal. Also, ttyslot(3) is very crude as it assumes fd 0, 1 or 2 refers to the controlling terminal, which is usually (but not always) the case. Instead of using ttyslot(3) to determine the slot number, look up the specified tty in /etc/ttys ourselves (this is what ttyslot(3) does anyway). (perforce change 9969) Sponsored by: DARPA, NAI Labs
* Remove 'register' keyword.obrien2002-03-211-1/+1
|
* Add __FBSDID()s to libutildillon2001-09-301-3/+4
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Now take stdio.h out of files that don't require it.jkh1998-10-091-2/+1
|
* Protect the copyright comments from reformatting bysteve1997-08-131-1/+6
| | | | | | | indent and make this compile -Wall clean like the Makefile suggests that it should. :) Pointed out by: Bruce Evans <bde@zeta.org.au>
* Bump libutil revision after recent addition of setproctitle().peter1996-01-011-0/+1
| | | | | | | | Install (optional) libutil.h with prototypes for the functions and document this in the man page. minor cleanups to the various routines, include the prototype file, declare return codes etc.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+63
OpenPOWER on IntegriCloud