summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move va_end() updes2008-10-211-1/+1
|
* At some point, construct_utmp() was changed to use realhostname() to filldes2008-10-212-4/+4
| | | | | | | | | | | | in the struct utmp due to concerns about the length of the hostname buffer. However, this breaks the UseDNS option. There is a simpler and better solution: initialize utmp_len to the correct value (UT_HOSTSIZE instead of MAXHOSTNAMELEN) and let get_remote_name_or_ip() worry about the size of the buffer. PR: bin/97499 Submitted by: Bruce Cran <bruce@cran.org.uk> MFC after: 1 week
* Change vn_start_write() to clear *mpp on all failures when non-NULL vpkib2008-10-211-1/+10
| | | | | | | | is supplied, since vm_pageout_scan() expects it to be cleared on error. Submitted by: tegge PR: 123768 MFC after: 1 week
* Hook in ipi handlerskmacy2008-10-211-20/+18
|
* remove gratuitous XEN definekmacy2008-10-211-8/+0
|
* don't globally define ipi_bitmap_handler on xenkmacy2008-10-212-1/+4
|
* Implement infrastructure for gluing i386 ipi functions in to xen's ↵kmacy2008-10-212-29/+151
| | | | infrastructure
* Add routine for initializing AP clockkmacy2008-10-211-16/+17
|
* Header cleanups and addition of IPI declarations for xenkmacy2008-10-216-32/+40
|
* If we don't know the file size, leave the file size unset.kientzle2008-10-213-14/+28
| | | | | | | | | | | | If it's not a regular file, don't return any data, even if the size is unknown. Update the Zip test with a hand-tweaked Zip archive that has a directory (with length-at-end set), a regular file without length-at-end set, and a regular file with length-at-end set and a bad CRC. Update the test code to verify that the file size is unset for the regular file with length-at-end. MFC after: 7 days
* Fix 'kern.timeconter.invariant_tsc' tunable and back out a redundant hack.jkim2008-10-211-4/+4
| | | | Somehow incomplete version was committed. :-(
* Remove unused age_txdqkevlo2008-10-211-2/+0
|
* No need to sync descriptors twice in age_rxintr()kevlo2008-10-211-6/+0
|
* Do not use PowerNow! if FID or VID is missing.jkim2008-10-211-1/+1
|
* Use power management information for AMD CPUs from identcpu.c.jkim2008-10-211-17/+1
|
* Turn off CPU frequency change notifiers when the TSC is P-state invariantjkim2008-10-219-18/+68
| | | | | or it is forced by setting 'kern.timecounter.invariant_tsc' tunable to non-zero.
* Detect Advanced Power Management Information for AMD CPUs.jkim2008-10-218-0/+38
|
* Reflect changes into vinvalbuf(9) prototype.attilio2008-10-201-7/+5
|
* Bump __FreeBSD_version in order to reflect prototipes changes for theseattilio2008-10-201-1/+1
| | | | | | | | | | following functions: - bufobj_invalbuf() - bufsync() - vinvalbuf() - g_vfs_close and virtual function BO_SYNC().
* In the actual code for witness_warn:attilio2008-10-201-19/+12
| | | | | | | | | | - If there aren't spinlocks held, but there are problems with old sleeplocks, they are not reported. - If the spinlock found is not the only one, problems are not reported. Fix these 2 problems. Reported by: tegge
* Update a comment which to my reading had been misplaced in rev. 1.12bz2008-10-201-2/+3
| | | | | | | | | already (but probably had been way above as the code was there twice) and describe what was last changed in rev. 1.199 there (which now is in sync with in6_src.c r184096). Pointed at by: mlaier MFC after: 2 mmonths
* Bring over the change switching from using sequential to randombz2008-10-202-47/+55
| | | | | | | | | | | ephemeral port allocation as implemented in netinet/in_pcb.c rev. 1.143 (initially from OpenBSD) and follow-up commits during the last four and a half years including rev. 1.157, 1.162 and 1.199. This now is relying on the same infrastructure as has been implemented in in_pcb.c since rev. 1.199. Reviewed by: silby, rpaulo, mlaier MFC after: 2 months
* Make HDA PCM device boot and sndstat messages more alike to PCI device ones.mav2008-10-201-5/+21
| | | | | Move codec # out of the device name as it is a device address and not part of device type name.
* Diff reduction against Varnish, including one important fix: use a shareddes2008-10-201-12/+12
| | | | lock if the file is opened with O_RDONLY.
* Reimplement flopen(3) using fcntl(2) locks instead of flock(2) locks.des2008-10-202-13/+16
|
* pidfile(3) uses flopen(3) - don't make any assumptions about how thedes2008-10-201-9/+8
| | | | latter is implemented.
* There is no point in releasing a lock on a file which we've unlinked anddes2008-10-201-4/+0
| | | | | are about to close, so don't. As a bonus, pidfile_remove(3) will now work with an fcntl(2)-based flopen(3).
* #ifdef out the lock-against-self test. I'm not sure it makes sense, anddes2008-10-201-0/+4
| | | | | | it relies on non-portable flock(2) semantics. Not only is flock(2) not portable, but on some OSes that do have it, it is implemented in terms of fcntl(2) locks, which are per-process rather than per-descriptor.
* Tune boot messages a bit.mav2008-10-201-4/+4
| | | | Use <> brackets only at device name line.
* Since in_lt() and in_lts() are not static, assume that they are intended todes2008-10-202-2/+22
| | | | be part of the public API. Accordingly, add prototypes and document them.
* Additional style and whitespace fixes.des2008-10-201-1/+3
|
* Style and whitespacedes2008-10-201-17/+17
|
* Unbreakdes2008-10-201-3/+3
|
* Since setclasscpumask() is not static, assume that it is intended to bedes2008-10-202-5/+10
| | | | part of the public API. Accordingly, add a prototype and document it.
* Style and whitespace.des2008-10-201-15/+19
|
* Parenthesize return values.des2008-10-201-11/+11
|
* include and whitespace cleanup.des2008-10-201-7/+8
|
* Assert that v_holdcnt is non-zero before entering lockmgr in vn_lockkib2008-10-202-0/+8
| | | | | | | | | and ffs_lock. This cannot catch situations where holdcnt is incremented not by curthread, but I think it is useful. Reviewed by: tegge, attilio Tested by: pho MFC after: 2 weeks
* In vfs_busy(), lockmgr() cannot legitimately sleep, because code checkedkib2008-10-201-1/+1
| | | | | | | | | | MNTK_UNMOUNT before, and mnt_mtx is used as interlock. vfs_busy() always tries to obtain a shared lock on mnt_lock, the other user is unmount who tries to drain it, setting MNTK_UNMOUNT before. Reviewed by: tegge, attilio Tested by: pho MFC after: 2 weeks
* Actually fix pty detection for autologout setting.ru2008-10-202-2/+2
| | | | (The fix has been submitted upstream.)
* Import interrupt management defines from latest xenlinuxkmacy2008-10-201-12/+28
|
* Add support for multiple attributes. This is required for themarcel2008-10-201-6/+13
| | | | PC98 scheme.
* The active and bootable flags are not part of the type.marcel2008-10-201-11/+82
| | | | | | | | | | Export the active and bootable flags as attributes in the configuration XML and allow them to be manipulated with the set/unset commands. Since libdisk treats the flags as part of the partition type, preserve behavior by keeping them included in the configuration text.
* In realtimer_delete(), clear timer's value and interval to telldavidxu2008-10-201-0/+8
| | | | | | | realtimer_expire() to not rearm the timer, otherwise there is a chance that a callout will be left there and be tiggered in future unexpectly. Bug reported by: tegge@
* fix static key wep; r183248 caused drivers to be called for keys to besam2008-10-191-1/+2
| | | | | assigned to slots in the global key table but ath_key_alloc was not updated to handle that
* Atomically increment the number of awoken APs as all APs willmarcel2008-10-191-1/+1
| | | | | | be unleashed here. Pointed out by: christian.kandeler@hob.de
* Remove trailing comma in SEE ALSO section.simon2008-10-191-1/+1
|
* Ktr(9) stores format string and arguments in the event circular buffer,kib2008-10-191-21/+25
| | | | | | | | | | | | not the string formatted at the time of CTRX() call. Stack_ktr(9) uses an on-stack buffer for the symbol name, that is supplied as an argument to ktr. As result, stack_ktr() traces show garbage or cause page faults. Fix stack_ktr() by using pointer to module symbol table that is supposed to have a longer lifetime. Tested by: pho MFC after: 1 week
* - License change to a less restrictive one;delphij2008-10-191-33/+16
| | | | | | | | - ANSIfy; - Convert do {} while loop -> while {} for clarity; - Sync RCS ID with OpenBSD; Obtained from: OpenBSD
* Correctly fill siginfo for the signals delivered by linux tkill/tgkill.kib2008-10-196-53/+132
| | | | | | | | | | | | | | | | | | | | | It is required for async cancellation to work. Fix PROC_LOCK leak in linux_tgkill when signal delivery attempt is made to not linux process. Do not call em_find(p, ...) with p unlocked. Move common code for linux_tkill() and linux_tgkill() into linux_do_tkill(). Change linux siginfo_t definition to match actual linux one. Extend uid fields to 4 bytes from 2. The extension does not change structure layout and is binary compatible with previous definition, because i386 is little endian, and each uid field has 2 byte padding after it. Reported by: Nicolas Joly <njoly pasteur fr> Submitted by: dchangin MFC after: 1 month
OpenPOWER on IntegriCloud