Commit graph

6363 commits

Author SHA1 Message Date
Gregory Neil Shapiro dce6e6518b Remove MAINTAINER= lines from individual Makefiles in favor of the
MAINTAINER file (which already had entries for sendmail).
2003-07-07 03:54:04 +00:00
Luigi Rizzo 2233a14e50 remove whitespace at end of line 2003-07-04 20:44:25 +00:00
Ruslan Ermilov c94d70434f Fixed broken arithmetic expression parser.
Reminded by:	bde
In memory of:	alane
2003-07-04 13:33:48 +00:00
Juli Mallett e7b883c427 Make the sysctlbyname stuff look like the 2-level MIB stuff. This
means actually setting 'len', for example.  Which will make uname -i
work on some systems where it did not.  Anywhere where it did work,
it was a matter of coincidence.

Submitted by:	redpixel on EFnet.
2003-07-01 20:15:28 +00:00
Tony Finch 2fd339446d Improve expression evaluation debugging output, tidy up the handling of
EOF, and improve the commentary about backslash-newline handling.
2003-07-01 15:30:43 +00:00
Tom Hukins 8b582d6ee0 Add the British hundredweight (brhundredweight). For discussion, see:
http://london.pm.org/pipermail/london.pm/Week-of-Mon-20030630/019926.html
For a definition, see:
http://www.bartleby.com/61/55/H0325500.html

Also add some more computing terms described at:
http://www.wikipedia.org/wiki/Integral_data_type

Reviewed by:	dwmalone
MFC after:	2 weeks
2003-07-01 10:33:27 +00:00
Tony Finch eb801906b8 Various fixes from upstream, including a bug...
Fix the usage synopsis.

Amend the copyright notice to reflect the fact that there's no Berkeley
code left.

Fix a typo in a comment, improve the descriptions of the way we use
some global variables (relevant to the bug below), and note that
division-by-zero has side effects so the current expression evaluator
can't be trivially extended to arithmetic in its current design.

Avoid hitting an abort(); /* bug */ when in "text mode" (i.e.
ignoring comment state) by updating the line parser state properly.

PR:	53907
2003-06-30 14:46:25 +00:00
Maxim Konovalov fe9f481f9d o Fix identation. 2003-06-30 11:51:21 +00:00
Maxim Konovalov ed10a496b1 o Support for '--' to cancel options list processing.
PR:		bin/32433
Prodded by:	Zak Johnson <zakj-freebsd-hackers@nox.cx>
Obtained from:	easyedit-1.4.6
MFC after:	2 weeks
2003-06-30 11:49:00 +00:00
Andrey A. Chernov e5637075a3 Back out .SU workaround - people at whois-servers.net set up
su.whois-servers.net
2003-06-29 23:56:31 +00:00
Juli Mallett ad46866975 Add code to keep going if you're really intent on fingering someone, but
can't use utmp(5).
2003-06-28 23:11:41 +00:00
Ruslan Ermilov 73e57b801f Synchronize usage() and SYNOPSIS, and fix them (flags are not
optional here).  Sort options.  Print the file name on error.
2003-06-28 22:30:46 +00:00
Peter Wemm c76b41b7b5 utmp.ut_time is not a time_t, do not pass a pointer to it to pr_attime(). 2003-06-28 19:11:42 +00:00
David E. O'Brien f6d8a17fe8 Finish the deorbital burn of the i386-only a.out toolchain. 2003-06-27 03:59:46 +00:00
Alexey Zelkin 2a805f6300 Move scmp() to more appropriate location 2003-06-26 11:05:56 +00:00
Alexey Zelkin 980548ef84 Add support of '-m' option to show charmaps (or correctly to say list of
available codesets)

Modify manpages appropriatelly
2003-06-26 11:01:03 +00:00
Alexey Zelkin b1d6647755 implement LC_MONETARY's int_* keywords 2003-06-26 09:07:53 +00:00
Alexey Zelkin 48f12e5860 locale.c:
Use newly added __detect_path_locale() helper to lookup _PathLocale value.
It adds boundary checking for PATH_LOCALE environment variable value and
check for super-user fallback.

Makefile:

Add lib/libc/locale to compiler's include path (for setlocale.h)
2003-06-25 23:05:11 +00:00
Alexey Zelkin d8d4841398 Catch up with _PATH_LOCALE move from rune.h to paths.h 2003-06-25 22:31:42 +00:00
Mike Heffner fd693f6790 Restore INET6 option from config.h.
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
2003-06-25 15:53:25 +00:00
Sean Kelly 2927f5f648 Add my birthday to the calendar.
Approved by: jeff (mentor)
2003-06-25 05:42:32 +00:00
Julian Elischer 14823ba8d6 Temporarily re-remove the bluetooth tools..
there are problems with their Makefiles I wasn't aware of..

Pointed out by: ru@
2003-06-24 19:11:14 +00:00
Andrey A. Chernov 1d07f642df While there is no su.whois-servers.net, use fallback to
ru.whois-servers.net for su domain or country
2003-06-24 15:08:24 +00:00
Julian Elischer 8590c01663 Connect bluetooth tools for i386 only.
These are probably machine independent, but
there is no way for the developers to test them other than on x86.

They will become MD as testing becomes possible.
2003-06-24 13:25:24 +00:00
John-Mark Gurney ab1897e943 fix this code properly. msdosfs can't have device nodes on them.
comment how to read device nodes from ufs (if an adventurous soul wants
to fix it!).

Reviewed by:	bde
2003-06-24 08:18:18 +00:00
Diomidis Spinellis 40cfd67361 New committer Diomidis D. Spinellis - dds@FreeBSD.org
Approved by: schweikh (mentor)
2003-06-23 20:54:33 +00:00
Andrey A. Chernov 3232f62c25 FIx catalog name I overlook in prev. obsolete locales removing
Submitted by:   ru
2003-06-23 13:08:22 +00:00
Ruslan Ermilov 6713c83ccc We use modernized version of soelim(1) shipped with Groff. 2003-06-23 12:03:22 +00:00
Maxim Konovalov c30afbc578 o Fix rev. 1.41, print a header. -STABLE is OK.
PR:		bin/53585
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru>
2003-06-23 08:43:19 +00:00
Greg Lehey 156bc71b92 Add the date of Turing's death.
Change the entry for Turing's birthday to be the same as in
calendar.birthday.  This enables cron jobs to uniq(1) the entry.
2003-06-23 00:16:00 +00:00
Alexey Zelkin 93cdc37dbf Hook locale(1) to build 2003-06-22 08:41:03 +00:00
Alexey Zelkin 64825d2991 document 'list' keyword & fix few typos 2003-06-22 08:39:29 +00:00
Alexey Zelkin 3f101ba0a5 Add FreeBSD specific keyword 'list' implementation. 'locale -k list' can
be used to retrieve list of all available keywords now.
2003-06-22 08:34:27 +00:00
Alexey Zelkin d8dca302fb Add WARNS 2003-06-22 08:24:53 +00:00
Alexey Zelkin 3c6001ec5d Fix few typos and remove two unneeded checks
Noticed by:	ache
2003-06-20 13:29:43 +00:00
Alexey Zelkin c166f16908 We have manpage now, so remove NOMAN 2003-06-20 13:24:46 +00:00
Alexey Zelkin b67daebabc Fix most warnings, sort prototypes, kill spaces at EOLs 2003-06-20 13:23:51 +00:00
Alexey Zelkin 10efe9a914 Add minimalistic manual page for locale(1) 2003-06-20 11:52:05 +00:00
Alexey Zelkin b296024678 Complete rewrite of locale(1) in order to become POSIX complaint utilitty.
It's possibly not completely complaint with POSIX requirements, but
very close to it now.
2003-06-20 11:45:43 +00:00
Martin Blapp c5455e6d6a Fix broken -a functionality.
Reviewed by:	phk
Submitted by:	Martin Kammerhofer <mkamm@gmx.net>
PR:		53451

MFC:		1 week
2003-06-19 09:19:51 +00:00
Murray Stokely 1b8d837cd0 phk added the -x option in May 2000, but only for regular files; for
special files it was treated like -l.  This commit adds the -x option
in for special files as well.

PR:		bin/46249
Submitted by:	Colin Percival <cperciva@sfu.ca>
2003-06-19 07:24:26 +00:00
John-Mark Gurney cf56713abf correct spelling of struct cdev * from dev_t which is a 32bit type and
isn't very useful for passing pointers on LP64 systems.

device names on sparc64 and alpha should now work.
2003-06-19 02:09:22 +00:00
Philippe Charnier d4d2557dc5 Bump WARNS to 6. Add usage(). Use provided xmalloc() instead of malloc().
Use err().
2003-06-17 19:58:33 +00:00
Mike Heffner f5520c4045 Update for latest lukemftp import. 2003-06-16 02:37:42 +00:00
Mark Murray 1dd991a05b If lint(1) is not "lint", don't try to lint the xlint compat-libs. A
third-party lint is probably being used.
2003-06-15 13:03:37 +00:00
Philippe Charnier d005495293 err() on allocation failure. WARNS=9 compliant
use #if 0, #ifndef lint, #endif /* not lint */, #endif ordering
when a message is provided, use errx() instead of err().
2003-06-15 09:28:17 +00:00
Robert Watson aee1b42ab6 Now that the kernel access control for quotactl(2) appears to work
properly, clean up quota(1).  quota(1) has the ability to query
quotas either directly from the kernel, or if that fails, by reading
the quota.user or quota.group files specified for the file system
in /etc/fstab.  The setuid bit existed solely (apparently) to let
non-operator users query their quotas and consumption when quotas
weren't enabled for the file system.

o Remove the setuid bit from quota(1).

o Remove the logic used by quota(1) when running setuid to prevent
  users from querying the quotas of other users or groups.  Note
  that this papered over previously broken kernel access control;
  if you queried directly using the system call, you could access
  some of the data "restricted" by quota(1).

In the new world order, the ability to inspect the (live) quotas of
other uids and gids via the kernel is controlled by the privilege
requirement sysctl.  The ability to query via the file is controlled
by the file permissions on the quota database backing files
(root:operator, group readable by default).
2003-06-15 06:54:36 +00:00
Robert Watson 41b0d1a064 Now that the kernel access control for quotactl(2) appears to work
properly, clean up quota(1).  quota(1) has the ability to query
quotas either directly from the kernel, or if that fails, by reading
the quota.user or quota.group files specified for the file system
in /etc/fstab.  The setuid bit existed solely (apparently) to let
non-operator users query their quotas and consumption when quotas
weren't enabled for the file system.

o Remove the setuid bit from quota(1).

o Remove the logic used by quota(1) when running setuid to prevent
  users from querying the quotas of other users or groups.  Note
  that this papered over previously broken kernel access control.
2003-06-15 06:46:24 +00:00
David E. O'Brien 457946d9bd Remove MAINTAINER lines. 2003-06-14 19:32:52 +00:00
Tom Rhodes 33ffdd8115 Don't truncate the output file before making sure that we can
read at least 1 byte from the input file without problems.  This
fixes a bug in uncompress(1) that causes the accidental removal
of files that happen to have the same name as the output file,
even when the uncompression fails and is aborted, i.e.:

$ echo hello world > hello
$ touch hello.Z
$ ls -l hello*
-rw-rw-r--  1 giorgos  giorgos  12 Jun 14 13:33 hello
-rw-rw-r--  1 giorgos  giorgos   0 Jun 14 13:33 hello.Z
$ ./uncompress -f hello
uncompress: hello.Z: Inappropriate file type or format
$ ls -l hello*
-rw-rw-r--  1 giorgos  giorgos  0 Jun 14 13:33 hello.Z
$

PR:		46787
Submitted by:	keramida
2003-06-14 13:41:31 +00:00
Mark Murray ef646f18aa Fix all WARNS. Checked with "make WARNS=9". Remove unused file. 2003-06-14 13:00:21 +00:00
Maxime Henrion 0792992c73 - Use _PATH_TTY and _PATH_DEVNULL macros.
- Don't fail if we can't open /dev/null since this can happen if
  xargs is jail'ed or chroot'ed.

These fixes were submitted by Todd Miller from the OpenBSD project.
There was one problem in those fixes that broke -o, which is corrected
here and should be committed to the OpenBSD repo by Todd soon.

MFC in:	3 days
2003-06-13 17:05:41 +00:00
Juli Mallett 004bd28e40 Use waitpid, instead of wait3, which is more portable.
Submitted by:	"Todd C. Miller" <Todd.Miller@courtesan.com>
Obtained from:	OpenBSD
Reviewed by:	tjr
2003-06-13 07:37:45 +00:00
Juli Mallett 815e414e17 Remove redundant return; from void function.
Submitted by:	"Todd C. Miller" <Todd.Miller@courtesan.com>
Obtained from:	OpenBSD
2003-06-13 07:25:15 +00:00
Mike Barcroft e86c7447c2 Drop maintainership of whois(1). If someone needs a review they can
find me in the whois.c revision history.
2003-06-12 02:46:47 +00:00
Erwin Lansing 0ff30930ff add my birthday 2003-06-11 09:04:53 +00:00
Tom Rhodes fa676bbfc8 Revert 1.52. This should have been added to fetch.3.
Discussed with:	des, ru
2003-06-10 20:34:50 +00:00
Mark Murray 96b5910f32 Revert part of the last commit. This fixes tail for pipes.
Submitted by:	joerg
2003-06-10 16:49:14 +00:00
Andrey A. Chernov 4aeece6a14 Add (unsigned char) cast to ctype macros 2003-06-10 02:18:00 +00:00
Andrey A. Chernov ddcab7eeac Use setlocale & nl_langinfo to parse locale name 2003-06-10 02:15:00 +00:00
Andrey A. Chernov 1d35769ff1 Remove deprecated locale names 2003-06-10 01:54:10 +00:00
Philippe Charnier 49b3830c8e Introduce options definition the standard way. command -> utility. 2003-06-09 19:37:45 +00:00
Philippe Charnier 23b03a1274 Introduce options definition the standard way. Do not uppercase first
letter in FILES section.
2003-06-09 19:35:56 +00:00
Philippe Charnier f88e6136c3 Introduce options definition the standard way. 2003-06-09 19:32:02 +00:00
Philippe Charnier 3adb4d32aa Revert previous commit, from Bruce:
This is a style bug.  err() is declared is non-returning so that every
  use of it doesn't need to be encrufted with NOTREACHED.  It's too bad
  that only gcc understands the declaration.

Asked by:	bde@
2003-06-09 19:21:35 +00:00
Juli Mallett 8ec0090099 Add sysctlbyname(3) support, and use that for uname -i, in preparation for
replacing the committed static OID version with a string-based OID_AUTO
version.
2003-06-09 10:23:43 +00:00
Juli Mallett c4119c76f8 Make kernel identification (`ident' in the config(8) driver) available to
userland, and the kernel.  In the kernel by way of the 'ident[]' variable
akin to all the other stuff generated by newvers.sh.  In userland it is
available to sysctl consumers via KERN_IDENT or 'kern.ident'.  It is exported
by uname(1) by the -i flag.

Reviewed by:	hackers@
2003-06-09 09:38:20 +00:00
Will Andrews dee3731d08 REST IN PEACE
Alan Eldridge
Born December 15, 1961 in Iowa
Died June 6, 2003 in Denver, Colorado

Thank you for your contributions, you
will be greatly missed.

http://freebsd.kde.org/memoriam/alane.php

(This change suggested by ru@ - thanks).
2003-06-08 21:31:10 +00:00
Ruslan Ermilov 7021331528 The sorting is by month/day/year/login. 2003-06-08 16:37:40 +00:00
Ruslan Ermilov 004699a02b Submitted by: hmp 2003-06-08 15:01:44 +00:00
Philippe Charnier 122ccb43be command -> utility. Add section number to .Xr 2003-06-08 14:38:02 +00:00
Philippe Charnier 31e7e8efc8 The .Nm utility 2003-06-08 14:36:22 +00:00
Philippe Charnier ecccc002bc command -> utility 2003-06-08 14:35:11 +00:00
Philippe Charnier 6a1be1f51b Add section number to .Xr 2003-06-08 13:58:08 +00:00
Philippe Charnier 196604d77e typo 2003-06-08 13:51:40 +00:00
Philippe Charnier bfd62d7094 The .Nm utility 2003-06-08 13:47:20 +00:00
Philippe Charnier 33f9fef537 The .Xr utility 2003-06-08 13:45:37 +00:00
Philippe Charnier a8e0f0e094 The .Xr files 2003-06-08 13:43:56 +00:00
Philippe Charnier 5288a06a91 Add NOTREACHED after err() inside of a switch statement. 2003-06-08 13:39:32 +00:00
David E. O'Brien d104f0300a Consistently use __inline for pure c89 compilers.
Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-07 18:12:30 +00:00
Maxime Henrion ae94787d6d Finish the implementation of the -p switch so that it
actually works.  I have no idea why this wasn't finished
and happened to try to use it.
2003-06-07 14:36:49 +00:00
Sergey A. Osokin c842a5ca87 Add my birthday.
Approved by:	fjoe (mentor)
2003-06-06 15:08:32 +00:00
Jun Kuriyama 3a624f5e23 Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
Marcel Moolenaar 1eb3be492d Use cat(1) instead of cp(1) so as not to break -DNOCLEAN builds
when the file permissions of source files don't allow writing.
2003-06-06 05:38:09 +00:00
Tony Finch c2b9b6eba8 Do not dribble zero bytes into the output, by replacing an obfuscated if
whose true and false clauses were equivalent with a check that we are
not about to stumble off the end of the line.

Reported by:	peter
Pointy hat to:	fanf
2003-06-05 12:10:19 +00:00
Tony Finch 2f17b7e279 Fix substitution when the regex matches the zero-length string.
There are two bugs: in the s///g case, the substitution didn't occur
at the end of the line; in the s///N case, the code didn't count
forwards along the line properly. See the sg, s3, s4, and s5 tests
in src/tools/regression/usr.bin/sed/.

Reviewed by:	tjr
2003-06-04 15:31:55 +00:00
Tony Finch 2611a92c3a MAINTAINER line moved to MAINTAINERS file. 2003-06-04 10:01:10 +00:00
Andrey A. Chernov 3146eb4004 Change fatal to warnx() for unknown encoding 2003-06-03 16:58:31 +00:00
Peter Wemm ec4beb5d8b Two enhancements for kdump.
1) add a "-p pid", which is rather useful for selecting a single pid in
a combined trace file (eg: with ktrace -i).
2) display binary genio data in a more precise format.
2003-06-03 01:44:43 +00:00
Andrey A. Chernov 92b49d4efa Hardcore supported encodings list 2003-06-02 19:54:29 +00:00
Ruslan Ermilov f937c268cf Assorted mdoc(7) fixes. 2003-06-02 11:19:24 +00:00
Tim J. Robbins ebe5d44d5a Give the -o option before any filename operands when invoking the sort
utility. 1003.1-2001 does not allow sort to accept the -o option after
the operands (Base Definitions, 12.2 Utility Syntax Guidelines,
Guideline 9).
2003-06-01 22:37:38 +00:00
Tim J. Robbins 14f566d3ca Split the env(1) manpage off from printenv(1); there is not much point
in keeping them together. Mention that printenv is obsolescent.
2003-06-01 06:29:47 +00:00
Tim J. Robbins aa8e31e68c Close files after opening them to avoiding leaking descriptors and memory. 2003-06-01 06:15:30 +00:00
Jens Schweikhardt b6a42c898a Rewrite this csh program as a /bin/sh program. This appears to be
the last csh script needed for a buildworld. You should now be able
to buildworld on a system that was compiled with NO_TCSH=true.
Verified to produce the same result for the one file being generated
during buildworld, share/doc/papers/kernmalloc/appendix.ms.

Reviewed by:	hackers@
MFC after:	2 weeks
2003-05-31 21:02:50 +00:00
Ruslan Ermilov ffc07c4cf2 Assorted mdoc(7) fixes. 2003-05-30 21:27:29 +00:00
Matthew N. Dodd caf357a2c8 Remove uninitialized local variable in favor of global.
PR:		 bin/52685
Submitted by:	 Alexander Nedotsukov <bland@mail.ru>
Approved by:	 re (scottl)
2003-05-26 04:58:26 +00:00
Ruslan Ermilov c75a6a726b Erase whitspace at EOL.
Approved by:	re (blanket)
2003-05-22 13:10:32 +00:00
Ruslan Ermilov fa7f4291ff Markup bits.
Approved by:	re (blanket)
2003-05-21 21:07:28 +00:00
Ruslan Ermilov c002b2c842 Revert last delta.
The -l option is deprecated (hence undocumented in usage() and
SYNOPSIS), as was threatened in the commitlog accompanying rev.
1.10 of main.c.

Approved by:	re (blanket)
2003-05-21 20:52:57 +00:00
Christian Brueffer 3e32fa3860 Clarify the describtion of the -A switch
PR:		51187
Submitted by:	Jeff Ito <jeffi@rcn.com>
Approved by:	re (jhb)
MFC after:	3 days
2003-05-21 15:00:47 +00:00
Ruslan Ermilov b140b63058 Fixed catman(1) so that if the source files are compressed,
the preformatted files are compressed with the same program
as the source, and if the source files are uncompressed, the
preformatted files are also uncompressed.

PR:		bin/52213
Submitted by:	Krister Joas <krister@gazonk.net>, ru
Approved by:	re (jhb)
2003-05-21 13:26:37 +00:00
Ruslan Ermilov 72f00208e5 Reapply mdoc(7) fixes that got accidentally lost in the last
Bluetooth update, and fix a few more issues.

Submitted by:	Maksim Yevmenkin <m_evmenkin@yahoo.com>, ru
Approved by:	re (blanket)
2003-05-20 21:01:21 +00:00
Dag-Erling Smørgrav 7691f66abf Retire the useless NOSECURE knob.
Approved by:	re (scottl)
2003-05-19 15:52:01 +00:00
Tom Rhodes ac6bad097f Add an EXAMPLES section.
Xref sh(1) as we use environment variables.

PR:		43899
Reviewed by:	des
2003-05-17 15:46:46 +00:00
Marcel Moolenaar f2c49dd248 Revamp of the syscall path, exception and context handling. The
prime objectives are:
o  Implement a syscall path based on the epc inststruction (see
   sys/ia64/ia64/syscall.s).
o  Revisit the places were we need to save and restore registers
   and define those contexts in terms of the register sets (see
   sys/ia64/include/_regset.h).

Secundairy objectives:
o  Remove the requirement to use contigmalloc for kernel stacks.
o  Better handling of the high FP registers for SMP systems.
o  Switch to the new cpu_switch() and cpu_throw() semantics.
o  Add a good unwinder to reconstruct contexts for the rare
   cases we need to (see sys/contrib/ia64/libuwx)

Many files are affected by this change. Functionally it boils
down to:
o  The EPC syscall doesn't preserve registers it does not need
   to preserve and places the arguments differently on the stack.
   This affects libc and truss.
o  The address of the kernel page directory (kptdir) had to
   be unstaticized for use by the nested TLB fault handler.
   The name has been changed to ia64_kptdir to avoid conflicts.
   The renaming affects libkvm.
o  The trapframe only contains the special registers and the
   scratch registers. For syscalls using the EPC syscall path
   no scratch registers are saved. This affects all places where
   the trapframe is accessed. Most notably the unaligned access
   handler, the signal delivery code and the debugger.
o  Context switching only partly saves the special registers
   and the preserved registers. This affects cpu_switch() and
   triggered the move to the new semantics, which additionally
   affects cpu_throw().
o  The high FP registers are either in the PCB or on some
   CPU. context switching for them is done lazily. This affects
   trap().
o  The mcontext has room for all registers, but not all of them
   have to be defined in all cases. This mostly affects signal
   delivery code now. The *context syscalls are as of yet still
   unimplemented.

Many details went into the removal of the requirement to use
contigmalloc for kernel stacks. The details are mostly CPU
specific and limited to exception_save() and exception_restore().
The few places where we create, destroy or switch stacks were
mostly simplified by not having to construct physical addresses
and additionally saving the virtual addresses for later use.

Besides more efficient context saving and restoring, which of
course yields a noticable speedup, this also fixes the dreaded
SMP bootup problem as a side-effect. The details of which are
still not fully understood.

This change includes all the necessary backward compatibility
code to have it handle older userland binaries that use the
break instruction for syscalls. Support for break-based syscalls
has been pessimized in favor of a clean implementation. Due to
the overall better performance of the kernel, this will still
be notived as an improvement if it's noticed at all.

Approved by: re@ (jhb)
2003-05-16 21:26:42 +00:00
Bosko Milekic 11583f6c93 Make the mb_alloc low-watermark sysctl-tunable read-only and make
netstat(1) not display it for now because its effects are not yet
completely implemented and we're about to cut 5.2-RELEASE.
This is temporary.

Approved by: re (scottl, rwatson)
2003-05-15 19:05:28 +00:00
Doug Barton fd52243c4f Bring in NetBSD's version 1.11, which includes documenation for the new
inode birthtime display, and quite a bit of mdoc cleanup, which brings
it much more in line with our mdoc style.

Approved by:	re (bmah)
Obtained from:	Andrew Brown <atatat@NetBSD.org> (content), Grant Beattie <grant@NetBSD.org> (mdoc)
2003-05-11 23:07:07 +00:00
Doug Barton 1cee9d8d65 Import NetBSD's 1.10 version, which includes the ability to display
the new inode birthtime field, a few other small cleanups, and
synchronization with our #include <sys/types.h>.

Approved by:	re (bmah)
Obtained from:	Andrew Brown <atatat@NetBSD.org>
2003-05-11 23:02:09 +00:00
Mark Murray 0813637235 Mrege from crypto telnet with "make unifdef". This gets a bunch of
$FreeBSD$ tags and some debug variable safety belts.
2003-05-11 18:27:49 +00:00
Julian Elischer f2bb1cae36 Part one of undating the bluetooth code to the newest version
Submitted by:   Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@
2003-05-10 21:44:42 +00:00
Robert Drehmel 9efed1e6e2 To reserve space for 65536 bits, allocate
65536 / (sizeof(int) * CHAR_BITS) `int's instead of
65536 / (sizeof(int) * CHAR_BITS) bytes to avoid a possible
segmentation fault if ports above 16383 are specified via the
-p option on a platform with 4 byte wide ints.

Approved by:	re (bmah)
Reported by:	Marco Wertejuk <wertejuk@mwcis.com>
2003-05-09 09:11:27 +00:00
Peter Wemm 203fc38a60 Add amd64 settings.
Approved by:  re (scottl)
2003-05-08 06:33:49 +00:00
Peter Wemm 991e6f718b Exclude gprof and truss for amd64 too.
Approved by:  re (scottl)
2003-05-08 06:33:07 +00:00
Michael Landin 43713b6deb Add my birthday.
Approved by: roberto (mentor), re(bmah)
2003-05-07 13:28:16 +00:00
David E. O'Brien 8d5c19ffbc Centralize _PATH_* definitions.
Submitted by:	Tim Kientzle <kientzle@acm.org> (embellished by me)
2003-05-05 22:49:23 +00:00
Mark Murray dbf104e68d Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
2003-05-05 07:58:44 +00:00
David E. O'Brien b47c8cc7d2 No, forget about rev 1.24. My system wasn't virgin enough when I tested that.
Restore rev 1.23.
2003-05-03 23:15:09 +00:00
David E. O'Brien 83ddb07b8f Forget about rev 1.23. -$ is now spelled -fno-dollars-in-identifiers.
Submitted by:	kan
2003-05-03 19:57:36 +00:00
David E. O'Brien 804388bb2e GCC 3.3's cpplib does not impliment -$ (forbid the use of $ in identifiers). 2003-05-03 19:50:41 +00:00
David E. O'Brien ebe901b4de Make GCC 3.3 happy with rcsid[], sccs[], and copyright[]. 2003-05-03 19:44:46 +00:00
David E. O'Brien 8eb2a3de8f Don't shaddow exp(3). 2003-05-03 19:09:11 +00:00
Giorgos Keramidas b9e09bb643 Duplicate "from".
PR:		docs/51724
Submitted by:	Christopher Nehren <apeiron@comcast.net
2003-05-03 15:55:23 +00:00
Ruslan Ermilov eb8c9e95a5 Do not attempt to build chkey(1) and newkey(8) if NOSECURE is defined.
Submitted by:	Marius Strobl <marius@alchemy.franken.de>
2003-05-01 19:43:01 +00:00
Ruslan Ermilov a52672e938 Build non-crypto telnet(1) and telnetd(8) if NO_OPENSSL is defined.
Submitted by:	Marius Strobl <marius@alchemy.franken.de>
2003-05-01 19:38:15 +00:00
Dag-Erling Smørgrav b06d75fd43 Mark fetch(1) as c99- and WARNS6-clean. 2003-05-01 14:40:55 +00:00
Tim J. Robbins aef4bb33e5 Flush streams before calling system() so that the output appears in the
right place in the output stream when redirected to a file (when full
buffering is enabled). Noticed by schweikh on freebsd-standards.
2003-05-01 02:36:27 +00:00
Jens Schweikhardt fbc8f8a2dc Fix references to non-existing or obsoleted man pages.
PR:	docs/51480 (only a small part)
Submitted by:	Diomidis D. Spinellis <dds@aueb.gr>
2003-04-30 19:18:50 +00:00
Ruslan Ermilov 2266b8c0d4 Don't clobber Kerberos5 telnet(1) and telnetd(8) with non-crypto versions. 2003-04-30 07:24:35 +00:00
Greg Lehey 38220129cc Add years in which some events occurred. I wasn't able to confirm
that the dates themselves are correct.

Clarify the date when DoJ dropped its suit against IBM.
2003-04-28 00:32:10 +00:00
Warner Losh 6a31ec40cb make "killall -j" not core dump.
Submitted by: Joe Marcus Clarke in current@
2003-04-27 07:17:27 +00:00
Robert Watson a2ba8df6c4 When the tty chown() fails, report a chown() failure rather than a
chmod() failure.
2003-04-26 02:51:03 +00:00
Dag-Erling Smørgrav 5c4b7a56c6 The documented login.conf variable for setting the login prompt is
"login_prompt".  This makes more sense than "prompt" which is what
login actually used, so change the code to match the documentation.

PR:		docs/51396
MFC in:		3 days
2003-04-25 11:57:20 +00:00
Maxim Konovalov 95a94fb6d5 Aristotle dies in 02 Oct 322 BC not in March.
PR:		misc/46440
Submitted by:	Sergey A. Osokin <osa@freebsd.org.ru>
MFC after:	4 days
2003-04-24 09:54:02 +00:00
Jens Schweikhardt af16b40ba9 Correct typo in COMPATIBILITY section: s/esycmd/esyscmd 2003-04-23 08:47:51 +00:00
Greg Lehey fc9726d014 Add Vladimir Ulyanov's birthday.
Reminded by: joerg (born 92 years later, to the day).
2003-04-22 10:33:43 +00:00
Jacques Vidrine 3fcf3dd63a While I really liked the error message one received from `passwd'
when it could not determine the source of the user's passwd(5) entry,
it might be somewhat confusing now that we can have sources that are
not compiled into libc.
2003-04-18 21:27:09 +00:00
Greg Lehey 9dc7076193 Clarify US events which may not be so obvious to non-US Americans. 2003-04-16 02:19:27 +00:00
Greg Lehey 19199417fc Clarify that holidays are US holidays. Many conflict with similarly
named holidays in other countries.
2003-04-16 02:18:30 +00:00
Alexander Kabaev 8e04260639 Remove the only varargs.h consumer in the tree. Use stdarg.h instead. 2003-04-15 18:59:22 +00:00
Ruslan Ermilov fa01047efc Sync usage() with SYNOPSIS. 2003-04-15 14:27:21 +00:00
Matthew N. Dodd 726c2ca080 Decode a few more syscalls. 2003-04-15 06:12:12 +00:00
Tim J. Robbins bd67e96dbc Uncomment the description of the -f option. Add rfork() to the list of
system calls it displays stats about.

PR:		50924
2003-04-14 07:22:25 +00:00
Tim J. Robbins 3c93cfb510 Reimplement the vmstat -f option (display fork statistics).
PR:		50924
Submitted by:	Ken Stailey (with a few changes)
2003-04-14 07:21:03 +00:00
Tim J. Robbins 058d268671 Mention the environment variables that affect the execution of uniq.
Of particular interest is the fact that LC_COLLATE affects how uniq
determines whether lines are equal. This was the subject of a fairly heated
debate a year or so ago, and it turns out that the current behaviour is
correct and that the standard contained an error.

Now that the standard has been corrected by Cor. 1-2002, refer to 1003.1-2001
instead of the 1992 edition in the Standards section.
2003-04-12 04:17:14 +00:00
Matthew N. Dodd 6ec73e0e90 Fix debounce. I forgot these bits in my last commit.
Submitted by:	 Mathew Kanner <mat@cnd.mcgill.ca>
2003-04-10 08:06:56 +00:00
Maxime Henrion 74d66b34d7 Slightly rework formatting in vmstat -i so that it doesn't
break with "fooX irqY" lines that are a bit bigger.
2003-04-10 00:44:18 +00:00
Matthew N. Dodd f5a4d3f069 - Implement debounce support.
- Clean up examples.
- Call deamon(3) after we open the PID file.

Submitted by:	 Mathew Kanner <mat@cnd.mcgill.ca>
2003-04-09 23:19:50 +00:00
Dag-Erling Smørgrav a4280091c3 Avoid clobbering the gecos field, as we intend to use the original later.
PR:		bin/50563
2003-04-09 18:18:42 +00:00
Matthew N. Dodd ce5b934709 Add usbhidaction(1).
This allows actions to be bound to HID events.

Obtained from:	 NetBSD
2003-04-09 11:16:34 +00:00