ps
a8748dafd1
If the format string passed to setproctitle begins with a '-'
...
character, skip the program name when setting the process title.
Ansified with extreme prejudice.
Reviewed by: peter
2000-08-01 06:37:09 +00:00
ume
b1f9d8d0de
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-14 18:08:19 +00:00
sheldonh
38c2ac4232
Make sbsize a size instead of a number. This allows the usual suffixes
...
to be applied to the value given. This does not break installed
/etc/login.conf files, since un-suffixed numbers are interpreted as
they were before.
PR: 19750
Submitted by: Paul Herman <pherman@frenchfries.net>
2000-07-14 13:56:07 +00:00
kris
ce868049dc
Don't call warn() without a format string.
2000-07-12 00:50:15 +00:00
ache
289098f556
Better fix for .Fx macro
...
Submitted by: sheldonh
2000-07-06 20:13:42 +00:00
ache
f285708bd4
Fix .Fx usage (causing error diagnositc)
2000-07-06 00:25:05 +00:00
alfred
0e072c25b6
document sbsize limit.
2000-06-02 20:51:05 +00:00
ume
1372a029be
We should see the ai_canonname menber of the first addrinfo
...
structure in the linked list. RFC2553 mentions only first.
Reviewed by: shin
2000-05-24 11:24:49 +00:00
hoek
b24759e594
Fix a memory leak with lc->lc_cap in login_close().
...
PR: bin/17084
2000-05-21 02:50:36 +00:00
sheldonh
5e0dc361bb
Fix miscellaneous mdoc macro argument limit infringements.
...
PR: 18465
Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
nik
9ca7db315b
Add xref to cap_mkdb(1).
...
PR: docs/17544
Submitted by: Christ J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
2000-04-30 22:43:09 +00:00
phantom
e0ac996a75
Introduce .Lb macro to libutil manpages
...
Sort .Nm values in some manpages
Remove explicit note about compiling with -lutil, it's implicitly
declared by .Lb macro now.
2000-04-22 16:17:00 +00:00
mpp
1e975da41b
Fix some spelling errors.
2000-03-24 00:58:49 +00:00
ume
16bba59042
Return IPv4 native address for IPv4 mapped IPv6 address, even if
...
A RR is not found.
Reviewed by: shin
2000-03-23 17:25:00 +00:00
ume
fa78c92984
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
sheldonh
0bd4857cef
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
shin
78e599e146
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
bf3964306c
Document mixpasswordcase here as well as in passwd.1
2000-02-11 13:55:41 +00:00
joe
a3a381812b
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
shin
dce9862d66
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 <xaa@timewasters.nl>
2000-01-27 17:24:53 +00:00
bde
05c6d03276
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
b7a459072e
Use a more conventional copyright message.
2000-01-26 07:17:00 +00:00
shin
7c069c8355
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
ru
cd83094d21
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
ab529a8df1
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
billf
58f500d0c9
Add the "use -lutil" line to all functions that require it so people like
...
Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with
silly linking errors.
Reviewed by: chris
2000-01-18 01:27:47 +00:00
shin
38c1f10e83
Support v6 login.
2000-01-15 03:26:54 +00:00
rgrimes
7e1486bf06
Replace beforeinstall target with new variables used by .mk system.
...
Reviewed by: marcel, and make world
2000-01-14 07:57:47 +00:00
bde
11831166a9
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
joe
e1558fa7cb
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
1bee6959f4
Connect fparseln(3) for mailwrapper(8)
1999-12-29 17:50:34 +00:00
roberto
5d593558fb
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 <Martin.Birgmeier@aon.at>
1999-12-21 10:17:36 +00:00
roberto
7e9f2214cc
Rewriting of flags_to_string() and string_to_flags() to use an array.
...
PR: bin/3648
Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
1999-12-19 15:31:24 +00:00
peter
e5156933a6
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
843b1e7378
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
74c8c41cdf
Make setproctitle(NULL) restore all of the original arguments
...
(if it's able).
1999-11-17 21:12:17 +00:00
phk
9e8e07135f
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 current@FreeBSD.org mail-archives.
1999-11-16 20:31:58 +00:00
jkoshy
2c048b0d9a
Link manual page for login_getpwclass(3) to login_cap(3).
...
PR: docs/14673
Submitted by: Andrew <andrew@ugh.net.au>
1999-11-04 08:33:18 +00:00
green
4899b61a6b
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
phantom
0758474433
mdoc(7)'fy
...
Reviewed by: mpp
1999-09-21 19:39:27 +00:00
phantom
34985ba96d
Correct spelling : ascii -> ASCII
...
PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp
1999-09-20 09:15:23 +00:00
peter
b6784c4210
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
peter
e226894fa0
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
peter
3b7c52fb9a
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
chris
24ff4e8603
Fix a bunch of broken cross-references
1999-08-18 05:55:22 +00:00
mpp
eed3878b2e
Various man page cleanup:
...
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexy M. Zelkin <phantom@cris.net>
1999-08-15 09:51:25 +00:00
chris
0ef3085422
Bad reference of termios(3) changed to termios(4).
1999-08-14 07:52:29 +00:00
chris
54eac00e8d
Bad reference to lstat(3) changed to lstat(2)
1999-08-14 07:43:02 +00:00
sheldonh
3433d56199
Axe LOGIN_CAP_AUTH.
...
PR: 10115
Reported by: Gene Skonicki <gene@cif.rochester.edu>
Requested by: jdp
1999-08-13 16:51:40 +00:00
nik
12c6c332a7
Correct some grammar and style problems with this page.
...
Submitted by: Kris Kennaway <root@rebel.net.au>
1999-07-20 20:46:26 +00:00