summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove login(3), logout(3) and logwtmp(3) from libutil.ed2010-01-131-71/+0
| | | | | | | | | | These functions only apply to utmp(5). They cannot be kept intact when moving towards utmpx. The login(3) function would break, because its argument is an utmp structure. The logout(3) and logwtmp(3) functions cannot be used, since they provide a functionality which partially overlaps. Increment SHLIB_MAJOR to 9 to indicate the removal.
* Remove California Regent's clause 3, per letterimp2007-01-091-4/+0
|
* ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.markm2003-10-181-2/+1
|
* 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