jmc
016a928508
Shadowing and const fixes.
2005-06-16 22:45:46 +00:00
jmc
61f16670a4
Fixes for volatile problems
2005-06-16 22:43:36 +00:00
jmc
7a0ba84f10
gcc 2.96 requires all declarations before variable usage so the last set of
...
changes to fix -Wunitialized broke on vax. Moved definitions of
option and op before the initializations.
2005-06-16 22:04:24 +00:00
jmc
96839ff18e
Mark an sh3 gcc unitialized variable w. XXGCC
2005-06-16 20:39:33 +00:00
bouyer
cf4b00e2e4
Remove a (wdc == NULL) test. We know wdc is not NULL at this point.
2005-06-16 20:15:04 +00:00
bouyer
69baf4357d
Use pmatch() metacharacters to match both SATA and PATA versions of seagate
...
drives in the quirk table.
2005-06-16 20:03:35 +00:00
bouyer
5494975684
Add quirk for SIS 96x that masquerade as a SIS503. Based on patch sent by
...
Robert Fuller in kern/30431, information found in the linux kernel.
While here, add SIS 965 to the table (from FreeBSD).
2005-06-16 19:30:02 +00:00
jmc
e72c744fe2
If the line being passed to the shell is a blank line and we're not in compat
...
mode, use the ignErr template for the command as shell doesn't like an empty
construct of the form { } || <something>. Fixes build breakage on cats
distrib where a command ends up expanding to nothing.
2005-06-16 18:07:45 +00:00
jmc
971a01a036
Rename a shadowed variable
2005-06-16 17:04:53 +00:00
elad
a3c81f769c
Since NetBSD operates in securelevel -1 by default, don't rely on the
...
securelevel alone when checking if the veriexec tables can be modified;
also check if the strict level is above 0.
2005-06-16 15:45:48 +00:00
elad
27cb371b94
Don't allow unprivileged users to open the veriexec device.
...
While I'm here, explicit 'int' for 'veriexec_device_usage'.
2005-06-16 15:41:36 +00:00
elad
68988657cd
Don't allow unprivileged users to access the veriexec device.
2005-06-16 15:31:21 +00:00
christos
fa2b48914c
Instead of printing the raw cpu_id, print the logical cpu number. The raw
...
cpuid values may not be contiguous, or come in ascending order, so this
makes the cpu value of each process display match the summary display on
top.
2005-06-16 14:58:51 +00:00
christos
29a6465002
Add code to handle cp_id. From atatat.
2005-06-16 14:56:36 +00:00
christos
dfa8191fb3
Add a new sysctl 'cp_id' that returns the array of cpu id values. Requested by
...
me, implemented by atatat.
2005-06-16 14:55:58 +00:00
rpaulo
a94394c1d9
Back it out while I'm working on a real fix without introducing new bugs.
2005-06-16 14:54:10 +00:00
yamt
91fa31b5d2
uipc_usrreq: plug mbuf leak.
2005-06-16 14:36:42 +00:00
tsutsui
8e9e66997f
Rename iha_pci_probe() -> iha_pci_match() because we don't have to
...
probe PCI devices.
2005-06-16 14:32:09 +00:00
christos
47429afbb8
Return the beginning of the string, not the end.
2005-06-16 12:55:25 +00:00
bouyer
15ce68ccd1
Allow compiling a domain0 kernel with vga but without pckbc, and add
...
console support for USB keyboard. Problem pointed out by Karl Janmar on
port-xen.
2005-06-16 10:58:52 +00:00
martti
ec63076a4b
Added LBA48 quirk for Seagate ST3200822AS. Tested by Teemu Rinta-aho.
2005-06-16 05:47:17 +00:00
he
970b620d42
Adapt to changed signature of cpu_coredump32().
2005-06-16 05:38:43 +00:00
briggs
7f01fdeb84
Rename 'ncpus' to 'sparc_ncpus' to avoid shadow warnings in m.i. code.
...
Also sprinkle an __UNVOLATILE() for sparc.
n.b. sparc64 'cpus' should probably be renamed to 'cpu_info_list' to
match i386 et al.
2005-06-16 04:17:49 +00:00
seb
bc1b24046b
Add missing entries in cache information array for, at least,
...
Pentium M 770, 760, 750, 740 and 730.
Approved by mrg@
2005-06-16 00:04:25 +00:00
rpaulo
9eb6f66b9a
We now support comments until the end of a non-escaped line.
...
Ok'ed by hubertf.
2005-06-15 22:39:27 +00:00
rpaulo
d0727c5f5b
Add a unit-test for comments.
...
Addition to PR bin/17732.
Approved by sjg and christos.
2005-06-15 22:32:22 +00:00
rpaulo
72c3c708ca
PR bin/17732: Allow make to understand escaped comments.
...
Approved by sjg, christos and hubertf.
2005-06-15 22:26:54 +00:00
bouyer
6b930c6d27
Add support for x86 boot flags:
...
-s boot single user
-a ask root device
XXX -d is ifdef'd out for now, it cause early panic (no console message).
2005-06-15 22:08:08 +00:00
dsl
37bbe98710
Remove the never changed 'bootxx' variable
2005-06-15 20:49:41 +00:00
dsl
efb521dba8
Rip out the references to the installation of more than one bootstrap file.
...
Only arm32 needs the -B stuff at all, all other ports use installboot(8).
2005-06-15 20:31:47 +00:00
dsl
f74e227614
Remove all the code that was under 'NUMBOOT > 1' nothing has set that for
...
a long time.
2005-06-15 20:19:03 +00:00
christos
e0db7c68ff
WARNS=4, misc cleanups.
...
- void casts
- remove unused notreached
- use a loop instead of code duplication
- use switches and #define constants
2005-06-15 20:03:03 +00:00
junyoung
ef7e076715
Cosmetic changes.
2005-06-15 19:07:36 +00:00
peter
d191390e9e
fix the date, use .An for names, correct the name (scanffs -> scan_ffs),
...
.Ox/.Nx for OpenBSD/NetBSD, mention appearance in NetBSD.
2005-06-15 19:02:54 +00:00
junyoung
d659374d57
ANSI, KNF, de-__P, and various cosmetic changes.
2005-06-15 19:01:19 +00:00
elad
faffb35d60
Run veriexec before securelevel and sysctl scripts. Suggested by Nino Dehne.
2005-06-15 18:49:40 +00:00
kleink
4a74bb7497
Use EXIT_{SUCCESS,FAILURE}.
2005-06-15 18:42:23 +00:00
kleink
32f2d508d6
No need to define SRCS here.
2005-06-15 18:39:46 +00:00
xtraeme
6d1bcdaeab
Note addition of scan_ffs(8) from OpenBSD, utility to find FFSv1/FFSv2
...
partitions on disks.
2005-06-15 18:08:41 +00:00
xtraeme
b67b8509c2
Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
...
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.
Reviewed by christos.
2005-06-15 18:06:19 +00:00
bouyer
ec4bb683de
Support Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern.
2005-06-15 18:01:12 +00:00
bouyer
3cfd2fc4d3
Regen: add Intel 82801FBM Serial ATA Controller.
2005-06-15 17:59:14 +00:00
bouyer
ded1e32c08
Add Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern@
2005-06-15 17:58:02 +00:00
elad
e62596b887
Set the veriexec table entry pointer to NULL in getnewvnode().
2005-06-15 16:59:27 +00:00
elad
5b2713d417
Fix sysctl handling for raise-only variables. This affected the veriexec
...
node entirely. Reported by Nino Dehne.
2005-06-15 16:58:31 +00:00
reinoud
c380d87cf0
Cosmetic change giving better feedback on what's going on. It would allways
...
tell the hardware reset timed out when it didn't. Also cleaned up code
comments.
2005-06-15 15:16:23 +00:00
tron
74088f139f
Remove commented out "upa" attachments because NetBSD doesn't have a
...
driver for that anyway. Approved by Martin Husemann.
2005-06-15 12:57:44 +00:00
cube
b5e65ac443
Match two candidates. From Francois Romieu in private mail.
2005-06-15 11:27:39 +00:00
he
12d0c406c7
Initialize expsize to appease -Wuninitialized for sh3 and m68000.
...
Marked with XXXGCC -Wuninitialized [sh3,m68000].
2005-06-15 09:31:27 +00:00
junyoung
3bd71bdfb4
KNF & notably, use u_int rather than unsigned int for now for consistency.
...
This should be reversed eventually...
2005-06-15 08:03:07 +00:00