Commit Graph

9928 Commits

Author SHA1 Message Date
ru
1e6b02c145 - Add a forgotten -o to usage().
- Sync usage() with manpage's SYNOPSIS.
2011-05-05 10:17:49 +00:00
ru
163c172bf2 [mdoc] remove a hard sentence break. 2011-05-05 10:17:08 +00:00
rmacklem
416b5943ad Update nfsstat.1 to reflect the changes done to nfsstat(1)
by r221455. This includes a new "-o" option for displaying
statistics from the old NFS client/server and a slightly
different description for the "-e" option.
This is a content change.
2011-05-04 20:28:06 +00:00
rmacklem
eb23238cb2 Modify nfsstat(1) so that it reports statistics for the
new NFS client/server by default, in a format compatible
with the old NFS client/server. Also add a "-o" flag that
forces nfsstat(1) to get statistics for the old NFS
client/server.
2011-05-04 20:13:26 +00:00
rmacklem
f7e5f59911 Modify nfsstat(1) so that it prints out the buffer cache
stats in the same way for the new client as the old one.

MFC after:	2 weeks
2011-05-04 19:28:44 +00:00
rmacklem
ab23d942ef Fix nfsstat.c so that the "-z" option works for the new
NFS subsystem.

MFC after:	2 weeks
2011-05-04 13:50:37 +00:00
rmacklem
c5a0d73cf1 Revert r221308, since it incorrectly zero'd both client and
server stats when "-c" or "-s" was specified.
2011-05-04 13:20:44 +00:00
ru
0f506cc8f8 Fixed bad format and misorder. 2011-05-03 12:29:03 +00:00
dfr
582de70a43 Call pam_setcred() before login_getpwclass to support home directories
on GSS-API authenticated NFS where the kerberos credentials need to be
saved so that the kernel can authenticate to the NFS server.
2011-05-03 10:18:27 +00:00
trasz
752ffacc69 Change the way rctl interfaces with jails by introducing prison_racct
structure, which acts as a proxy between them.  This makes jail rules
persistent, i.e. they can be added before jail gets created, and they
don't disappear when the jail gets destroyed.
2011-05-03 07:32:58 +00:00
dim
d31a4287cf Minor updates to the clang and tblgen manpages. 2011-05-02 21:10:13 +00:00
dim
96038e6533 Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
rmacklem
b4774e3dc9 Fix nfsstat.1 to indicate that "-z" now works for
the new NFS subsystems after r221308.
This is a content change.

MFC after:	2 weeks
2011-05-01 23:55:56 +00:00
rmacklem
986e90d21e Fix nfsstat so that the "-z" option works for the
new NFS subsystem.

MFC after:	2 weeks
2011-05-01 23:41:35 +00:00
uqs
3ec54ea245 Let users' PATH decide which groff suite to pick up.
Let groff pass the -c flag to grotty, which will turn off ANSI
sequences. While these are not a problem for our more/less, they get
mangled by col(1) and this will result in garbage output.

This makes man(1) work together with textproc/groff, in case the
user decided to delete the old groff from base (-DWITHOUT_GROFF).
2011-05-01 19:47:34 +00:00
jhb
cb70a2e316 Raise rlogin back to a WARNS level of 6.
Tested by:	make universe
2011-04-27 17:36:37 +00:00
dougb
aefb77b2a6 Revert r221053 by replacing WARNS?= 3 since it's breaking the build on
several arches.
2011-04-26 22:02:51 +00:00
jhb
efe1808e9f Generate the network byte order version of the window size structure in a
temporary variable on the stack and then copy that into the output buffer
so that the htons() conversions use aligned accesses.

MFC after:	1 month
2011-04-26 20:14:29 +00:00
obrien
b539365333 This builds OK using the parent dir's WARNS=6.
[built on both AMD64 and i386]
2011-04-26 04:09:20 +00:00
obrien
cc98615df1 Catch up with r57841 which removed the possible linking against libutil
by not bothering to include its API.
2011-04-26 04:01:08 +00:00
jilles
e9f95ffefb printf(1): Move non-bugs from the BUGS section to a new section CAVEATS. 2011-04-25 19:15:58 +00:00
jilles
6746164952 printf(1): Mention effect of '#' modifier on other conversions. 2011-04-25 12:36:29 +00:00
simon
89abec7a17 Check return code of setuid() and setgid() in finger.
While they will not fail in normal circumstances, better safe than
sorry.

MFC after:	1 week
2011-04-23 14:19:26 +00:00
jilles
329bcae0e7 kdump: Show code for signals where the default action was taken.
This information is available as of kernel r220740. Trace files from older
kernels will always have 0.

MFC after:	1 week
2011-04-17 21:11:55 +00:00
trasz
8a36386eff Add manual page for rctl.conf(5). 2011-04-14 18:37:27 +00:00
ru
8661978fee Show client's access cache statistics. 2011-04-13 13:05:48 +00:00
trasz
73002bd15c Add link to rctl(8). 2011-04-10 10:17:01 +00:00
edwin
a01908291f When specifying the -t option (send tag in front of message), this tag
should also be forwarded to the remote logging host, not only when the
logging is done locally.

PR:		bin/154324
Submitted by:	Callum Gibson <callumgibson@optusnet.com.au>
MFC after:	1 week
2011-04-08 12:33:07 +00:00
gabor
43c556e7f5 - Adjust a comment to actual behaviour
- Makefile nit
- Add more CVS/SVN keywords to make it easier to track changes from NetBSD
  in case they add further improvements

Approved by:	delphij (mentor)
Obtained from:	The NetBSD Project
2011-04-07 13:03:35 +00:00
gabor
43d1fb6126 - Simplify the fixed string pattern preprocessing code
- Improve readability

Approved by:	delphij (mentor)
Obtained from:	The NetBSD Project
2011-04-07 13:01:03 +00:00
gabor
a39cca6aa4 - Replace some strcpy()-family functions with memcpy() ones. It has been
discussed earlier that the extra safeness is not required in these
  cases and we can avoid the overhead by using the more general
  memory copy functions.

Approved by:	delphij (mentor)
Obtained from:	The NetBSD Project
2011-04-07 12:52:46 +00:00
pluknet
63d2cbfc90 Document -w for swapuse.
PR:		docs/156089
Submitted by:	Andrey Ignatov <rdna att rdna.ru>
MFC after:	1 week
2011-04-05 07:56:40 +00:00
gordon
b68e210026 Overhaul locale handling.
Use locale(1) to determine the locale instead of trying to hand roll it.
Correctly construct groff call based on charset and locale independently,
not the mix between the two.

Submitted by:	uqs@
2011-04-02 05:01:09 +00:00
emaste
773a226ff4 Remove $Log$ keyword, which can cause annoyance in diffs in some cases.
Revision control tools have a history command to obtain this information.
2011-03-31 14:35:33 +00:00
trasz
ca0984f2f7 Fix grammar and bump date.
Submitted by:	trociny
2011-03-30 20:13:55 +00:00
trasz
b43344bc6a Add rctl(8), the utility to manage rctl rules.
Sponsored by:	The FreeBSD Foundation
Reviewed by:	kib (earlier version)
2011-03-30 18:27:52 +00:00
martymac
c404360cb4 Add myself 2011-03-28 08:37:48 +00:00
ume
985728498a getpwnam(3) may return NULL.
Requested by:   nork
Reviewed by:    Takeharu KATO <takeharu1219__at__ybb.ne.jp>, nork
MFC after:      1 week
2011-03-27 12:53:20 +00:00
ru
dbaa5c8893 Fixed sockets display somewhat (-L, -T, -x, -Lx, with and without -A).
(I didn't try to fix negative TCP timers with -x.)

MFC after:	3 days
2011-03-26 19:09:28 +00:00
ru
c8811aa539 Discourage from using "cp -r". 2011-03-24 13:52:59 +00:00
edwin
8ca95b7204 Please welcome the Brazilian calendar in the FreeBSD base.
For now, calendar.brazilian points to pt_BR.ISO8859-1

Submitted by:	Renato Tambellini <rtsanch@gmail.com>
MFC after:	1 week
2011-03-23 21:22:03 +00:00
jeff
5115240a6c - Merge in OFED 1.5.3 from projects/ofed/head 2011-03-21 09:58:24 +00:00
sbz
11d555ed0b Add myself to calendar.freebsd.
Approved by:	miwi@ (mentor)
2011-03-18 09:06:06 +00:00
emaste
b5cdb59a0d Remove uptime validity check that hasn't been necessary since r151417
switched to clock_gettime.  vmstat will now not exit with an error
if run on a system with 10 years of uptime.
2011-03-17 01:05:54 +00:00
dchagin
03f06701bb Add my birthday to the freebsd calendar. 2011-03-14 13:02:12 +00:00
brucec
e58c049fdf Fix typo. 2011-03-13 16:47:21 +00:00
trociny
e3a723417d Add myself to calendar.freebsd and committers-src.dot.
Approved by:	pjd (mentor)
2011-03-11 10:11:22 +00:00
gjb
ad5db5c417 Move the explanation of using arguments for the PRIMARIES above
the list of PRIMARIES.

PR:		151812
Submitted by:	Jay (jouellette of gmail com)
Patch by:	eadler
MFC after:	1 week
2011-03-10 18:00:47 +00:00
jilles
f046771b04 Simplify various code that allowed for sys_signame being lower case.
This was changed in r218285.
2011-03-06 19:50:47 +00:00
trasz
62f6a13e39 Add two new system calls, setloginclass(2) and getloginclass(2). This makes
it possible for the kernel to track login class the process is assigned to,
which is required for RCTL.  This change also make setusercontext(3) call
setloginclass(2) and makes it possible to retrieve current login class using
id(1).

Reviewed by:	kib (as part of a larger patch)
2011-03-05 12:40:35 +00:00