Johan Karlsson
eb3beef5ad
Make this WARNS=5 clean by using %j and (uintmax_t).
...
Look at by: sebastian.ssmoller@web.de on audit@
2003-04-23 20:24:13 +00:00
Johan Karlsson
b107cd7718
These are WARNS=5 clean, mark them as such to keep them that way.
...
Look at by: sebastian.ssmoller@web.de on audit@
2003-04-23 20:22:33 +00:00
John Hay
d8422795fa
Use bus_space*() instead of in*() and out*().
2003-04-23 20:22:32 +00:00
Poul-Henning Kamp
9ab3ea7841
Turn EV_NEW_PROVIDER into a g_call_me() event.
2003-04-23 20:16:13 +00:00
Poul-Henning Kamp
f2e9a09494
Convert EV_SPOILED event to use g_call_me().
2003-04-23 20:06:38 +00:00
John Baldwin
cf60731b01
Remove Giant from osigblock(), osigsetmask(), and kern_sigaltstack().
2003-04-23 19:49:18 +00:00
Poul-Henning Kamp
9972896c00
Turn the hardwired NEW_CLASS event into a g_call_me() event.
2003-04-23 19:34:38 +00:00
Poul-Henning Kamp
b5cba4167f
Move the shutdown eventhandler stuff to a more logical place.
2003-04-23 19:15:27 +00:00
John Baldwin
48fdefd188
Update many of the locking notes and comments for struct
...
thread/kse/ksegroup/proc.
2003-04-23 18:54:30 +00:00
John Baldwin
5eac9e2dcb
The signotify() sanity check in userret() doesn't need Giant anymore.
2003-04-23 18:51:55 +00:00
John Baldwin
2056d0a168
Add lock assertions for various proc/thread/kse/ksegroup fields to the
...
scheduler functions.
2003-04-23 18:51:05 +00:00
John Baldwin
5afe0c9947
- Reorganize osigstack() to do the copyin first, grab the proc lock once,
...
do all the various sigstack dances, unlock the proc lock, and finally do
the copyout. This more closely resembles the behavior of
kern_sigaltstack() and closes a small race.
- Remove Giant from osigstack as it is no longer needed.
2003-04-23 18:50:25 +00:00
John Baldwin
4d923fe3f5
Remove Giant from [gs]etpriority().
2003-04-23 18:48:55 +00:00
John Baldwin
112afcb232
- Protect p_numthreads with the sched_lock.
...
- Protect p_singlethread with both the sched_lock and the proc lock.
- Protect p_suspcount with the proc lock.
2003-04-23 18:46:51 +00:00
Archie Cobbs
79db6ff316
Fix a case where the return value from m_copy() was not being checked
...
for NULL before proceeding, causing a crash if mbufs were exhausted.
MFC after: 3 days
Reported by: Mark Gooderum <mark@verniernetworks.com>
2003-04-23 18:35:40 +00:00
John Baldwin
11edc1e0d7
Fix compiling in the NO_SWAPPING case.
...
Submitted by: bde (partially)
2003-04-23 18:21:41 +00:00
John Baldwin
c6004a6202
Fix a lock order reversal. Unlock the proc before calling fget().
...
Reported by: kris
2003-04-23 18:13:26 +00:00
Dag-Erling Smørgrav
581ff5e326
Remove Kerberos IV shims.
2003-04-23 17:26:01 +00:00
Dag-Erling Smørgrav
d8b043c8d4
Update for 3.6.1p1; also remove Kerberos IV shims.
2003-04-23 17:25:47 +00:00
Dag-Erling Smørgrav
2d61bc6706
Nit.
2003-04-23 17:23:06 +00:00
Dag-Erling Smørgrav
ae48cf5798
Improvements to the proposed shell code.
2003-04-23 17:21:55 +00:00
Dag-Erling Smørgrav
07a3a2906c
Regenerate.
2003-04-23 17:21:27 +00:00
Dag-Erling Smørgrav
e73e9afa91
Resolve conflicts.
2003-04-23 17:13:13 +00:00
Dag-Erling Smørgrav
486cd0043e
This commit was generated by cvs2svn to compensate for changes in r113908,
...
which included commits to RCS files with non-trunk default branches.
2003-04-23 16:53:02 +00:00
Dag-Erling Smørgrav
d0c8c0bcc2
Vendor import of OpenSSH-portable 3.6.1p1.
2003-04-23 16:53:02 +00:00
John Baldwin
6faa2f6d6e
Comment out the mixer entry for igain for the mic 20dB boost for now since
...
it can cause feedback problems on some laptops.
Reviewed by: orion
2003-04-23 16:49:53 +00:00
Dag-Erling Smørgrav
bd9155712b
Add constants for USB programming interfaces. These are already defined
...
(with other names) in the USB driver sources, but I felt that pcireg.h
should have a complete list - at least of classes and interfaces that we
know about and use.
2003-04-23 15:51:36 +00:00
John Hay
e37d1c1488
Get rid of kvtop().
...
Change inb() and outb() to use bus_space*().
2003-04-23 15:40:11 +00:00
Makoto Matsushita
7172e3d4bf
Set appropriate tag "fsck" to logger(1) for background fsck messages.
...
PR: 51174
Submitted by: Alex Popa <razor@ldc.ro>
2003-04-23 15:38:02 +00:00
Jens Schweikhardt
89056245c0
Correct a doubled 'with'.
2003-04-23 14:28:13 +00:00
Dag-Erling Smørgrav
5b9cb0c3eb
Make sure debug.log only gets debugging messages.
2003-04-23 13:08:31 +00:00
Poul-Henning Kamp
604c210c15
Fix a compiler warning.
...
Submitted by: David Leimbach <leimy2k@mac.com>
2003-04-23 12:15:31 +00:00
Yoshihiro Takahashi
7dfdab9659
axe(4) works on pc98 maybe.
2003-04-23 10:46:00 +00:00
Ruslan Ermilov
c9030dc84d
Presumably fix sparc64 "make release". (The breakage was due to
...
sunlabel(8) no longer being linked to disklabel(8).)
Reviewed by: phk
2003-04-23 09:01:35 +00:00
Jens Schweikhardt
af16b40ba9
Correct typo in COMPATIBILITY section: s/esycmd/esyscmd
2003-04-23 08:47:51 +00:00
Poul-Henning Kamp
6fd54d593e
Add testcases to ensure that overwriting bootcode does not trash label.
2003-04-23 08:25:44 +00:00
Poul-Henning Kamp
97b902efd2
If we cannot open the parent device for writing, use GEOM::CONFIG_GEOM
...
requests to write label and bootcode.
The -r argument is ignored (with a warning).
With a lot of help from: jake
2003-04-23 08:25:20 +00:00
Poul-Henning Kamp
bf9ab27afb
Implement CONFIG_GEOM verbs "write label" and "write bootcode".
2003-04-23 08:23:01 +00:00
Poul-Henning Kamp
a357555867
Introduce a #define for the length of the bootloader code.
2003-04-23 08:04:30 +00:00
Poul-Henning Kamp
ca3d750e73
Introduce gctl_get_paraml() which gets a parameter only if it has the
...
right length.
2003-04-23 08:03:47 +00:00
Poul-Henning Kamp
fb9483af54
Make gctl_error() take printfline varargs.
2003-04-23 07:50:01 +00:00
Poul-Henning Kamp
668ae29c71
Remove unused event pointers in object structures.
...
Remove KASSERTS which checked that they were unused.
2003-04-23 06:54:44 +00:00
Poul-Henning Kamp
fd19a46265
Do not link sunlabel to disklabel.
2003-04-23 06:37:57 +00:00
David E. O'Brien
2603007ace
Add /dev to the Alpha manual mount root example.
2003-04-23 05:02:40 +00:00
Ruslan Ermilov
2343a53401
The second chdir(1) that I trimmed is needed too
...
if the program has an object directory.
Explained by: Tim Kientzle <kientzle@acm.org>
2003-04-23 04:28:35 +00:00
Don Lewis
8b3182e212
Release the vnode interlock in nfs_flush() before calling nfs_sigintr(),
...
and grab it again later if necessary. This prevents a lock order reversal
because nfs_sigintr() calls PROC_LOCK().
2003-04-23 02:58:26 +00:00
Bruce A. Mah
d7c9b045d4
Add first axe(4) devices.
2003-04-22 22:41:53 +00:00
Bruce A. Mah
0ed2935b68
New release notes: axe(4), newfs(8) -O2 default, sysinstall UFS2
...
default (i386,alpha,sparc64,ia64).
2003-04-22 22:40:57 +00:00
Jacques Vidrine
5460b1abd2
``Strong typing is a crutch for people with weak memories.''
...
Correct a bug that should have wreaked havoc everywhere, but for
some reason only bit unlucky people who use `-march' optimizations.
The compiler cannot assist one in distinguishing between the two
function calls below.
int nsdispatch(void *, ...);
void *discard;
nsdispatch(&discard, ...); /* correct .. no, really! */
nsdispatch(discard, ...); /* Boom */
Robin provided me with a debugging environment in which I could see
what was going on.
Badness when using CPUTYPE was
Reported by: "Robin P. Blanchard" <Robin.Blanchard@gactr.uga.edu>
Reported by: nork
Sponsored by: DARPA, Network Associates Laboratories
2003-04-22 22:19:05 +00:00
Daniel Eischen
29fde418c1
Set the quantum for scope system threads to 0 (no quantum).
2003-04-22 21:32:32 +00:00