Commit Graph

7924 Commits

Author SHA1 Message Date
flz
3a998b0102 MFC:
Add a -q option to suppress header lines when multiple files are specified
  (and fixes from Ruslan).

      src/usr.bin/tail/extern.h: rev 1.9 -> 1.10
      src/usr.bin/tail/tail.1: rev 1.12 -> 1.13
      src/usr.bin/tail/forward.c: rev 1.39 -> 1.40
      src/usr.bin/tail/tail.c: rev 1.21 -> 1.22
2006-07-06 12:56:38 +00:00
rwatson
fd4b45cce8 Merge rpc_svcout.c:1.23 from HEAD to RELENG_6:
In change 1.15, an arbitrary setting of the max RPC record size to
  RPC_MAXDATASIZE was introduced.  This is believed to have been debugging
  code committed accidentally, although I've been unable to reach the
  committer to confirm this.  The effect was to limit the size of RPCs on
  TCP and UDP to 9k, well below the default protocol limits in the libc
  rpc code.  This change simply removes these introduced limits, falling
  back on the libc definitions.

  PR:             88856
  Reported by:    Keith Bostic <bostic at sleepycat dot com>
  Testing by:     Susan LoVerso <sue at loverso dot southborough dot ma dot us>
  Reveiwed by:    cel, rees
  Review timeout: alfred, mbr

Approved by:	mbr
2006-07-05 11:35:17 +00:00
stefanf
5a4cc9e905 MFC rpc_hout.c 1.12 and rpc_main.c 1.28:
Only write prototypes to the headers if -h was specified and they don't have
internal linkage.
2006-06-24 09:31:29 +00:00
grog
7da8116e4b MFC: Don't go past the end of the month with a repetitive entry of the
style "every Monday":

     mon *        Do Foo.

Previously, at the end of the month, this could cause a printout of
the following nature when invoked with -A 7:

     36 May* Do Foo

If the entry runs into the following month, adjust month and day,
wrapping round into next year where necessary.
2006-06-15 01:16:36 +00:00
stefanf
110e8ea45a MFC id.c rev 1.27: Print the euid after the gid. 2006-06-11 08:49:29 +00:00
pav
055f89d66e MFC:
- Add decoding of kse_release, ...
- Fix crash when hitting unknown syscall
2006-06-09 21:08:51 +00:00
brian
252c78e8c7 MFC: Add missing -s documentation 2006-06-05 16:25:45 +00:00
maxim
efe05ebe0e MFC getent(1) import: a program retrieves and displays entries
from the administrative database specified by database, using
the lookup order specified in nsswitch.conf(5).
2006-06-04 10:28:56 +00:00
maxim
0396b963c9 MFC rev. 1.31 du.1 and rev. 1.39 du.c: implement "-n" flag, ignore
files and directories with "nodump" flag set.
2006-06-04 10:23:08 +00:00
krion
02e53faf49 MFC: process.c: 1.40
date: 2006/05/27 19:32:28;  author: krion;  state: Exp;  lines: +1 -2
  Fix using "P" command on empty pattern space.  If the "P" command is
  used once on a non-empty pattern space and then again on an empty
  pattern space, the second usage restores the pattern space length to
  the length that it had when the first "P" was used.

  PR:             bin/96052
  Submitted by:   Andrey Zholos <aaz@althenia.net>
2006-06-03 07:20:17 +00:00
krion
c6762dd35f MFC: function.c: 1.58; find.1: 1.77
date: 2006/05/27 18:27:41;  author: krion;  state: Exp;  lines: +35 -3
  Add the capability for a trailing scale indicator to cause the
  specified size to be read in the more familiar units of kilobytes,
  megabytes, gigabytes, terabytes and petabytes.

  PR:             bin/50988
  Submitted by:   Matthew Seaman <m.seaman@infracaninophile.co.uk>
2006-06-01 20:35:20 +00:00
krion
25e2c53889 MFC: function.c: 1.57
date: 2006/05/25 21:20:43;  author: krion;  state: Exp;  lines: +12 -4
  Enable numeric arguments and +/- prefixes with -user (-group)
  options.

  PR:             bin/71513
  Submitted by:   Andre Albsmeier <Andre.Albsmeier@siemens.com>
2006-06-01 19:58:01 +00:00
cvs2svn
47d76a2b91 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-05-25 04:01:05 +00:00
krion
e65254c4e8 MFC: extern.h: 1.23, find.c: 1.18, find.h: 1.19, function.c: 1.56
date: 2006/05/14 20:23:00;  author: krion;  state: Exp;  lines: +1 -4
  The last execution of -exec {} + is not done if the -exec primary is
  not on the top-level -and sequence, e.g. inside of ! or -or.

  Create a separate linked list of all active -exec {} + primaries and
  do the last execution for all at termination.

  PR:             bin/79263
  Submitted by:   Jilles Tjoelker <jilles@stack.nl>
2006-05-21 07:34:58 +00:00
mux
84c033e73b Fix the build with NO_LIBPTHREAD or NO_LIBTHR depending on the
arch, by merging revision 1.292 from ru@ who was nice enough to
fix this problem in HEAD, but I wasn't paying attention :-).

Pointy hat to:	mux
Spotted by:	bmah
2006-05-19 21:09:20 +00:00
maxim
d1e4f11e2d MFC rev. 1.29: fix a typo. 2006-05-18 07:16:43 +00:00
maxim
33125341e3 MFC rev. 1.28: close an output file -o flag opened before
execvp(3) in a child.
2006-05-16 06:25:44 +00:00
pav
e7bc22fae2 Sync with HEAD except for powerpc bits:
- Add -s flag to limit the length of string fields in the output
  brian Jan 2, 2006
- Accept zero len sockaddr_in types
  alfred Oct 15, 2005

Approved by:	alfred
2006-05-15 20:53:44 +00:00
mux
ff24b79bc6 MFC r1.288 and r1.289:
Connect csup to the build.
2006-05-15 13:55:43 +00:00
jkoshy
95f63ae442 MFC r1.67: Fix a typo. 2006-05-15 01:47:34 +00:00
ceri
93ddf3c337 MFC the birthtime related primaries. 2006-05-14 21:45:54 +00:00
mnag
10bceb0150 MFC: Sync with HEAD
Approved by:	re (scottl)
2006-04-04 21:22:35 +00:00
cvs2svn
f67356168f This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-03-28 23:59:08 +00:00
jmg
81aad613ec MFC: systat.1 v1.46, vmstat.c v1.69
Properly spell and document ozfod...

Approved by:	re (hrs)
2006-03-21 20:49:50 +00:00
rwatson
f07336c6df Merge ktrace.c:1.21 from HEAD to RELENG_6:
When opening a trace file, open O_NONBLOCK so that ktrace doesn't stall
  if the target is a fifo.  After opening a trace file, check that it is a
  regular file, and if not, return an error.

  Reported by:    kris
  PR:             94278

Approved by:	re (scottl)
2006-03-20 14:25:19 +00:00
yar
8c3ef7986c MFC:
Some years ago handling login.access(5) was moved from login(1) to
pam_login_access(8) completely and unconditionally.  This patch is
to finalize the move by deleting unused files and defines, and by
updating the manpages.  In addition, login.access.5 will be installed
from the pam_login_access src directory, to where it belongs and
where it has lived for quite a while, too.

Besides satisfying general purism, this patch should stop ongoing
attempts to fix the dead code.

Approved by:	re (mux)
2006-03-09 22:18:07 +00:00
andre
e41548655f MFC rev. 1.49 to 1.51: Print statistics on jumbo clusters and improve
packet zone information.

Sponsored by:	TCP/IP Optimization Fundraise 2005
Approved by:	re (scottl)
2006-03-01 20:54:21 +00:00
ceri
49f3f2b1e6 Sync with -HEAD.
Approved by:	re (hrs)
2006-02-26 13:21:27 +00:00
dwmalone
0b482c2cef MFC: Make column roundup to the next tab.
Approved by:	re (scottl)
2006-02-23 11:34:45 +00:00
cvs2svn
34436ebdd7 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-22 21:51:10 +00:00
marck
b1b956e890 MFC r1.33:
Default number of direct access devices had been changed from three to two.
Reflect this in other paragraphs.

PR:             93201
Submitted by:   Marian Cerny
Approved by:	re (scottl)
2006-02-17 22:25:02 +00:00
rwatson
c4063eb562 Merge mbuf.c:1.48 from HEAD to RELENG_6:
Sort sfbuf allocation counters with other sfbuf information.

Approved by:	re (scottl)
2006-02-14 03:39:04 +00:00
rwatson
6e53964350 Merge mbuf.c:1.47 from HEAD to RELENG_6:
Un-#if 0 the printing of allocation failure counts for mbufs, clusters,
  and packets in netstat -m.

Approved by:	re (scottl)
2006-02-14 03:33:49 +00:00
rwatson
d6eb8543f9 Merge kdump.1:1.13, kdump.c:1.27, as well as some of the mdoc cleanups
present in kdump.1:1.15:

  Add a "-H" argument to kdump, which causes kdump to print an additional
  field holding the threadid.  This is more useful for libthr than
  libpthread, but still quite useful in libpthread as it can be used to
  process interlaced records from multiple threads over the course of a
  system call.

  Detect old ktr_buffer values using the heuristic "if it's negative,
  then it must not be a valid threadid".  This may leave something to be
  desired.

  Reviewed by:    davidxu

Approved by:	re (scottl)
2006-02-14 03:28:31 +00:00
brd
c110472f36 MFC 1.37
- Mention that users need to be in the wheel group to `su - root' by default, and how to change it.

PR:		docs/70616
Submitted by:	Jilles Tjoelker <jilles at stack dot nl>
Reviewed by:	ru@
Approved by:	ceri@
2006-01-31 20:32:36 +00:00
jhay
0d13ff15f8 MFC:
Add AfriNIC as a RIR.

PR:		80421
Submitted by:	Adrian Frith <adrian at frith.homelinux.org>
2006-01-31 18:16:04 +00:00
ache
880a2a0bb8 MFC: 1.21 (don't update to current time on error) 2006-01-31 18:02:56 +00:00
philip
d8fc4b8e8b MFC:
Catch up with 64bit time_t on sparc64.  The rstat packet expects a 32bit
  time_t and times will look incorrect on machines with 64bit time_t.

      src/usr.bin/rup/rup.c: rev 1.18 -> 1.19

PR:		88788
Submitted by:	Keith White <Keith.White -at- site.uottawa.ca>
2006-01-30 00:29:15 +00:00
marcel
4ef2eebeda MFC ia64 psABI conformance changes:
s/R_IA64_/R_IA_64_/
	s/DT_IA64_/DT_IA_64_/

	libexec/rtld-elf/ia64/reloc.c:1.17,1.18
	libexec/rtld-elf/ia64/rtld_start.S:1.4
	sys/boot/ia64/efi/start.S:1.9,1.10
	sys/ia64/ia64/elf_machdep.c:1.23
	sys/ia64/ia64/genassym.c:1.42
	sys/ia64/ia64/locore.S:1.39
	sys/ia64/include/elf.h:1.12,1.13,1.14
	usr.bin/elfdump/elfdump.c:1.14
2006-01-28 18:40:55 +00:00
simon
5f94cb1c4b MFC rev 1.31:
Use the .Fx macro.
2006-01-25 20:56:17 +00:00
csjp
d45534cd3e MFC revision 1.20
date: 2005/12/30 20:10:21;  author: csjp;  state: Exp;  lines: +1 -1
mkstemp(3) and friends use a combination of base 10 digits, along
with upper and lower case letters from the English alphabet. Change
the number of possible file names mktemp will return from 26**6
to (10+26+26)**6 instead. This keeps things consistent with mkstemp(3)
2006-01-24 04:13:02 +00:00
matteo
2f32b90dba MFC:
Add myself to the list (Ehi, I'm not the youngest!)

      src/usr.bin/calendar/calendars/calendar.freebsd: rev 1.173 -> 1.174

(tomorrow is my birthday..)

Approved by:	philip (mentor, implicit)
2006-01-23 21:11:23 +00:00
yar
230f1eff88 MFC manpage fixes related to make.conf(5) and, in make.1,
to included makefiles at large.

	sbin/reboot/boot_i386.8		1.56
	share/man/man5/make.conf.5	1.122
	share/man/man5/style.Makefile.5	1.16
	share/man/man7/build.7		1.37
	share/man/man7/development.7	1.16
	share/man/man7/release.7	1.55
	share/man/man8/diskless.8	1.27
	usr.bin/make/make.1		1.94-1.96
2006-01-22 16:33:46 +00:00
yar
8cb395de80 MFC main.c#1.15, mail.1#1.46:
Minor man page and help screen fixes.
2006-01-22 12:40:06 +00:00
dds
6841008ed8 MFC change 2005-09-19 10:11:47 UTC
Setting .nofinger will not hide you from root.
2006-01-22 11:56:15 +00:00
dds
754c7c2343 MFC 1.47: Document the TMPDIR environment variable. 2006-01-22 11:41:18 +00:00
glebius
94e8073358 MFC 1.14:
Skip format flags, when parsing ktr_desc.
2006-01-21 10:08:15 +00:00
vd
8e4dbc282c Add myself to the calendar
Approved by:	garga (mentor)
2006-01-20 12:57:58 +00:00
delphij
68b438857e MFC pidfile(3) function, and convert several applications to make use
of it.

Bump __FreeBSDversion for the MFC.

Discussed with:	pjd
2006-01-15 17:50:38 +00:00
tegge
81ceadf72a MFC: Add marker vnodes to ensure that all vnodes associated with the mount
point are iterated over when using MNT_VNODE_FOREACH.
2006-01-14 01:18:03 +00:00