summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make consistent with style(msmith). 4 spaces indent, tab for each 2 indents.njl2007-03-284-7/+7
|
* o Trim unneeded backslash.maxim2007-03-281-1/+1
|
* o Actually add MLINKs for priv(9) functions.maxim2007-03-281-2/+2
|
* Update the IMPLEMENTATION NOTES section to reflect recent mallocjasone2007-03-281-13/+30
| | | | enhancements.
* Remove some stray roff formatting that caused incorrect rendering.jasone2007-03-281-1/+0
|
* Add a HISTORY section.jasone2007-03-281-0/+5
|
* Resolve conflicts.delphij2007-03-282-30/+27
|
* This commit was generated by cvs2svn to compensate for changes in r167961,delphij2007-03-281-2/+3
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import netcat as of today's OPENBSD_4_1 snapshot.delphij2007-03-283-30/+29
| |
* | Remove stale comment about not enabling inpcb and inpcbinfo lock assertionsrwatson2007-03-281-5/+0
| | | | | | | | | | | | when IPv6 is enabled. MFC after: 3 days
* | New release notes:brueffer2007-03-271-8/+32
| | | | | | | | | | | | | | | | | | | | | | - priv(9) KPI added - ipw/iwi firmware in the base system Updated release notes: - OpenSSL updated to 0.9.8e - GNOME updated to 2.8.0 - acpi_dock(4) and acpi_hpet MFC - msk(4) MFC
* | Clarify the definition of the watchdog kernel interface by moving a sentence upn_hibma2007-03-271-8/+6
| | | | | | | | to the sentence it references.
* | Add MLINKs for priv(9) functions.brueffer2007-03-271-0/+2
| |
* | Revisit the watchdogs: Resetting the error to EINVAL after failing to set then_hibma2007-03-279-21/+15
| | | | | | | | | | | | | | | | watchdog might hide the succesful arming of an earlier one. Accept that on failing to arm any watchdog (because of non-supported timeouts) EOPNOTSUPP is returned instead of the more appropriate EINVAL. MFC after: 3 days
* | Fix regression in rev. 1.140.glebius2007-03-271-6/+7
| | | | | | | | Reported by: Yuriy Tsibizov <Yuriy.Tsibizov gfk.ru>, bsam
* | Sort.jhb2007-03-271-1/+1
| |
* | Don't assume the run bit is still set after a suspend.julian2007-03-271-0/+1
| | | | | | | | | | Submitted by: Andrea Bittau ( adotbittauatcsdotucldotacdotuk) MFC After: 1 week
* | Correct HPET header handling.takawata2007-03-272-3/+3
| | | | | | | | MFC after: 7 days
* | Align 'struct thread' on 16 byte boundaries so that the lower 4 bits arejhb2007-03-272-2/+2
| | | | | | | | | | | | | | | | | | | | always 0. Previously we aligned threads on a minimum of 8-byte boundaries. Note: This changes the uma zone to no longer cache align threads. We really want the uma zone to do align threads to MAX(16, cache line size) but there currently isn't a good way to express that to uma. Submitted by: attilio
* | Fix a case where hardware removal of an interface caused an attempt tobms2007-03-272-5/+13
| | | | | | | | | | | | announce an ll_ifma which has gone away. Add a KASSERT to catch regressions. Bug found by: Tom Uffner
* | Fix a bug which could lead to receive side lockup when WC is disabled.gallatin2007-03-271-0/+1
| | | | | | | | | | | | | | When submitting rx buffers and not using WC fifo, always replace the invalid DMA address with the real one, otherwise allocation failures could lead to the invalid DMA address being given to the NIC, and that would cause the receive side to lockup.
* | Fix a comment grammar nit.jhb2007-03-271-1/+1
| |
* | In account management, verify whether the account has been lockedyar2007-03-272-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with `pw lock', so that it's impossible to log into a locked account using an alternative authentication mechanism, such as an ssh key. This change affects only accounts locked with pw(8), i.e., having a `*LOCKED*' prefix in their password hash field, so people still can use a different pattern to disable password authentication only. Mention all account management criteria in the manpage. Approved by: maintainer (timeout) PR: bin/71147 MFC after: 1 month
* | Prevent a race between vm_object_collapse() and vm_object_split() fromalc2007-03-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | causing a crash. Suppose that we have two objects, obj and backing_obj, where backing_obj is obj's backing object. Further, suppose that backing_obj has a reference count of two. One being the reference held by obj and the other by a map entry. Now, suppose that the map entry is deallocated and its reference removed by vm_object_deallocate(). vm_object_deallocate() recognizes that the only remaining reference is from a shadow object, obj, and calls vm_object_collapse() on obj. vm_object_collapse() executes if (backing_object->ref_count == 1) { /* * If there is exactly one reference to the backing * object, we can collapse it into the parent. */ vm_object_backing_scan(object, OBSC_COLLAPSE_WAIT); vm_object_backing_scan(OBSC_COLLAPSE_WAIT) executes if (op & OBSC_COLLAPSE_WAIT) { vm_object_set_flag(backing_object, OBJ_DEAD); } Finally, suppose that either vm_object_backing_scan() or vm_object_collapse() sleeps releasing its locks. At this instant, another thread executes vm_object_split(). It crashes in vm_object_reference_locked() on the assertion that the object is not dead. If, however, assertions are not enabled, it crashes much later, after the object has been recycled, in vm_object_deallocate() because the shadow count and shadow list are inconsistent. Reviewed by: tegge Reported by: jhb MFC after: 1 week
* | Don't map mini-data cache page since ARM920T doesn't have it.kevlo2007-03-271-5/+0
| |
* | PowerPC is the only architecture with mpsafe_vfs=0. This is nowmarcel2007-03-271-4/+0
| | | | | | | | | | broken. Rudimentary tests show that PowerPC can run with mpsafe_vfs=1. Make it so...
* | Describe the contents of the "ar_name" and "ar_rawname" fields ofjkoshy2007-03-271-6/+6
| | | | | | | | Elf_Arhdr structures better.
* | Bug fixes to ar(1) archive handling:jkoshy2007-03-271-13/+31
| | | | | | | | | | | | | | | | | | - Correctly retrieve the initial (special) members of an archive after an archive descriptor is rewound using elf_rand(SARMAG). - Do not strip trailing white space from the 'raw' names retrieved using elf_getarhdr(). Reported by: "Hyo geol, Lee" <hyogeollee at gmail dot com>
* | Introduce the new option -M to allow to set the permissions ofle2007-03-263-8/+31
| | | | | | | | | | | | | | | | the user's newly created home directory. If omitted, it's derived from the current umask. PR: bin/16880, bin/83253 (partially), bin/104248 MFC in: 1 month
* | - Use '*h' instead of 'struct acpi_spinlock' for sizeof[1].jkim2007-03-261-2/+2
| | | | | | | | | | | | | | - Add a missing 'else' for 'if'[2]. Requested by: njl[1] Submitted by: njl[2]
* | Check if the new user already exists right after entering thele2007-03-261-2/+8
| | | | | | | | username instead of watching the final call to pw(8) fail.
* | Annotate that this giant acqusition is dependent on tty locking.kris2007-03-261-2/+2
| |
* | Correct ACPI semaphore function parameters.jkim2007-03-261-4/+4
| |
* | Fix setting of serial port speed. A junk value was passed in AX whenthomas2007-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | bioscom is called to set up serial port parameters because COMSPEED was treated as an address instead of an immediate value, causing serial port parameters to never be set. PR: i386/110828 Reviewed by: jhb MFC after: 2 weeks
* | make_dev(9) can be (and is) called without Giant, so there is no need tokris2007-03-261-8/+0
| | | | | | | | | | | | drop the topology lock and acquire Giant around this call. Reviewed by: phk
* | Remove unnecessary giant acquisition around panic in #ifdef DIAGNOSTICkris2007-03-262-4/+0
| | | | | | | | | | | | | | | | | | | | code. # There is some question about whether this code is even relevant any # longer (it dates back to prehistoric times, i.e. present in r1.1), # especially on amd64. Reviewed by: jhb
* | Free the handle, not the lock. Pointy hat to me.jkim2007-03-261-1/+1
| |
* | Correct ACPI spinlock function parameters and use known ACPI spinlock names.jkim2007-03-261-20/+25
| |
* | Change the VPD code to read the VPD data on-demand when a driver asks forjhb2007-03-262-30/+14
| | | | | | | | | | | | | | | | | | | | | | | | it via pci_get_vpd_*() rather than always reading it for each device during boot. I've left the tunable so that it can still be turned off if a device driver causes a lockup via a query to a broken device, but devices whose drivers do not use VPD (the vast majority) should no longer result in lockups during boot, and most folks should not need to tweak the tunable now. Tested on: bge(4) Silence from: jmg
* | Use a unique name for each mutex now that acpi-ca is creating more thannjl2007-03-261-2/+11
| | | | | | | | | | | | | | | | one (hardware & global lock). This should address witness complaints that a duplicate mutex is being acquired. Be sure to free the mutex to fix a potential memory leak. MFC after: 3 days
* | o Update a comment: sonewconn() lives in uipc_socket.c now.maxim2007-03-261-1/+1
| |
* | Bump FreeBSD version for inclusion of CPU frequency change notifiers.njl2007-03-261-1/+1
| |
* | Add an interface for drivers to be notified of changes to CPU frequency.njl2007-03-2610-48/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cpufreq_pre_change is called before the change, giving each driver a chance to revoke the change. cpufreq_post_change provides the results of the change (success or failure). cpufreq_levels_changed gives the unit number of the cpufreq device whose number of available levels has changed. Hook in all the drivers I could find that needed it. * TSC: update TSC frequency value. When the available levels change, take the highest possible level and notify the timecounter set_cputicker() of that freq. This gets rid of the "calcru: runtime went backwards" messages. * identcpu: updates the sysctl hw.clockrate value * Profiling: if profiling is active when the clock changes, let the user know the results may be inaccurate. Reviewed by: bde, phk MFC after: 1 month
* | Avoid manipulating semu_list outside of the scope of SEMUNDO_LOCK(). Thisemaste2007-03-261-2/+5
| | | | | | | | | | | | would lead to an occasional hang with a cycle in semu_list. X-Discussed-On: hackers@
* | Clarify memory management rules for pmc_cpuinfo().jkoshy2007-03-261-1/+4
| | | | | | | | Suggested by: "Harald Servat" <redcrash at gmail dot com>
* | Following movement of functions from uipc_socket2.c to uipc_socket.c andrwatson2007-03-262-40/+39
| | | | | | | | uipc_sockbuf.c, clean up and update comments.
* | Document the return type of elf_rand(3) correctly.jkoshy2007-03-261-1/+1
| |
* | Fix a silly bogon that broke ibcs2_rename().jhb2007-03-261-1/+1
| | | | | | | | | | | | CID: 1065 Found by: Coverity Prevent (tm) Reported by: netchild
* | Initialize vfslocked to 0 before nfsm_srvmtofh() so that the variable isjhb2007-03-261-0/+1
| | | | | | | | | | | | | | | | not used uninitialized in 'nfsmout' if nfsm_srvmtofh() gets an internal error. CID: 1766 Found by: Coverity Prevent (tm)
* | - Fix typogabor2007-03-261-1/+1
| | | | | | | | | | | | | | PR: bin/110648 Submitted by: Seth Hieronymus <shieronymus@speakeasy.net> Approved by: keramida (mentor) MFC after: 3 days
OpenPOWER on IntegriCloud