| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
configure.in files accordingly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17887 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14503 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
Stepper. [fixes krb5-build/1020]
[pullup from 1.2.3]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14057 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
| |
"/dev/" for the non-sysV case. Handle lseek() returning non-zero
yet non-negative values (it usually does... :-), so that we can
actually write somewhere not at the beginning of the utmp file if
necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13548 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13524 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
| |
loggingin. Don't forget to set the ut_tv or ut_time for the
entry.
* update_utmp.c: Update rant about Tru64; remove fetching of
ut_user from old entry. The existence of the old ut_user in the
logout entry in wtmp was confusing last.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13237 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
finding the old utmp entry.
* open_ctty.c: Reformat somewhat and revise comment.
* open_slave.c: Rework significantly. Primarily, keep a fd open
to the slave if we need to reopen the slave device following
vhangup() or revoke(), to accommodate various OS quirks.
* update_utmp.c: Revise history section somewhat to document more
HP-UX brokenness. Search via ut_pid before searching via
ut_line. Copy stuff around because entuxent() will clobber some
things.
* void_assoc.c: Revise comment and reformat somewhat.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13234 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13226 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pieces of libpty. Do a large amount of checking for consistency
of various utmp and utmpx APIs as currently understood. See rant
in update_utmp.c.
* dump-utmp.c: Rewrite; now has capability to use utmp{,x}name()
to extract entries from utmp and utmpx files. Adjusts field
widths when printing as appropriate.
* libpty.h: Update call signature for update_utmp() and logwtmp();
make prototypes unconditional.
* logwtmp.c: Rewrite. Use pututline() or pututxline() API
whenever possible.
* pty-int.h: Update call signatures for update_wtmp{,x}(); make
prototypes unconditional.
* sane_hostname.c: Use the autoconf-correct macro names.
* update_utmp.c: Rewrite. Basically, use functions from the
pututline() or pututxline() API whenever possible, to avoid
lossage. Inserted large rant about the conjectured history of BSD
utmp, sysV utmp, and utmpx, as well as documentation about some
known quirks.
* update_wtmp.c: Rewrite. Add new function ptyint_logwtmpx() that
takes a utmpx rather than a utmp, so it can fail to lose data
converting to and from utmp.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13218 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct sockaddr_in to satisfy prototype. (based on similar
code in k5-int.h).
* update_wtmp.c (ptyint_update_wtmp), update_utmp.c
(pty_update_utmp), open_slave.c (pty_open_slave), getpty.c
(pty_getpty): conditionalize definition of variables based on code
paths that are included.
Essentially, clean up many compiler warnings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12438 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
Add makefile rules for building dump-utmp on request.
Fix line id for console on Solaris. (PR561)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11618 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
| |
ent.ut_pid is sometimes a short; accordingly, use pid rather than
ent.ut_pid, which might have gotten truncated. This fixes an Irix
problem found by <rbasch@mit.edu>.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11394 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
| |
* Fix static libs on platforms using .a for shared libs
* Fix utmp handling for non-hpux platforms with ut_exit different from utmpx.
* Include librarymacros in ss configure.in
* Remove declarations of h_errno
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10632 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
entries, as they confuse last on some systems. [pty/569]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10520 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
PTY_LOGIN_PROCESS types on BSD-ish systems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10499 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
include the doc subtree!!)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
| |
ut_exit.e_exit and utmpx uses ut_exit.ut_exit.
* configure.in (UT_EXIT_STRUCTURE_DIFFER): If utmpx.h exists, and
getutmpx does not exist then test if the ut_exit part of
the utmp/utmpx structure is a structure and if their types
differ. (e_exit vs. ut_exit).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9422 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
| |
for systems that don't have getutmpx()
configure.in: Check for getutmpx(). Replace calls to AC_FUNC_CHECK
with AC_HAVE_FUNCS().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9349 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for examining utmp/wtmp files when comparing behavior against system software.
* update_utmp.c (pty_update_utmp): Always use id "cons" for console. For
HP-UX, omit "kl" prefix. Reindent for readability.
* update_wtmp.c (ptyint_update_wtmp): For HP-UX, copy ut_id and ut_type from
input utmp structure. Reindent for readability.
Wed Mar 27 21:14:33 1996 Marc Horowitz <marc@mit.edu>
* init_slave.c (pty_initialize_slave): Spurious signal stuff which did nothing
deleted.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7819 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
| |
* Fix utmp handling on Solaris for wtmpx records
* Replace krlogin's SIGURG handler with a call to select squashing Solaris ctrl-c bug
* Fix utmp on systems without pututline so ttyslot is only used when it works
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7338 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
| |
and works
until I merge changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7324 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6979 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
| |
other systems)
* update_utmp.c: ultimately fall back to /etc/utmp for UTMP_FILE,
if it is still missing after all previous efforts.
* update_wtmp.c: /usr/adm/wtmp for WTMP_FILE likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6882 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
_UTMP_PATH; also fix typo (missing '&' on reference to
ent)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6476 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
#ifndef
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6473 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6470 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6469 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct utmp.
* Move pty_update_wtmp to an internal function; pty_update_utmp and
pty_logwtmp call it.
* Don't include utmp.h or utmpx.h in libpty.h; they don't need it any
more.
* Don't use pid_t in libpty.h or any interfaces it defines\. We'll
have to settle for int.
* Add logic so that UTMP_FILE and WTMP_FILE get defined on NetBSD
(Actually fairly clean).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6453 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
Remove #include of mit-copyright.h, since we don't include it and its legal
value is pretty dubious anyway.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6409 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6370 dc483132-0cff-0310-8789-dd5450dbe970
|