Commit Graph
204 Commits
Author SHA1 Message Date
Brian Feldman 3b8dbab540 MFC: fix accidental inlining 2000-10-27 01:50:31 +00:00
cvs2svn 0c9d7cf2b7 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-27 01:19:03 +00:00
Brian Somers d07eaa59d9 MFC: Actually make uu_lock_xfer() work. 2000-10-09 20:20:52 +00:00
Brian Feldman f3748c64ee MFC: passwd_format documentation 2000-09-30 00:44:47 +00:00
Brian Feldman 0a25ad1031 MFC: login.conf password format switching 2000-09-20 11:19:55 +00:00
Jordan K. Hubbard 391532fbcd MFC: remove gratuitous register reference 2000-09-20 09:54:16 +00:00
Jordan K. Hubbard 888fea22a5 MFC: fix prototypes, add xref in man page 2000-09-20 09:53:24 +00:00
Brian Somers b31e3e417a MFC: Move setproctitle() from libutil to libc
and bump __FreeBSD_version to 410002 to mark the occasion.
2000-09-16 22:47:18 +00:00
cvs2svn 4cd12ae4ad This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-23 11:54:11 +00:00
Paul Saab 24b524333f MFC: If the format string passed to setproctitle begins with a '-'
character, skip the program name when setting the process title.
2000-08-01 07:50:26 +00:00
Hajimu UMEMOTO 95d2558bd4 MFC: (rev 1.8 -> 1.9) Sshd writes connected host into utmp directly.
If the connection is via IPv6, the hostname is trimed due to the
length of IPv6 address.  This change saves it as possible.
I have a grudge against the shortage of UT_HOSTSIZE.
2000-07-18 10:25:37 +00:00
Sheldon Hearn ee6a4f5f57 MFC: make sbsize a size instead of a number. 2000-07-18 09:45:40 +00:00
Tim Vanderhoek e4d60cc53a MFC: fix memory leak on login_close() 2000-06-04 01:29:23 +00:00
Hajimu UMEMOTO 7b381be68f MFC: We should see the ai_canonname menber of the first addrinfo
structure in the linked list.  RFC2553 mentions only first.
2000-06-03 16:58:26 +00:00
Alfred Perlstein 3ca5f13a43 MFC: document sbsize. 2000-06-02 20:53:55 +00:00
Sheldon Hearn 53ef40deb9 MFC: Fix miscellaneous mdoc macro argument limit infringements. 2000-05-09 14:12:53 +00:00
Mike Pritchard 7357841153 MFC: Fix some spelling errors. 2000-04-23 17:00:38 +00:00
Alexey Zelkin a7f6a73356 MFC: introduce .Lb macro to libraries manpages, some mdoc cleanup 2000-04-22 16:36:09 +00:00
Hajimu UMEMOTO 8d635de429 MFC, Return IPv4 native address for IPv4 mapped IPv6 address, even if
A RR is not found.
2000-04-10 20:08:43 +00:00
cvs2svn 842f308487 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-03-13 04:59:44 +00:00
Hajimu UMEMOTO 88f853e037 Since crypto/openssh/login.c was changed to use realhostname_sa(),
when connecting via IPv6, hostname was not recorded to utmp anymore.
Because, if hostname is longer than buffer size, getnameinfo() returns
with ENI_MEMORY.

Reviewed by:	shin
Approved by:	jkh
2000-03-07 07:52:01 +00:00
Sheldon Hearn c6ff3a1bf7 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
Yoshinobu Inoue 3a6be83f49 Update major version.
Now libutil depends on libc.so.4, so needs to update the major version.
    Without this, old binaries which use libutil and build with libc.so.3
    will coredump on recent 4.0.

Solicited comment for cvs-committers and there seems to be no objection.

Approved by: jkh
2000-02-14 03:55:27 +00:00
Nik Clayton dc23d0609b Document mixpasswordcase here as well as in passwd.1 2000-02-11 13:55:41 +00:00
Josef Karthauser 18c0eeddf7 Historically file flags (schg, uschg, etc) have been converted from
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'.  As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.

Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.

There are two already existing libc functions for manipulating file
modes:  setmode and getmode.  In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.

The manual page could probably be improved upon ;)
2000-01-27 21:17:01 +00:00
Yoshinobu Inoue 01d81a0351 Avoid core dump when ai_canonname is NULL.
(Now this happens for numeric addrs, as getaddrinfo() 1.3 -> 1.4 change)

Reviewed by: Mark Huizer <[email protected]>
2000-01-27 17:24:53 +00:00
Bruce Evans cc8ffb11cd Use a long line instead splitting a line with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.
2000-01-27 03:04:11 +00:00
Peter Wemm 4dc2c0b8b3 Use a more conventional copyright message. 2000-01-26 07:17:00 +00:00
Yoshinobu Inoue 0cac72f42c several tcp apps IPv6 update
-inetd
 -rshd
 -rlogind
 -telnetd
 -rsh
 -rlogin

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
Ruslan Ermilov 36807a7b25 Do not set the default terminal type to "su", leave it empty.
PR:		bin/5084
Reviewed by:	asmodai, davidn, sef
2000-01-19 10:54:44 +00:00
Chris Costello da55e68c66 Repair internal consistency: Change "login_cap_t * lc" to a more correct
(and consistent) "login_cap_t *lc".
2000-01-18 03:02:29 +00:00
Bill Fumerola 4aee48edcc Add the "use -lutil" line to all functions that require it so people like
Dan Papsian <[email protected]> don't anger wpaul and myself with
silly linking errors.

Reviewed by:	chris
2000-01-18 01:27:47 +00:00
Yoshinobu Inoue ad5e523b7f Support v6 login. 2000-01-15 03:26:54 +00:00
Rodney W. Grimes d05257b0f2 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
Bruce Evans 2e22df0b11 Fixed missing include in synopsis.
Removed superfluous quoting of function name in .Fo macro.  My synopsis
checker doesn't understand it.
2000-01-05 16:31:12 +00:00
Josef Karthauser edc2844c9f Moved flags_to_string and string_to_flags into libutil. It's used in
many places nowadays.
1999-12-30 13:15:15 +00:00
Peter Wemm 2705d66b49 Connect fparseln(3) for mailwrapper(8) 1999-12-29 17:50:34 +00:00
Ollivier Robert aa50282cd1 Fix a bug where a pointer would be one character too far after putting
a '\0' at the end of a string.

Submitted by:	Martin Birgmeier <[email protected]>
1999-12-21 10:17:36 +00:00
Ollivier Robert 27d5775d8c Rewriting of flags_to_string() and string_to_flags() to use an array.
PR:		bin/3648
Submitted by:	Martin Birgmeier <[email protected]>
1999-12-19 15:31:24 +00:00
Peter Wemm 1fa45844c4 This commit was generated by cvs2svn to compensate for changes in r54820,
which included commits to RCS files with non-trunk default branches.
1999-12-19 14:14:37 +00:00
Peter Wemm d6e91b3149 Import fparseln(3) from NetBSD. It's used for easily dealing with \
escaped lines etc.  (used by mailwrapper)
1999-12-19 14:14:37 +00:00
Brian Somers 0675e24de0 Make setproctitle(NULL) restore all of the original arguments
(if it's able).
1999-11-17 21:12:17 +00:00
Poul-Henning Kamp b9df5231ca Introduce commandline caching in the kernel.
This fixes some nasty procfs problems for SMP, makes ps(1) run much faster,
and makes ps(1) even less dependent on /proc which will aid chroot and
jails alike.

To disable this facility and revert to previous behaviour:
        sysctl -w kern.ps_arg_cache_limit=0

For full details see the [email protected] mail-archives.
1999-11-16 20:31:58 +00:00
Joseph Koshy 07ee6e1899 Link manual page for login_getpwclass(3) to login_cap(3).
PR:             docs/14673
Submitted by:   Andrew <[email protected]>
1999-11-04 08:33:18 +00:00
Brian Feldman 6b3ced11a2 This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
userland.  Currently, it can be enforced by login and csh.  More
shells supporting sbsize are welcome.
1999-10-09 20:47:59 +00:00
Alexey Zelkin 3a049969b5 mdoc(7)'fy
Reviewed by:	mpp
1999-09-21 19:39:27 +00:00
Alexey Zelkin c6d6e7726f Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <[email protected]>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
Peter Wemm 97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Peter Wemm 7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Peter Wemm 2a4562393f $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00