summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo in the !__GNUC__ case and remove an obsolete comment.das2004-02-161-3/+1
|
* Fix some aliasing problems.das2004-02-166-52/+94
|
* Since DEVFS is mandatory, remove all instances to make_dev*. Keep thele2004-02-164-228/+3
| | | | | | | | "makedev" command for backwards compatibility, but just print out an informational message (this was the current behaviour, anyway) and remove it from the documentation. Approved by: grog (mentor)
* - Clean up global data.simokawa2004-02-163-38/+58
| | | | | | - Force dcons to be the high-level console after dcons_crom has been attached. - Add a tunable to be the high-level console.
* Correct a long-standing race condition in vm_contig_launder() that couldalc2004-02-161-0/+2
| | | | | | | | | result in a panic "vm_page_cache: caching a dirty page, ...": Access to the page must be restricted or removed before calling vm_page_cache(). This race condition is identical in nature to that which was addressed by vm_pageout.c's revision 1.251 and vm_page.c's revision 1.275. MFC after: 7 days
* More cleanups/fixes for the AMD Am1771 driver:wpaul2004-02-163-22/+80
| | | | | | | | | | | | | | | | | | | | | - When adding new waiting threads to the waitlist for an object, use INSERT_LIST_TAIL() instead of INSERT_LIST_HEAD() so that new waiters go at the end of the list instead of the beginning. When we wake up a synchronization object, only the first waiter is awakened, and this needs to be the first thread that actually waited on the object. - Correct missing semicolon in INSERT_LIST_TAIL() macro. - Implement lookaside lists correctly. Note that the Am1771 driver uses lookaside lists to manage shared memory (i.e. DMAable) buffers by specifying its own alloc and free routines. The Microsoft documentation says you should avoid doing this, but apparently this did not deter the developers at AMD from doing it anyway. With these changes (which are the result of two straight days of almost non-stop debugging), I think I finally have the object/thread handling semantics implemented correctly. The Am1771 driver no longer crashes unexpectedly during association or bringing the interface up.
* Fix some WARNS:dwmalone2004-02-153-8/+7
| | | | | | 1) Remove some unused variables. 2) Mark some things aas static or __unused. 3) Cast to make sure we're comparing the same types.
* Remove an unused variable.dwmalone2004-02-151-1/+0
|
* Fix a few WARNS:dwmalone2004-02-151-6/+6
| | | | | | | 1) Include string.h for strcpy. 2) Don't make duplicate declaration of dump_file, we now include extern.h. 3) Help out with some constness. 4) Cast to slightly better types in some comparisons.
* Include timeconv.h for _int_to_time and _time_to_int.dwmalone2004-02-151-0/+1
|
* White-space align a struct definition.phk2004-02-153-37/+27
| | | | Move a SYSINIT to the file where it belongs.
* Abstract dirhash's locking using macros. This should make it easier todwmalone2004-02-151-69/+75
| | | | | | | | use the same dirhash code on different branches/platforms. Reviewed by: Ted Unangst <tedu@zeitbombe.org> Reviewed by: iedowse MFC after: 3 weeks
* Return EACCES rather than ENOBUFS if ipfw blocks a packet on thedwmalone2004-02-151-1/+1
| | | | | | | | | way out at layer 2. PR: 62385 Submitted by: Oleg Bulyzhin <oleg@rinet.ru> Approved by: luigi MFC after: 1 week
* In fdcheckstd the descriptor table should never be shared, so justdwmalone2004-02-151-9/+7
| | | | | KASSERT this rather than trying to deal with what happens when file descriptors change out from under us.
* Workaround some ACPI BIOSen which break the IO port into multiplenjl2004-02-152-2/+70
| | | | | | | | | | | | | resources. (Note that the correct range is 0x3f7,0x3f0-0x3f5.) Such devices will be detected as follows: fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0 To do this, we find the minimum and maximum start addresses for the resources and use them as the base for the IO and control ports. Help from: jhb
* Fixed style bugs near previous commit (mainly formatting errors andbde2004-02-151-16/+13
| | | | | | missing parentheses). Use default handling (trap to debugger) for udev2dev(x, 1) since it is an error and doesn't happen anywhere in the sys tree except in bogusly commented out code in coda.
* Attempt #2 to fix script(1) if the standard input is closed: If wecperciva2004-02-151-1/+3
| | | | | | | | | | | | | | | | read EOF from STDIN_FILENO, write zero bytes into the pseudo-terminal; this is interpreted as an EOF by the program being scripted. I've tested this with two non-interactive scripts: # echo 5 | script foo sh -c 'read x; sleep $x; echo bar' # echo bar | xargs script foo echo and one interactive program: # script foo more /etc/passwd and everything seems to work properly... PR: bin/56166, bin/57414, ports/57415, ports/60534 Approved by: rwatson (mentor) MFC after: 2 weeks
* Remove opv_desc_vector from vfs_add_vnodeops, since it is definedcperciva2004-02-151-2/+0
| | | | | | | | and given a value, but never used. This has no effect on the resulting binaries, since gcc optimizes the variable away anyway. PR: kern/62684 Approved by: rwatson (mentor)
* Split the initialization of the cdevsw into a separate function.phk2004-02-151-7/+14
|
* This is not a D_TTY driver.phk2004-02-152-2/+0
|
* Add -d flag to monitor BIO_DELETE operations toophk2004-02-152-4/+27
|
* Fixed misspellings of "ext2_*" as "ufs_*" and " "ext2fs_*", and ofbde2004-02-152-14/+12
| | | | | "independent" as "dependent" Fixed some other relatively minor wording and formatting errors.
* Removed support for the unsupported option READONLY. It just forcedbde2004-02-152-8/+0
| | | | dishonoring of requests for read-write mounts.
* Support mounting ext2fs file systems with -async to the small extentbde2004-02-151-0/+1
| | | | | | | that ext2fs in the kernel supports async mounts. ext2fs used to effectively force the -async flag on. -async for ext2fs only gives async (more precisely, delayed) writes for inode updates, so it is barely worth using even when it is safe.
* Remove excess brackets.rwatson2004-02-151-3/+2
|
* Correct a long-standing race condition in vm_fault() that could result in aalc2004-02-151-3/+1
| | | | | | | | | | panic "vm_page_cache: caching a dirty page, ...": Access to the page must be restricted or removed before calling vm_page_cache(). This race condition is identical in nature to that which was addressed by vm_pageout.c's revision 1.251 and vm_page.c's revision 1.275. Reviewed by: tegge MFC after: 7 days
* mdoc(7) janitor:simon2004-02-151-18/+32
| | | | | | - Fix hard sentence breaks. - Quote argument to the Nd macro. - Use Pa for filenames.
* Remove the static major assignment for iir(4).scottl2004-02-143-7/+1
| | | | Submitted by: phk (partially)
* Remove the static major assignment for ips(4).scottl2004-02-142-3/+0
| | | | Submitted by: phk, inspired by others.
* Remove the reservation for the I2O device. The code never materialized, andscottl2004-02-141-1/+0
| | | | if it does in the future, it won't need a static major.
* Spell tcp_signature_compute correctly.bms2004-02-141-1/+1
|
* Add a release note for the sendmail 8.12.11 importgshapiro2004-02-142-0/+6
|
* Update for 8.12.11 importgshapiro2004-02-141-4/+4
| | | | MFC after: 7 days
* Fix sendmail 8.12.11 import conflictsgshapiro2004-02-146-19/+63
|
* This commit was generated by cvs2svn to compensate for changes in r125820,gshapiro2004-02-1440-224/+634
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import sendmail 8.12.11gshapiro2004-02-1446-244/+699
| |
* | Final brucification pass. Spell types consistently (u_int). Remove bogusbms2004-02-143-3/+3
| | | | | | | | | | | | casts. Remove unnecessary parenthesis. Submitted by: bde
* | Adding missing cx (cronyx/Sigma) entry.rik2004-02-141-0/+2
| | | | | | | | Approved by: imp (mentor)
* | Fixing copyright and adding vendor cvs id.rik2004-02-141-1/+2
| | | | | | | | Approved by: imp (mentor)
* | For previous commitrik2004-02-140-0/+0
| | | | | | | | Approved by: imp (mentor)
* | Fix a problem with the way we schedule work on the NDIS worker threads.wpaul2004-02-142-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Am1771 driver will sometimes do the following: - Some thread-> NdisScheduleWorkItem(some work) - Worker thread -> do some work, KeWaitForSingleObject(some event) - Some other thread -> NdisScheduleWorkItem(some other work) When the second call to NdisScheduleWorkItem() occurs, the NDIS worker thread (in our case ndis taskqueue) is suspended in KeWaitForSingleObject() and waiting for an event to be signaled. This is different from when the worker thread is idle and waiting on NdisScheduleWorkItem() to send it more jobs. However, the ndis_sched() function in kern_ndis.c always calls kthread_resume() when queueing a new job. Normally this would be ok, but here this causes KeWaitForSingleObject() to return prematurely, which is not what we want. To fix this, the NDIS threads created by kern_ndis.c maintain a state variable to indicate whether they are running (scanning the job list and executing jobs) or sleeping (blocked on kthread_suspend() in ndis_runq()), and ndis_sched() will only call kthread_resume() if the thread is in the sleeping state. Note that we can't just check to see if the thread is on the run queue: in both cases, the thread is sleeping, but it's sleeping for different reasons. This stops the Am1771 driver from emitting various "NDIS ERROR" messages and fixes some cases where it crashes.
* | Fixing memory deallocationrik2004-02-141-13/+25
| |
* | Use consistent style for cdevsw initializationphk2004-02-141-5/+5
| |
* | Use standard style for cdevsw initialization.phk2004-02-142-7/+7
| |
* | Use standard style for cdevsw initializtionphk2004-02-141-9/+9
| |
* | Use same style for cdevsw as the rest of our drivers.phk2004-02-141-5/+5
| |
* | This is not a D_TTY driver.phk2004-02-141-1/+1
| |
* | By default, don't allow processes in a jail to list the set ofrwatson2004-02-141-0/+7
| | | | | | | | | | jails in the system. Previous behavior (allowed) may be restored by setting security.jail.list_allowed=1.
* | Fix mismerge in last commit: check that cred->cr_prison is NULLrwatson2004-02-141-1/+1
| | | | | | | | before dereferencing the prison pointer.
* | By default, when a process in jail calls getfsstat(), only return therwatson2004-02-144-0/+39
| | | | | | | | | | | | | | | | data for the file system on which the jail's root vnode is located. Previous behavior (show data for all mountpoints) can be restored by setting security.jail.getfsstatroot_only to 0. Note: this also has the effect of hiding other mounts inside a jail, such as /dev, /tmp, and /proc, but errs on the side of leaking less information.
OpenPOWER on IntegriCloud