Commit Graph

71518 Commits

Author SHA1 Message Date
Alan Cox
b949bce678 Add #include so that the previous change compiles. 2002-03-19 06:45:25 +00:00
Bruce Evans
09f2f5ad67 Removed env(1) commands. make(1) uses a real shell, and
"env name=value ... cmd ..." is just a pessimized way of doing
"name=value ... cmd ..." in real shells.  Set the environment
(without using env(1)) before starting xargs so that env(1)
is not needed in "xargs env name=value ... cmd ..."
2002-03-19 06:30:24 +00:00
Alfred Perlstein
12ca2c2ede fix perfmon for DEVFS.
PR: kern/36008
2002-03-19 06:14:34 +00:00
Bruce Evans
afabc4dfc2 Removed bogus env(1) commands. make(1) uses a real shell, so
"env name=value ... cmd ..." was just a pessimized way of doing
"name=value ... cmd ...".  Note that make(1) can't optimize
either of these to an exec of env(1) or "cmd" even if the second
"..." is simple, since it can't tell that the shell metacharacter
in "name=value" is actually handled by env(1).
2002-03-19 06:11:43 +00:00
Bruce Evans
26891528d0 Removed "env" commands. "sh" is a real shell, so
"env name=value ... sh ..." was just a pessimized way of doing
"name=value ... sh ...".
2002-03-19 05:58:36 +00:00
Udo Erdelhoff
3177021b0b MFen 1.303 2002-03-19 05:26:14 +00:00
Jeff Roberson
1274438838 Initialize variables before use. This was needed to pass -Werror.
Reviewed by:	jake
2002-03-19 05:14:23 +00:00
Alan Cox
89734883fa Eliminate unnecessary calls to grow_stack() and useracc() from linux_sendsig()
and linux_rt_sendsig().  (See i386/i386/machdep.c revisions 1.503 and 1.504.)
2002-03-19 04:54:30 +00:00
Alfred Perlstein
4a950215ef Close a race when vfs_syscalls.c:checkdirs() runs.
To do this protect the filedesc pointer in the proc with PROC_LOCK
in both checkdirs() and kern_descrip.c:fdfree().
2002-03-19 04:30:04 +00:00
Bruce Evans
367b50a28f Fixed some printf format errors (hopefully all of the remaining daddr64_t
ones for GENERIC, and all others on the same line as those).  Reformat
the printfs if necessary to avoid new long lones or old format printf
errors.
2002-03-19 04:09:21 +00:00
Bruce Evans
1ab0b5f920 The previous commit missed fixing 2 old printf format errors and
introduced a format printf error.
2002-03-19 04:07:29 +00:00
Dag-Erling Smørgrav
dde1888c4a Don't try to generate ssh keys if ssh isn't installed. 2002-03-19 03:45:02 +00:00
Juli Mallett
0e3c27aef0 Fix handling of filenames with spaces in them in the input file to
uudecode(1), as this behaviour was explicitly added in revision 1.12 as
the result of PR 2882.  Remove space (' ') from the delimiter characters
handed to strtok(3).

Reviewed by:	mike
Approved by:	mike
Pointy hat to:	me
2002-03-19 02:05:27 +00:00
Crist J. Clark
5b7e37d2b7 IPFilter may need to be re-sync'ed even if we are not filtering, but
only doing ipnat(8). Go back to using $ipfilter_active, but turn off
$ipfilter_active when loading ipl.ko has failed.

Submitted by:	devet@devet.org (Arjan de Vet)
MFC after:	3 days
2002-03-19 01:56:04 +00:00
Andrew Gallatin
54ed0c3221 Fix printf warning caused by recent changes in bio_pblkno's type. 2002-03-19 01:45:04 +00:00
Juli Mallett
9873dd6133 Make uudecode(1) use setmode(3) and getmode(3) instead of just blindly
chmodding using an octal mode, as uudecode needs to handle symbolic modes
as chmod and such do.

Suggested by:	Tim J. Robbins <tim@robbins.id.au>

Also move meta-character (~ in this case) globbing to only if we are reading
the filename from the encoded file, as otherwise it is the shell's job.

Reviewed by:	mike
Approved by:	mike
2002-03-19 00:44:07 +00:00
Jun Kuriyama
d7e7591cf9 MFen. 2002-03-19 00:41:57 +00:00
Dag-Erling Smørgrav
108dad90bf Rename the (not really new but so far unused) sparc category to sparc64. 2002-03-19 00:39:55 +00:00
Dag-Erling Smørgrav
6cbe9bf450 Uncomment the powerpc category. It maps to the freebsd-ppc mailing list. 2002-03-19 00:28:25 +00:00
Dag-Erling Smørgrav
3d57a2e1cd Add a "standards" category at mike@'s request. 2002-03-19 00:22:03 +00:00
Bruce A. Mah
a879a4d244 New release note: SA-02:18. 2002-03-19 00:19:53 +00:00
Dag-Erling Smørgrav
31f70d2800 Add an ia64 category; we'll need it sooner or later. Also add a commented-
out entry for powerpc; I'll enable it when the powerpc port gets its own
mailing list.
2002-03-18 23:56:04 +00:00
Bruce Evans
07e929da1c Fixed printf format errors in previous commit. %llu is no more suitable
than %u for printing signed 64-bit types.  It fails on different machines,
and has the wrong signdness.

Fixed old printf format error on the same line.  %u is not suitable for
printing 32-bit types on all machines.

"Fixed" format printf error in previous commit.  This file is not
formatted in KNF.  Partially restore bug for bug compatibility: indent
the printf args too much, but don't format them for 160-column terminals.
2002-03-18 23:38:16 +00:00
Dag-Erling Smørgrav
3b67680b63 Bump the cutoff mark for comparing files from 8 MB to 16 MB. 2002-03-18 23:26:13 +00:00
Bruce Evans
1b7fb13116 Fixed printf format errors in previous commit. %llu is no more suitable
than %u for printing signed 64-bit types.  It fails on different machines,
and has the wrong signdness.

Fixed old printf format error on the same line.  %u is not suitable for
printing 32-bit types on all machines.
2002-03-18 23:24:00 +00:00
Warner Losh
8321855307 Formats that print the block number need to be changed from %u to
%llu due to recent changes in bio_pblkno's type.
2002-03-18 20:50:04 +00:00
Bruce A. Mah
c3123ab6bf Fix wording (hopefully for the last time) of my summary of SA-02:13.
Submitted by:	ue
Reviewed by:	nectar
2002-03-18 20:26:04 +00:00
Udo Erdelhoff
87aedd4eaa MFen 1.301 2002-03-18 19:41:51 +00:00
Alfred Perlstein
558626dc49 have the SYSCALL_MODULES macro provide an initializer for the 'old_sysent'
to avoid pedandic warnings.
2002-03-18 18:53:18 +00:00
Josef Karthauser
916e6e02e5 Add a USB comm driver.
Ported from NetBSD by:	akiyama
2002-03-18 18:23:42 +00:00
Bruce A. Mah
d3d0e2c9fc Add the ERRATA file to the documentation menu and index.
While I'm here, make the menu entries on the documentation menu begin
with "1" instead of "2".

Reviewed by:	imp, rwatson, murray
Approved by:	imp, rwatson, murray
MFC after:	1 week
2002-03-18 17:34:28 +00:00
Ruslan Ermilov
a689555c72 mdoc(7) police: tidy up. 2002-03-18 16:52:32 +00:00
Ruslan Ermilov
21bb400da0 mdoc(7) police: tidy up. 2002-03-18 16:40:07 +00:00
Ruslan Ermilov
f831177dbd mdoc(7) police: tidy up. 2002-03-18 16:29:26 +00:00
Ruslan Ermilov
241c7610c2 mdoc(7) police: tidy up. 2002-03-18 16:18:33 +00:00
Dag-Erling Smørgrav
3876d839e5 Don't forget auth-skey.c. 2002-03-18 16:17:57 +00:00
Warner Losh
58c804ff25 Add missing commas. At least I didn't miss a period. 2002-03-18 16:10:00 +00:00
Ruslan Ermilov
7d1f1e9ca8 mdoc(7) police: fix SYNOPSIS, sort xrefs, kill extra whitespace. 2002-03-18 15:59:53 +00:00
Ruslan Ermilov
b6b2be6fbe mdoc(7) police: nits. 2002-03-18 15:55:53 +00:00
Ruslan Ermilov
8ce6622380 mdoc(7) police: sort xrefs, kill extra whitespace. 2002-03-18 15:52:28 +00:00
Ruslan Ermilov
c8c5079d10 mdoc(7) police: tidy up. 2002-03-18 15:44:27 +00:00
Ian Dowse
af53d6d86e Remove yet more vestiges of mount_mfs. 2002-03-18 15:31:44 +00:00
Brian Feldman
25adb370be Back out the modification of vm_map locks from lockmgr to sx locks. The
best path forward now is likely to change the lockmgr locks to simple
sleep mutexes, then see if any extra contention it generates is greater
than removed overhead of managing local locking state information,
cost of extra calls into lockmgr, etc.

Additionally, making the vm_map lock a mutex and respecting it properly
will put us much closer to not needing Giant magic in vm.
2002-03-18 15:08:09 +00:00
Ruslan Ermilov
24fb82a7ad Unobfuscate VLAN trunking description.
Reviewed by:	luigi
2002-03-18 14:41:47 +00:00
Ruslan Ermilov
90305461e1 mdoc(7) police: tidy up. 2002-03-18 14:35:22 +00:00
Søren Schmidt
a86fb2a588 Cleanup the chipset setup a bit.
Add some (for all I know unneeded) setup code for the rosb4.
2002-03-18 13:56:44 +00:00
Ruslan Ermilov
4e765b5129 mdoc(7) police: tidy up. 2002-03-18 13:52:30 +00:00
Maxime Henrion
a272b5d2cd Unbreak the build of smbfs.ko.
Reviewed by:	sheldonh
2002-03-18 13:06:57 +00:00
Ruslan Ermilov
708d714ed7 mdoc(7) police: tidy up. 2002-03-18 13:02:33 +00:00
Crist J. Clark
51906f452e Fix world breakage introduced by my recent modifications to
chpass(8). The relations between libc, libpam, chpass, passwd, and
vipw are a mess and probably should be cleaned up.

Submitted by:	Peter Pentchev <roam@ringlet.net>
2002-03-18 12:55:28 +00:00