OpenGrok
Cross Reference: utmp_update.c
xref
: /
src
/
libexec
/
utmp_update
/
utmp_update.c
Home
|
History
|
Annotate
|
Download
|
only in
utmp_update
History log of
/src/libexec/utmp_update/utmp_update.c
Revision
Date
Author
Comments
1.14
29-Sep-2023
christos
Check for non-printable characters in ut_host.
reported by https://twitter.com/adamsimuntis
1.13
26-Apr-2015
mlelstv
branches: 1.13.8; 1.13.18; 1.13.26;
Use verrx with a va_list.
1.12
26-Apr-2015
mlelstv
size output buffer for strunvis to include the trailing NUL character.
1.11
17-Sep-2011
christos
add printflike
1.10
17-Sep-2011
christos
log to both syslog and stderr.
1.9
13-Apr-2009
christos
provide more info on decoding errors.
1.8
28-Apr-2008
martin
branches: 1.8.8;
Remove clause 3 and 4 from TNF licenses
1.7
07-Nov-2004
christos
branches: 1.7.24;
Use non-blocking I/O when opening the tty. Otherwise we can get stuck...
1.6
26-Feb-2003
christos
The following changes make ftpd able to remove its own entries. Ftpd
calls pututxline() with ruid = 0, euid = current-ftp-user. This ends
up calling update_utmp:
- if the real uid is root, don't do password or tty ownership checks
- if we cannot open the tty line, assume that it is a daemon that does
not use ttys and allow it to change a live entry to a dead one if
indeed it is the same process that created the entry.
1.5
18-Dec-2002
christos
Make this work finally, by prepending _PATH_DEV to the tty name.
1.4
16-Aug-2002
itojun
defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev. revoke setuid/gid privs earlier.
From: xs@kittenz.org
1.3
09-Aug-2002
soren
Remove extraneous \n's in {err,warn}{,x}.
1.2
05-Aug-2002
jmcneill
Include string.h so this application compiles.
1.1
28-Jul-2002
christos
Add utmp_update
1.7.24.1
18-May-2008
yamt
sync with head.
1.8.8.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
1.13.26.1
17-Feb-2024
martin
Pull up following revision(s) (requested by shm in ticket #595):
libexec/utmp_update/utmp_update.c: revision 1.14
Check for non-printable characters in ut_host.
1.13.18.1
17-Feb-2024
martin
Pull up following revision(s) (requested by shm in ticket #1797):
libexec/utmp_update/utmp_update.c: revision 1.14
Check for non-printable characters in ut_host.
1.13.8.1
17-Feb-2024
martin
Pull up following revision(s) (requested by shm in ticket #1936):
libexec/utmp_update/utmp_update.c: revision 1.14
Check for non-printable characters in ut_host.
Indexes created Wed Oct 15 16:09:53 GMT 2025