Bosko Milekic
71acb2477f
Make MPLOCKED work again in asm files and stringify it explicitly
...
where necessary.
Reviewed by: jake
2002-02-28 06:17:05 +00:00
Warner Losh
69f7bcf319
PLASTER A WARNING THAT TELLS PEOPLE THAT CURRENT HAS DEBUGGING FEATURES
...
TURNED ON.
Submitted by: rwatson
Suggest -DNO_WERROR unless you are a developer when building a kernel.
Submitted by: mike
2002-02-28 05:31:02 +00:00
Benno Rice
4eed0cf1be
Make fork work, at least for kthreads. Switching still has some issues.
2002-02-28 03:24:07 +00:00
Peter Wemm
183439a14a
Quiet bogus gcc warning
2002-02-28 03:15:53 +00:00
Benno Rice
b7ac845009
- Rearrange the sequence of events in powerpc_init() somewhat.
...
- Catch another instance of PSL_EE being cleared without PSL_RI.
2002-02-28 03:15:49 +00:00
Peter Wemm
9d69d7b867
Tag istallion.c with nowerror (third party)
2002-02-28 03:14:37 +00:00
Peter Wemm
4945f5ec47
Fix warning (const lost in assignment), harmless in this case.
2002-02-28 03:13:47 +00:00
Peter Wemm
f24d9c32a0
Fix warnings (prototype for nonexisting static function)
2002-02-28 03:12:00 +00:00
Benno Rice
3c854532b0
- When enabling/disabling interrupts, set/clear both PSL_EE and PSL_RI, not
...
just PSL_EE.
- Make cpu_critical_enter/exit independant of save_intr/restore_intr.
2002-02-28 03:07:48 +00:00
Peter Wemm
85a745c15e
Fix warnings.. bootpc_init() and related.
2002-02-28 03:07:35 +00:00
Benno Rice
9a7fefa51e
Add a missing (.
2002-02-28 03:04:33 +00:00
Peter Wemm
1dec39afe0
Fix warnings
2002-02-28 03:02:20 +00:00
Peter Wemm
d5362546cf
Fix warnings
2002-02-28 02:56:29 +00:00
Benno Rice
88afb2a31b
Implement the following functions:
...
- pmap_remove
- pmap_kremove
- pmap_qremove
2002-02-28 02:54:16 +00:00
Benno Rice
54eb8bbc14
Remove most of the usage of critical_enter/exit.
...
I put these in to match the use of spl*() in the NetBSD code I was basing this
on, but it appears to cause problems.
I'm doing this in a separate commit so as to be able to refer back if locking
becomes an issue at a later stage.
2002-02-28 02:45:10 +00:00
Brooks Davis
71c7d82d26
Some style(9) whitespace fixes and a correction to the copyright.
2002-02-28 01:03:27 +00:00
Peter Wemm
71e166afe3
Fix another boatload of warnings (missing include) and a cosmetic
...
-Wuninitialized warning.
2002-02-28 00:14:04 +00:00
Peter Wemm
777b9faaa4
Fix warnings.
2002-02-28 00:09:17 +00:00
Peter Wemm
e51c24920f
Fix debug printf formats
2002-02-28 00:06:59 +00:00
Makoto Matsushita
226e3b6ec6
For unbraking "make release": s/client/common/g
...
(these files are sitting in src/contrib/isc-dhcp/common, not .../client.)
Confirmed by: 5.0-CURRENT-20020228-JPSNAP at snapshots.jp.FreeBSD.org
2002-02-28 00:02:33 +00:00
Peter Wemm
d62e201b7b
Fix some unused warnings. One function is only used if
...
TWE_SHUTDOWN_NOTIFICATION is defined, the other two are never used.
2002-02-27 23:59:35 +00:00
Peter Wemm
98d0a7f844
Fix warnings (comment out unused tables that are taking space in the
...
kernel)
2002-02-27 23:57:18 +00:00
Peter Wemm
654694bf54
Tag if_ie.c, isp.c and isp_pci.c as nowerror (qualifier problems, and third
...
party code)
2002-02-27 23:55:42 +00:00
Peter Wemm
e542f1d7b7
Fix warnings
2002-02-27 23:53:02 +00:00
Peter Wemm
f7afd87572
Fix warnings. The driver would be more useful with a DRIVER_MODULE()
...
entry so that it actually can do something.
2002-02-27 23:47:45 +00:00
Dag-Erling Smørgrav
e211585c77
When searching an object that was opened with RTLD_GLOBAL, search its DAG too.
...
PR: bin/25059
Approved by: jdp
MFC after: 3 weeks
2002-02-27 23:44:50 +00:00
Peter Wemm
10d3660bd2
Repair some warnings. These are accessing idle portions of shared memory
...
buffers.
2002-02-27 23:43:19 +00:00
Warner Losh
e84e28dee1
Remove support for FreeBSD 2.x from this driver.
2002-02-27 23:34:02 +00:00
Peter Wemm
b4925b6514
Fix warning (unused variable)
...
Submitted by: LINT, -Werror
2002-02-27 23:32:45 +00:00
Peter Wemm
c538dbe04d
Mark a few more broken pci drivers as nowerror.
2002-02-27 23:30:33 +00:00
Peter Wemm
cd23fe0f58
Fix warning (passing wrong arg to arp_ifinit())
...
Submitted by: LINT, -Werror
2002-02-27 23:28:57 +00:00
Peter Wemm
da0d93cfc3
Mark stallion.c as nowerror (known broken, this is a #warning)
2002-02-27 23:23:54 +00:00
Peter Wemm
6aea67779a
Fix format warning.
...
Submitted by: LINT, -Werror
2002-02-27 23:21:46 +00:00
Warner Losh
ad30894246
The do { } while (0) macro example was missing a space after the 'e'.
2002-02-27 23:16:34 +00:00
Bill Fenner
1f5e29c956
Use SIGUSR1 to propogate SIGURG to the child; security measures prevent
...
the parent from sending SIGURG itself to the child. This fixes the
problem of occasionally failing to pass the window size.
2002-02-27 22:45:10 +00:00
Bill Fenner
57c1a0b6bf
Improve error reporting - report error message when there is one, or
...
report a short read if that's what we're reporting.
2002-02-27 22:38:59 +00:00
Bill Fenner
5db89bc7e6
Use network byte order for the ICMP sequence number. This is only
...
significant when monitoring packets on another system, since
otherwise the ICMP sequence number is only used by the ping client.
2002-02-27 22:37:22 +00:00
Brian Feldman
885a59f2e0
Use login_getpwclass() instead of login_getclass() so that default
...
mapping of user login classes works.
Obtained from: TrustedBSD project
Sponsored by: DARPA, NAI Labs
2002-02-27 22:36:30 +00:00
David E. O'Brien
1e23f97e5c
Minor style(9) nit + utilize ELF features for the FreeBSD ID.
2002-02-27 22:13:02 +00:00
John Baldwin
62da23f1e2
Back out part of KSE/M2 that snuck in under the radar: changing the
...
prototype of bzero() on the i386 to have a volatile first argument.
Requested by: bde, jake
2002-02-27 22:12:29 +00:00
Brian Feldman
92369d84a9
Check if string is not NULL, not *string, before setting *string.
2002-02-27 22:00:44 +00:00
David E. O'Brien
7f524f1fe9
We do not support the sparc platform.
2002-02-27 21:59:16 +00:00
David E. O'Brien
fc6e9db154
Minor WS change to improve readability.
2002-02-27 21:53:27 +00:00
Julian Elischer
497a90b418
Unbreak fore adapters from POV of warnings.
...
Define the atm_dev_free() routine so that its OK to free stuff that is defined
as volatile. Note this doesn't FORCE the arguemnts to be volatile,
just says that it's not an error if it is..
2002-02-27 21:12:44 +00:00
Warner Losh
0cf3c909d8
Remove now unused struct proc *p.
...
Approved by: jhb
2002-02-27 20:57:57 +00:00
Andrew R. Reiter
4d59dcc5b6
- Insert a space in the panic() string in order more clearly show the
...
message.
2002-02-27 20:20:42 +00:00
Julian Elischer
ca9d2dbac9
Add a comment explaining a code change..
2002-02-27 19:24:55 +00:00
John Baldwin
fdcc1cc09f
Use thread0.td_ucred instead of proc0.p_ucred. This change is cosmetic
...
and isn't strictly required. However, it lowers the number of false
positives found when grep'ing the kernel sources for p_ucred to ensure
proper locking.
2002-02-27 19:18:10 +00:00
John Baldwin
bdd67d483c
- Change namei() to use td_ucred instead of p_ucred.
...
- Change the hack in access() that uses a temporary credential to set
td_ucred to the temp cred instead of p_ucred.
2002-02-27 19:15:29 +00:00
John Baldwin
6f105b3444
- Change unp_listen() to accept a thread rather than a proc as its second
...
argument.
- Use td_ucred in unp_listen() instead of p_ucred.
2002-02-27 19:14:01 +00:00