deischen
5764fb3f84
Add a macro to get the current thread mailbox pointer.
2003-04-23 21:49:34 +00:00
deischen
4dac1223a3
Remove the i386-specific hack (well, we only run on i386 anyways)
...
to always set %gs when resuming a thread.
Install this library as libpthread instead of libkse.
2003-04-23 21:48:29 +00:00
deischen
f8027ceb95
Protect thread errno from being changed while operating
...
on behalf of the KSE.
Add a kse_reinit function to reinitialize a reused KSE.
Submitted by: davidxu
2003-04-23 21:46:50 +00:00
kan
b86b779077
Add a new sys/limits.h file which in turn depends on machine/_limits.h
...
to get actual constant values. This is in preparation for machine/limits.h
retirement.
Discussed on: standards@
Submitted by: Craig Rodrigues <rodrigc@attbi.com> (*)
Modified by: kan
2003-04-23 21:41:59 +00:00
phk
ffd04bfbdd
Introduce a g_waitfor_event() function which posts an event and waits for
...
it to be run (or cancelled) and use this instead of home-rolled versions.
2003-04-23 21:28:27 +00:00
gad
89702db8fc
Document support for the <default> entry, which was implemented in
...
revision 1.50 of newsyslog.c , back in February. I intend to MFC
those changes soon.
MFC after: 4 days
2003-04-23 21:26:12 +00:00
phk
7a7d406136
More of the event stuff can now be private to geom_event.c
2003-04-23 20:54:42 +00:00
phk
3bbfe9f43b
Rename g_call_me() to g_post_event(), and give it a flag
...
argument to determine if we can M_WAITOK in malloc.
2003-04-23 20:46:12 +00:00
johan
f0e2ab20a0
style(9): use NULL when assigning/comparing a char *,
...
consitently compare fileid with 0 using == and !=.
Reviewed by: silence on @audit
2003-04-23 20:33:57 +00:00
johan
4c6fe8967c
Make this WARNS=5 clean by adding () in 'if (a || (b && c))'.
...
Look at by: sebastian.ssmoller@web.de on audit@
2003-04-23 20:26:21 +00:00
phk
b4c26d2e1a
Remove the now unused hardcoded g_post_event() event support.
2003-04-23 20:25:33 +00:00
johan
1bab2ea14b
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
e567096f00
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
jhay
7c3a9405f3
Use bus_space*() instead of in*() and out*().
2003-04-23 20:22:32 +00:00
phk
7c462ceb2b
Turn EV_NEW_PROVIDER into a g_call_me() event.
2003-04-23 20:16:13 +00:00
phk
67a31a6107
Convert EV_SPOILED event to use g_call_me().
2003-04-23 20:06:38 +00:00
jhb
9b55ca02a0
Remove Giant from osigblock(), osigsetmask(), and kern_sigaltstack().
2003-04-23 19:49:18 +00:00
phk
16bcc257a6
Turn the hardwired NEW_CLASS event into a g_call_me() event.
2003-04-23 19:34:38 +00:00
phk
51e68a1f27
Move the shutdown eventhandler stuff to a more logical place.
2003-04-23 19:15:27 +00:00
jhb
fe0dcbf0db
Update many of the locking notes and comments for struct
...
thread/kse/ksegroup/proc.
2003-04-23 18:54:30 +00:00
jhb
2c416d197d
The signotify() sanity check in userret() doesn't need Giant anymore.
2003-04-23 18:51:55 +00:00
jhb
26097c18e1
Add lock assertions for various proc/thread/kse/ksegroup fields to the
...
scheduler functions.
2003-04-23 18:51:05 +00:00
jhb
89c52cff2e
- 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
jhb
2958cf621b
Remove Giant from [gs]etpriority().
2003-04-23 18:48:55 +00:00
jhb
a0bf3a3e6f
- 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
84db389df4
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
jhb
485007051a
Fix compiling in the NO_SWAPPING case.
...
Submitted by: bde (partially)
2003-04-23 18:21:41 +00:00
jhb
3df03e8316
Fix a lock order reversal. Unlock the proc before calling fget().
...
Reported by: kris
2003-04-23 18:13:26 +00:00
des
97c8ef8dd1
Remove Kerberos IV shims.
2003-04-23 17:26:01 +00:00
des
ea5dc58e56
Update for 3.6.1p1; also remove Kerberos IV shims.
2003-04-23 17:25:47 +00:00
des
a4b5e84c1c
Nit.
2003-04-23 17:23:06 +00:00
des
471d81d867
Improvements to the proposed shell code.
2003-04-23 17:21:55 +00:00
des
5e9cbb7bff
Regenerate.
2003-04-23 17:21:27 +00:00
des
58b9db3b6f
Resolve conflicts.
2003-04-23 17:13:13 +00:00
des
6d34992e86
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
des
85b37b9574
Vendor import of OpenSSH-portable 3.6.1p1.
2003-04-23 16:53:02 +00:00
jhb
df96ff7f37
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
des
649f6ec094
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
jhay
f639676ede
Get rid of kvtop().
...
Change inb() and outb() to use bus_space*().
2003-04-23 15:40:11 +00:00
matusita
b9c860330d
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
schweikh
8993312ce1
Correct a doubled 'with'.
2003-04-23 14:28:13 +00:00
des
1e06682f7e
Make sure debug.log only gets debugging messages.
2003-04-23 13:08:31 +00:00
phk
851915e8b2
Fix a compiler warning.
...
Submitted by: David Leimbach <leimy2k@mac.com>
2003-04-23 12:15:31 +00:00
nyan
7748404686
axe(4) works on pc98 maybe.
2003-04-23 10:46:00 +00:00
ru
560225c470
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
schweikh
14fc0ea5a4
Correct typo in COMPATIBILITY section: s/esycmd/esyscmd
2003-04-23 08:47:51 +00:00
phk
f00eb2c09f
Add testcases to ensure that overwriting bootcode does not trash label.
2003-04-23 08:25:44 +00:00
phk
47ef37e7e2
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
phk
15a332bfd6
Implement CONFIG_GEOM verbs "write label" and "write bootcode".
2003-04-23 08:23:01 +00:00
phk
cc4a9d46fe
Introduce a #define for the length of the bootloader code.
2003-04-23 08:04:30 +00:00