Commit Graph

12 Commits

Author SHA1 Message Date
Rich Felker
692b16d14b add declarations for utmpname/utmpxname to appropriate headers
commit 378f8cb522 added these functions
(as stubs) but left them without declarations. this broke some
autoconf based software that detected linkability of the symbols but
didn't check for a declaration.
2016-02-12 09:58:50 -05:00
Felix Janda
4b2cb37770 add login_tty function 2014-12-20 20:13:27 -05:00
Rich Felker
a1527a0c3e fix namespace violations in utmpx.h 2014-01-08 19:36:29 -05:00
Rich Felker
1e2281b835 minor compatibility fixes in utmp.h and fixing mismatch with paths.h
the pathnames prefixed with /dev/null/ are guaranteed never to be
valid. the previous use of /dev/null alone was mildly dangerous in
that bad software might attempt to unlink the name when it found a
non-regular file there and create a new file.
2013-06-27 20:00:29 -04:00
Rich Felker
e201d82aac fix cruft in utmp.h that was broken by changes in utmpx.h
patch by Chris Spiegel.
2013-02-26 01:46:39 -05:00
Rich Felker
4a99440571 some extra legacy header stuff 2012-05-06 16:35:32 -04:00
Rich Felker
96e0aca4d5 fix utmp.h mess, try 2 2012-02-01 14:10:38 -05:00
Rich Felker
108fdd3318 fix previous utmp.h junk commit 2012-01-31 17:10:02 -05:00
Rich Felker
fa3bbbd453 add some missing junk in utmp.h 2012-01-31 14:39:17 -05:00
Rich Felker
f5ba2bc9ca various legacy and linux-specific stuff
this commit is part of an effort to make more of busybox work
out-of-the-box.
2011-03-18 21:52:26 -04:00
Rich Felker
eee150f39c make real symbols for the legacy (nonstandardized) utmp functions
this is needed in the long term for ABI compatibility anyway, and in
the immediate, it helps with building broken programs like GNU screen
that try to prototype the functions themselves rather than using the
header.
2011-02-20 15:06:26 -05:00
Rich Felker
0b44a0315b initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00