summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed indentation for LINKTYPE_ENCvanhu2009-03-241-1/+1
| | | | Approved by: gnn(mentor)
* Revert unintended part of r190375.marius2009-03-241-1/+0
|
* Given that zfs.ko depends on opensolaris.ko also build the latter bymarius2009-03-241-0/+4
| | | | default on sparc64.
* As with ZFS use real atomic operations for sparc64.marius2009-03-241-1/+1
|
* Bump __FreeBSD_version to reflect tcpdump 4.0.0 and libpcap 1.0.0rpaulo2009-03-241-1/+1
| | | | import.
* MFV of tzdata2009d:edwin2009-03-243-7/+148
| | | | | | | | | - Morocco will observe DST from 2009-06-01 00:00 to 2009-08-21 00:00 - Tunisia will not observe DST this year. - Syria will start DST on 2009-03-27 00:00 this year - the Province of San Luis will go to utc-04:00 MFC after: 1 week
* set NULL after free to avoid duplicate free.weongyo2009-03-241-1/+3
| | | | Tested by: Ganbold <ganbold_at_micom.mng.net>
* Don't call m_freem() after ip_output(), as it always consumesbms2009-03-241-1/+0
| | | | | | the mbuf chain provided to it. Found by: Pierre Guinoiseau
* fix build w/ AH_DEBUGsam2009-03-241-29/+0
|
* Remove gratuitous unlock in error case.jmallett2009-03-241-1/+0
| | | | Reviewed by: sam
* Save errno before calling _close(), which may clear it.delphij2009-03-231-2/+4
| | | | Obtained from: OpenBSD
* use more proper format string.delphij2009-03-232-11/+11
| | | | Obtained from: NetBSD via OpenBSD
* - Clean up suspend/resume code for amd64.jkim2009-03-234-31/+29
| | | | | | | | - Call acpi_resync_clock() to reset system time before hardclock is ready to tick. Note we assume the current timecounter hardware and RTC are already available for read operation. Tested by: mav
* Add a function to reset system time after resuming, which will be usedjkim2009-03-232-4/+22
| | | | | by amd64 shortly. It can be turned off by setting "debug.acpi.reset_clock" tunable to zero.
* Check whether devd is running before calling resume notifier andjkim2009-03-231-19/+34
| | | | reshuffle code to reduce unnecessary locking coverage.
* Clean up MI inittodr(9) and kill noop code.jkim2009-03-231-21/+13
| | | | | | | | | | It was derived from i386 version long ago but never resync'ed again. Originally, i386 version compared the current time from realtime clock with time_second (which was just `time' in the old days). When this MI version was written, it was wrongly compared against `base' AND never used because of a bug (typo?) in the code. This check was killed in i386 version when home-rolled calendaric calculation was removed. Now, we just remove the code here as well to make the code simpler.
* Improve the description of a few sysctls.jhb2009-03-232-12/+13
| | | | | Submitted by: bde (partially) MFC after: 3 days
* Minor updates to the Chelsio driver, including removing an LOR.gnn2009-03-232-10/+15
| | | | | | Submitted by: Navdeep Parhar at Chelsio Reviewed by: gnn MFC after: 3 weeks
* Reenable 64-bit DMA for twa(4) controllers, but use a boundary of 4GB tojhb2009-03-233-7/+13
| | | | | | | | | prevent individual transactions from crossing a 4GB address boundary. Due to bus_size_t type limitations, the driver uses a 2GB boundary in PAE kernels. Reviewed by: scottl MFC after: 1 week
* Fix order of debug printf items, addr and config# were swapped.thompsa2009-03-231-1/+1
|
* Release driver lock at the end of the watchdog routine instead of trying tojhb2009-03-231-1/+1
| | | | | | | acquire it again. Submitted by: bland MFC after: 3 days
* Support for a new environment variable, LD_ELF_HINTS_PATH for overridingdelphij2009-03-232-3/+15
| | | | | | | | | | | the rtld hints file. This environment variable would be unset if the process is considered as tainted with setuid/setgid. This feature gives a convenient way of using a custom set of shared library that is not located in the default location and switch back. Feature requested by: iXsystems Original patch by: John Hixson MFC after: 2 weeks
* Fixed comments so it stays in 80 chars by linevanhu2009-03-231-5/+9
| | | | | | with hard tabs of 8 chars.... Approved by: gnn(mentor)
* Don't tempt svn to expand the example $FreeBSD stringsdougb2009-03-232-4/+4
|
* - Ensure that INTx isn't disabled, as these chips apparently have amarius2009-03-232-4/+8
| | | | | | quirk requiring it to be enabled even when using MSI. This makes the latter work again after r189285. - Remove a comment which no longer applies since r190194.
* Save (empty) worklist at successful completionphk2009-03-231-0/+1
|
* Togging ALLMULTI does not require controller reset so have Rxyongari2009-03-231-42/+16
| | | | | | | | filtering handle this. Introduce a new function msk_rxfilter that handles Rx filter configuration and multicast setup as well as promiscuous mode. This simplifies code a lot. Promiscuous mode always have preference to any other Rx filtering so don't disable the mode when ALLMULTI is set.
* Do not pass uninitialized data buffer to devctl_queue_data function.kan2009-03-231-26/+25
| | | | This was botched in revision 190191.
* Add safety check that does not allow empty strings to be queuedkan2009-03-231-0/+6
| | | | | | | | to the devctl notification queue. Empty strings cause devctl read call to return 0 and result in devd exiting prematurely. The actual offender (ugen notes for root hubs) will be fixed by separate commit.
* Add the URL for RFC2142gshapiro2009-03-231-0/+1
| | | | PR: conf/127510
* Fix inversed logic. pci_find_extcap() returns 0 when it findsyongari2009-03-231-1/+1
| | | | specified capability.
* Correctly sanity-check timer IDs. [SA-09:06]cperciva2009-03-232-4/+9
| | | | | | | | | | Limit the size of malloced buffer when dumping environment variables. [EN-09:01] Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-09:06.ktimer Errata: FreeBSD-EN-09:01.kenv
* Test the r190298 change.stefanf2009-03-222-0/+2
|
* Fix the behaviour of the read built-in when IFS is unset.stefanf2009-03-221-1/+1
| | | | Obtained from: NetBSD
* Add a few tests for the read built-in.stefanf2009-03-222-0/+44
|
* Improve the IFS handling of the read built-in.stefanf2009-03-221-10/+68
| | | | | Obtained from: NetBSD Submitted by: Jilles Tjoelker
* Add dtnfsclient, a first cut at an NFSv2/v3 client reuest DTracerwatson2009-03-226-0/+445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | provider. The NFS client exposes 'start' and 'done' probes for NFSv2 and NFSv3 RPCs when using the new RPC implementation, passing in the vnode, mbuf chain, credential, and NFSv2 or NFSv3 procedure number. For 'done' probes, the error number is also available. Probes are named in the following way: ... nfsclient:nfs2:write:start nfsclient:nfs2:write:done ... nfsclient:nfs3:access:start nfsclient:nfs3:access:done ... Access to the unmarshalled arguments is not easily available at this point in the stack, but the passed probe arguments are sufficient to to a lot of interesting things in practice. Technically, these probes may cover multiple RPC retransmits, and even transactions if the transaction ID change as a result of authentication failure or a jukebox error from the server, but usefully capture the intent of a single NFS request, such as access, getattr, write, etc. Typical use might involve profiling RPC latency by system call, number of RPCs, how often a getattr leads to a call to access, when failed access control checks occur, etc. More detailed RPC information might best be provided by adding a krpc provider. It would also be useful to add NFS client probes for events such as the access cache or attribute cache satisfying requests without an RPC. Sponsored by: Google, Inc. MFC after: 1 month
* Update test for r190284.stefanf2009-03-222-1/+3
|
* - Apply the r190270 changes to printing of single aliases too.stefanf2009-03-221-23/+48
| | | | - Sort the aliases before printing them.
* Correct the documentation to reflect the fact that BUS_DMA_NOCACHE is arnoland2009-03-221-9/+9
| | | | | | | flag to bus_dmamem_alloc() rather than bus_dmamap_load(); Discussed with: kib MFC after: 3 days
* Fix up the flags to bus_dmamem again. The man page incorrectly showedrnoland2009-03-222-10/+9
| | | | | | | the BUS_DMA_NOCACHE flags as being a valid flag for load instead of alloc. Discussed with: kib MFC after: 3 days
* Update stale comments. The alternate address space mapping was eliminatedalc2009-03-222-9/+2
| | | | when PAE support was added to i386. The direct mapping exists on amd64.
* Update and extend the tests for alias.stefanf2009-03-222-1/+5
|
* Make the output of the alias built-in POSIX-compliant: Drop the leading 'alias'stefanf2009-03-221-1/+6
| | | | and suppress printing the trailing space which is added for internal purposes.
* Set the endpoint on the preallocated fifo so it doesnt get matched as anthompsa2009-03-221-0/+2
| | | | | | endpoint fifo. Reported by: Pieter de Goeje
* 7.2 will be the first release where strndup() appears.kib2009-03-221-1/+1
| | | | | Submitted by: Florian Smeets <flo kasimir com> MFC after: 3 days
* Bump __FreeBSD_version for dynamic token string support added in ld.so.kib2009-03-221-1/+1
| | | | Requested by: maho
* Fix several issues with parsing the notes for ELF objects.kib2009-03-221-5/+5
| | | | | | | | | | | | | | | | | | | Badly formed ELF note may cause the caclulated pointer to the next note to point both after the note region, that was checked in the code, but also to point before the region, that was not checked [1]. Remember the first note location in note0 and leap out if the note is not between note0 and note_end. In the similar way, badly formed note may cause infinite loop by pointing next note into the same or previous note. Guard against this by limiting amount of loop iterations by arbitrary choosen big number. For clarity, check the calculated note alignment in each iteration. Reported by: Chris Palmer <chris noncombatant org> [1] PR: kern/132886 Reviewed and tested by: dchagin MFC after: 3 days
* NO_INQUIRY is wrong for this device. Alternatively, if it is right,imp2009-03-221-1/+1
| | | | | | | it is right for only a tiny fraction of these devices and this wild-card entry is too broad. # I run a kernel without this entry at all without ill effects...
* In general, the kernel virtual address of the pml4 page table page that isalc2009-03-223-4/+10
| | | | | | | | stored in the pmap is from the direct map region. The two exceptions have been the kernel pmap and the swapper's pmap. These pmaps have used a kernel virtual address established by pmap_bootstrap() for their shared pml4 page table page. However, there is no reason not to use the direct map for these pmaps as well.
OpenPOWER on IntegriCloud