ps
4b4777407a
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
3f52ad52cc
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
02e9e6640f
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
b2ae75bb55
Don't call warn() without a format string.
2000-07-12 00:50:15 +00:00
ache
4360e85f5b
Better fix for .Fx macro
...
Submitted by: sheldonh
2000-07-06 20:13:42 +00:00
ache
87c46800a0
Fix .Fx usage (causing error diagnositc)
2000-07-06 00:25:05 +00:00
alfred
19c9d1ef45
document sbsize limit.
2000-06-02 20:51:05 +00:00
ume
aee7c5eed1
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
a5b99a6579
Fix a memory leak with lc->lc_cap in login_close().
...
PR: bin/17084
2000-05-21 02:50:36 +00:00
sheldonh
14e9cd73ea
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
1bab59cbc5
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
13fe72d4bf
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
fbc1e8d37a
Fix some spelling errors.
2000-03-24 00:58:49 +00:00
ume
f3ae48fd50
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
0fcca1988e
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
329223e6f2
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
4cef96843a
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
ffb46263e0
Document mixpasswordcase here as well as in passwd.1
2000-02-11 13:55:41 +00:00
joe
f1a9497df5
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
021aaed8bf
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
4fcdc6835a
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
8f92382c19
Use a more conventional copyright message.
2000-01-26 07:17:00 +00:00
shin
fc29f7bcf7
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
3710f9234c
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
a22f0b8c89
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
1fb52e4543
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
aebe3f8e9d
Support v6 login.
2000-01-15 03:26:54 +00:00
rgrimes
c127d0e61e
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
3a2a6cb025
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
a381d987c4
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
e8ea19d78e
Connect fparseln(3) for mailwrapper(8)
1999-12-29 17:50:34 +00:00
roberto
6452b5bbe6
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
b7335626ed
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
a80a848739
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
3cf81c35ae
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
a6dfb66b8f
Make setproctitle(NULL) restore all of the original arguments
...
(if it's able).
1999-11-17 21:12:17 +00:00
phk
cc6b664e2e
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
df1840f5b6
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
14b89019c6
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
bf608b572c
mdoc(7)'fy
...
Reviewed by: mpp
1999-09-21 19:39:27 +00:00
phantom
353c1a6746
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
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
peter
66312e4a8d
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
chris
212887c836
Fix a bunch of broken cross-references
1999-08-18 05:55:22 +00:00
mpp
b813f67e2a
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
556e61a53e
Bad reference of termios(3) changed to termios(4).
1999-08-14 07:52:29 +00:00
chris
188efc60cd
Bad reference to lstat(3) changed to lstat(2)
1999-08-14 07:43:02 +00:00
sheldonh
a9521339a7
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
99627d6d69
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