Darren Reed
28613e5584
Import IPFilter 3.4.25 (last version 3.4.20)
2002-03-19 11:30:21 +00:00
Peter Wemm
bfed03d6df
Enabling the SKI option is a guaranteed breakage for me. Interrupts no
...
longer work.
I can only get a box to boot with 'options SMP'.
2002-03-19 11:21:12 +00:00
Peter Wemm
5044ed104d
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.
2002-03-19 11:18:47 +00:00
Peter Wemm
3b406873c7
Fix some unused variables.
2002-03-19 11:15:26 +00:00
Peter Wemm
12adcbdf35
Move a couple of prototypes together instead of being incompletely
...
scattered around.
2002-03-19 11:14:52 +00:00
Peter Wemm
6d4a5aee06
__func__ is a const char *, not a "string" that can be concatenated.
2002-03-19 11:11:37 +00:00
Peter Wemm
90f9252584
Fix a pointer/int warning
2002-03-19 11:10:30 +00:00
Peter Wemm
21eec46f33
#ifdef SMP some variables that are only used elsewhere under #ifdef SMP
...
also.
2002-03-19 11:10:03 +00:00
Peter Wemm
34adf9e4f1
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.
2002-03-19 11:09:24 +00:00
Peter Wemm
51ea8b33df
Believe it or not, I ran into the 32MB stack size limit using a natively
...
hosted gcc.
2002-03-19 11:07:09 +00:00
Peter Wemm
e42d7cebec
#if 0 out some unused code.
2002-03-19 11:06:01 +00:00
Peter Wemm
675ceea82b
Add some #includes after things got broken with the last round of
...
MI include file (<sys/smp.h> I think) tweaks.
2002-03-19 11:05:07 +00:00
Peter Wemm
4ff9e8d5e5
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.
2002-03-19 11:03:48 +00:00
Peter Wemm
30171114b3
Fix a gcc-3.1+ warning.
...
warning: deprecated use of label at end of compound statement
ie: you cannot do this anymore:
switch(foo) {
....
default:
}
2002-03-19 11:02:06 +00:00
Peter Wemm
3ba30c18a2
Pacify gcc-3.1+, initialize two variables to avoid -Wuninitialized
...
warnings.
2002-03-19 10:57:40 +00:00
Peter Wemm
a5e7c7da5e
Fix warnings on gcc-3.1+ where __func__ is a const char * instead of a
...
string.
2002-03-19 10:56:46 +00:00
Peter Wemm
9a8fa41c6f
Regen; post SMC id's and also pick up a previously forgotten regen(?).
2002-03-19 10:55:39 +00:00
Peter Wemm
58b0048916
Add another SMC device ID and the hub ID that it went with.
2002-03-19 10:54:40 +00:00
Peter Wemm
5f4a0f788b
Add the ia64 bus space tag for the IO ports (!).
...
Add a #else and #error so that this doesn't go unnoticed again.
2002-03-19 10:53:33 +00:00
Peter Wemm
17694298c0
Use the FreeBSD cross tools instead of the linux ones.
2002-03-19 10:52:44 +00:00
Peter Wemm
1d7914a5bd
Add -ffreestanding to avoid printf/puts/putchar conversions
2002-03-19 10:51:57 +00:00
Peter Wemm
436122c232
Boot from efifs first.
2002-03-19 10:50:41 +00:00
Peter Wemm
9b6a75edb3
gcc-3.1 likes to have extra { } around the internal array initializers in
...
the GUID templates.
2002-03-19 10:50:09 +00:00
Jeff Roberson
8355f576a9
This is the first part of the new kernel memory allocator. This replaces
...
malloc(9) and vm_zone with a slab like allocator.
Reviewed by: arch@
2002-03-19 09:11:49 +00:00
Jeff Roberson
2294143a5d
Remove the kmembuckets stats in preparation for the UMA commit.
2002-03-19 08:45:55 +00:00
Bruce Evans
a7ac916bc7
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).
2002-03-19 08:20:44 +00:00
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