Jacques Vidrine
43652a6ba6
Repair a bug in which a faulty group entry (one with only 2 colons)
...
would result in an incorrectly terminated grouplist.
login(1) crashes
Reported by: Morten Rodal <morten@rodal.no>,
Matthias Schuendehuette <msch@snafu.de>
2003-04-20 01:12:00 +00:00
Maxime Henrion
2ccf1ce757
style(9).
2003-04-20 01:04:04 +00:00
Alan Cox
097d4338db
Lock the vm_object in vfs_busy_pages().
2003-04-20 00:17:05 +00:00
David Schultz
60fd7ba74a
Add a dozen new tests with the general theme of getting trailing
...
zeroes right.
2003-04-19 23:53:34 +00:00
David Schultz
1f2a0cdf58
%E-like %g and %G conversions should remove trailing zeroes unless
...
the # flag is present. Implement this behavior and add a comment
describing it.
Noticed by: Enache Adrian <enache@rdslink.ro>
Pointy hat to: das
2003-04-19 23:53:19 +00:00
Alan Cox
0fa05eae77
- Lock the vm_object when performing vm_object_pip_subtract().
...
- Assert that the vm_object lock is held in vm_object_pip_subtract().
2003-04-19 22:11:41 +00:00
Alan Cox
0d420ad3e6
- Lock the vm_object when performing vm_object_pip_wakeupn().
...
- Assert that the vm_object lock is held in vm_object_pip_wakeupn().
- Add a new macro VM_OBJECT_LOCK_ASSERT().
2003-04-19 21:15:44 +00:00
Alan Cox
ea08145b76
Lock the jumbo_vm_object when performing vm_page_alloc().
2003-04-19 19:13:25 +00:00
Bruce A. Mah
6c0ba0d0e8
Fix typo: s/5.0-STABLE/5.0-CURRENT/
...
Pointed out by: scottl
2003-04-19 18:40:23 +00:00
Bruce A. Mah
974855ae3c
New release notes: LAZY_SWITCH, new docs and translation team.
...
Modified release notes: Rewrite HTT note to conform to reality, fix a
couple of typos referring to options directives [1], add missing words
in gdtoa note.
MFC noted: sbsh(4).
Inspired by: bde message <20030420022510.O16869@gamplex.bde.org> to
current@ [1]
2003-04-19 17:57:14 +00:00
Maxime Henrion
6d63c80290
Make this file closer to style(9) paradigm.
2003-04-19 17:24:07 +00:00
Bruce A. Mah
10a33cc2a8
Fix minor whitespace glitch. Translators can ignore this.
2003-04-19 17:09:09 +00:00
Maxime Henrion
3566dff0d9
- Enable interrupts only at the end of epic_attach() when all the
...
other initializations succeeded.
- Initialize the TX and RX rings in epic_attach() rather than in
epic_init() where we're not supposed to fail. Similarly, free
the TX and RX rings in epic_detach() rather than in epic_stop().
- Change epic_init() to be a void function now that it can't fail.
Also change its parameter to a void * so that we have a correct
prototype for if_init.
- Now that epic_init() has a correct prototype, don't cast the
function pointer when initializing if_init.
- Fix nearby style bugs.
2003-04-19 13:51:24 +00:00
Bill Fumerola
a273f3ae41
properly refuse a connection in the -c case if the client ip's subdirectory
...
does not exist.
PR: bin/38303
Submitted by: Woei-Luen, Shyu <m8535@cn.ee.ccu.edu.tw>
the committed patch differs from the submitted one, any inaccuracies are mine.
2003-04-19 10:14:43 +00:00
Poul-Henning Kamp
7220a9e779
Make more of the "hotspot" stuff generic:
...
Give the class a way to specify the necessary action for read/delete/write:
ALLOW, DENY, START or CALL.
Update geom_bsd to use this.
2003-04-19 10:14:39 +00:00
Poul-Henning Kamp
183a45f65e
Create a dedicated structure for holding hotspot information rather than
...
using slice structures for it.
2003-04-19 10:00:22 +00:00
Mike Makonnen
cd3b264dfd
Spell ${_jail} correctly
...
Submitted by: Shizuka Kudo <shizukakudo_99@yahoo.com>
Approved by: markm (mentor) (implicit)
2003-04-19 07:50:32 +00:00
Poul-Henning Kamp
0b1b370c47
Add prototype for compute_stats() so that libdevstat is WARNS=4 clean.
...
Spotted by: kris
2003-04-19 07:42:13 +00:00
Bruce A. Mah
85030e713b
Add an entry for ehci.
2003-04-19 06:17:33 +00:00
David Xu
95bee4c365
Test next upcall time correctly.
2003-04-19 06:16:04 +00:00
Bruce A. Mah
5c8b5d24dc
New release notes: NSS modules, port distfile refetches.
2003-04-19 06:11:37 +00:00
David Xu
06ce69a720
Unbreak sigaltstack syscall. sigonstack is now a function and
...
want proc lock be held.
2003-04-19 05:04:06 +00:00
David Xu
588257e810
Use correct thread pointer.
2003-04-19 04:39:10 +00:00
David Xu
2bdf11638e
Don't return garbage in high 16 bits.
2003-04-19 02:40:39 +00:00
Peter Grehan
5a2409f32c
Fix compile warning - proc should have been thread.
2003-04-19 02:18:51 +00:00
Mike Makonnen
23cecb19f0
The changes to rc.d/network1 will not get merged in by
...
mergemaster if it does not appear in the list of files to install.
2003-04-19 01:56:44 +00:00
Alan Cox
034b3d7a6f
o Update locking around vm_object_page_remove() in vm_map_clean()
...
to use the new macros.
o Remove unnecessary increment and decrement of the vm_object's
reference count in vm_map_clean().
2003-04-19 01:43:32 +00:00
Yoshihiro Takahashi
32d9e2d216
The ehci driver works on pc98.
2003-04-19 01:26:29 +00:00
Alan Cox
410cfc455e
Lock the vm_object in obj_alloc().
2003-04-19 00:30:36 +00:00
Maxime Henrion
f78a230c3c
- Correct a comment made bogus by my last commit.
...
- Use __FBSDID.
2003-04-19 00:28:49 +00:00
Maxime Henrion
8a2ec7627f
Various cleanups:
...
- Don't initialize if_output, ether_ifattach() does this for us.
- Use pci_enable_busmaster() instead of using pci_read_config()
and pci_write_config() directly.
- Don't try to enable I/O, bus_alloc_resource() does this for us.
2003-04-19 00:21:34 +00:00
Julian Elischer
d211967a52
Back out last commit.
2003-04-18 22:22:59 +00:00
Poul-Henning Kamp
d7960ce5a2
Add the beginning of a regression test.
...
So far it checks the overwrites of the BSD label inband (ie: dd
if=/dev/ad0a of=/dev/ad2a).
This excercises the geom::slice::hotspot code.
2003-04-18 22:20:46 +00:00
Jacques Vidrine
171614bfd6
Follow-up to revision 1.74: Using the result buffer to store our empty
...
string was an incredibly dumb idea (of course it will be changed by an
NSS module on success!). Use a static empty string instead.
Sponsored by: DARPA, Network Associates Laboratories
2003-04-18 22:07:30 +00:00
Jacques Vidrine
3fcf3dd63a
While I really liked the error message one received from `passwd'
...
when it could not determine the source of the user's passwd(5) entry,
it might be somewhat confusing now that we can have sources that are
not compiled into libc.
2003-04-18 21:27:09 +00:00
Jacques Vidrine
361efec23f
I'd like to keep an eye on nsdispatch and friends for a while.
2003-04-18 21:17:46 +00:00
Jacques Vidrine
a9ceaa9dc8
Follow-up to revision 1.73: set _PWF_FILES when `compat' source is used
...
but user is found in local file.
Reported by: Shizuka Kudo <shizukakudo_99@yahoo.com>
Sponsored by: DARPA, Network Associates Laboratories
2003-04-18 21:13:35 +00:00
John Baldwin
8b94a0616d
- Make sigonstack() a regular function instead of an inline and add a proc
...
lock assertion to it.
- SIGPENDING() no longer needs sched_lock, so only grab sched_lock to set
the TDF_NEEDSIGCHK and TDF_ASTPENDING flags in signotify().
- Add a proc lock assertion to tdsigwakeup().
- Since we always set TDF_OLDMASK while holding the proc lock, the proc
lock is sufficient protection to check its state in postsig() and we only
need sched_lock when clearing the actual flag.
2003-04-18 20:59:05 +00:00
John Baldwin
9eb78fcfd9
Synchronize the two linux_clone() implementations which includes a few
...
minor cleanups in both.
2003-04-18 20:54:41 +00:00
Poul-Henning Kamp
008f0e2abb
Solve printf/cast issues to make this compile in i386 as well.
2003-04-18 20:27:16 +00:00
Robert Watson
535cf73341
Rather than check for M_PKTHDR and conditionally perform access control,
...
simply assert that M_PKTHDR is set using M_ASSERTPKTHDR().
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-04-18 20:22:23 +00:00
John Baldwin
889a6b5845
Use the proc lock to protect p_singlethread and a P_WEXIT test. This
...
fixes a couple of potential KSE panics on non-i386 arch's that weren't
holding the proc lock when calling thread_exit().
2003-04-18 20:20:00 +00:00
John Baldwin
e77daab1af
Rename do_sigprocmask() to kern_sigprocmask() and make it a global symbol
...
so that it can be used by binary emulators.
2003-04-18 20:18:44 +00:00
John Baldwin
08865ba1d1
Add a couple of sched_lock asserts.
2003-04-18 20:17:47 +00:00
John Baldwin
02e878d97c
- Add a static function pgadjustjobc() to adjust the job control count for
...
a process group.
- Call pgadjustjobc() twice in fixjobc() to avoid code duplication and
improve readability.
- Use the proc lock to protect P_SHOULDSTOP() instead of sched_lock.
- Check to see if a process is PRS_NEW with sched_lock before trying to
lock its proc lock since the lock may not be constructed yet.
2003-04-18 20:17:05 +00:00
John Baldwin
ee6c1d2ed2
Hold the proc lock for curproc around sigonstack().
2003-04-18 20:09:04 +00:00
Robert Watson
2d3db0b823
Update NAI copyright to 2003, missed in earlier commits and merges.
2003-04-18 19:57:37 +00:00
Poul-Henning Kamp
2c60b6689a
First scrub of s/disklabel/bsdlabel/
...
bsdlabel.5 deliberately exempted, its contents looks less than useful.
2003-04-18 19:44:12 +00:00
Bruce Evans
f029471dbe
Backed out rev.1.57. This restores format checking functions like
...
err() again. All known err() format errors in src that developed
while format checking was broken have been fixed. Tested on i386,
alpha, ia64.
2003-04-18 18:59:34 +00:00
Julian Elischer
05f44fb980
Revert parts of 1.309 to allow processes to have a signal mask
...
independently from the threads again.
Will be adding code to use this soon..
2003-04-18 18:51:52 +00:00