Peter Wemm [Tue, 19 Mar 2002 11:18:47 +0000 (11:18 +0000)]
My ia64 box for some reason likes to fragment the beginning/end of memory
a bit before handing it over to the OS. I occasionally have 11
segments with several 8K or so fragments depending on nvram settings and
what I have done under loader(8) before booting. This needs to be
revisited.
Peter Wemm [Tue, 19 Mar 2002 11:09:24 +0000 (11:09 +0000)]
Work around an apparent compiler bug with gcc-3.1, although it might be
a language feature that I do not know about. gcc is complaining about
a left shift >= sizeof type, even when shifting a (cast) 64 bit type left
by 43 bits.
Peter Wemm [Tue, 19 Mar 2002 11:03:48 +0000 (11:03 +0000)]
Turn off the ia64 ITC timecounter when SMP is present since it has the
same problem as the TSC on the x86 - ie: it is not synchronized.
#if 0 out some unused functions, ia64 doesn't calibrate clocks yet.
Bruce Evans [Tue, 19 Mar 2002 08:20:44 +0000 (08:20 +0000)]
Backed out the part of the previous commit related to xargs. It just
broke things, since "name=value ... cmd ..." only works for simple
commands (not for pipelines).
Bruce Evans [Tue, 19 Mar 2002 06:30:24 +0000 (06:30 +0000)]
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 ..."
Bruce Evans [Tue, 19 Mar 2002 06:11:43 +0000 (06:11 +0000)]
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).
Alan Cox [Tue, 19 Mar 2002 04:54:30 +0000 (04:54 +0000)]
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.)
Bruce Evans [Tue, 19 Mar 2002 04:09:21 +0000 (04:09 +0000)]
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.
Juli Mallett [Tue, 19 Mar 2002 02:05:27 +0000 (02:05 +0000)]
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
Crist J. Clark [Tue, 19 Mar 2002 01:56:04 +0000 (01:56 +0000)]
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
Juli Mallett [Tue, 19 Mar 2002 00:44:07 +0000 (00:44 +0000)]
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.
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.
Bruce Evans [Mon, 18 Mar 2002 23:38:16 +0000 (23:38 +0000)]
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.
Bruce Evans [Mon, 18 Mar 2002 23:24:00 +0000 (23:24 +0000)]
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.
Brian Feldman [Mon, 18 Mar 2002 15:08:09 +0000 (15:08 +0000)]
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.
Crist J. Clark [Mon, 18 Mar 2002 12:55:28 +0000 (12:55 +0000)]
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.