summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When copying file data to the archive, don't write morekientzle2009-02-081-1/+1
| | | | | | | | | than was read. This seems to have only affected the shar writer, since other formats proactively truncate output to the originally-advertised size. PR: bin/131244 MFC after: 7 days
* Don't try to directly update page tableskmacy2009-02-081-2/+5
|
* Remove no longer valid comment.kib2009-02-081-3/+0
| | | | Submitted by: alc
* The NRL value in the queue head must be zero for interrupt transfers. This wasthompsa2009-02-081-1/+3
| | | | | | diagnosed using a USB analyser obtained through a FreeBSD Foundation grant. Thanks to: FreeBSD Foundation
* Improve comments, correct English.kib2009-02-081-8/+8
| | | | Submitted by: alc
* Do not call vm_object_deallocate() from vm_map_delete(), because wekib2009-02-085-14/+52
| | | | | | | | | | hold the map lock there, and might need the vnode lock for OBJT_VNODE objects. Postpone object deallocation until caller of vm_map_delete() drops the map lock. Link the map entries to be freed into the freelist, that is released by the new helper function vm_map_entry_free_freelist(). Reviewed by: tegge, alc Tested by: pho
* In vm_map_sync(), do not call vm_object_sync() while holding map lock.kib2009-02-081-2/+10
| | | | | | | | Reference object, drop the map lock, and then call vm_object_sync(). The object sync might require vnode lock for OBJT_VNODE type objects. Reviewed by: tegge Tested by: pho
* fix typosam2009-02-081-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Do not sleep for vnode lock while holding map lock in vm_fault. Try tokib2009-02-083-97/+80
| | | | | | | | | | | | | | | acquire vnode lock for OBJT_VNODE object after map lock is dropped. Because we have the busy page(s) in the object, sleeping there would result in deadlock with vnode resize. Try to get lock without sleeping, and, if the attempt failed, drop the state, lock the vnode, and restart the fault handler from the start with already locked vnode. Because the vnode_pager_lock() function is inlined in vm_fault(), axe it. Based on suggestion by: alc Reviewed by: tegge, alc Tested by: pho
* Prefer the start and end attributes over the offset and sizemarcel2009-02-081-14/+31
| | | | | | attributes. The start and end more accurately describe the space taken by a partition. The offset and size are used to describe the effective (usable) storage of that partition.
* o Add the "PART::scheme" attribute that returns the name of themarcel2009-02-081-0/+7
| | | | | | | | | | | | | | | underlying partitioning scheme. o Put the start and end of the partition in the XML configuration. The start and end are the LBAs of the first and last sector (resp.) of the partition. They are currently identical to the offset and size attributes, which describe the partition as an offset and size in bytes, but may not in the future. The start and end will be used for the logical partition boundaries and may include metadata. The offset and size will always represent the useful storage space within the partition. Typically these two notions are the same, but for logical partitions in an extended partition, the EBR is more naturally treated as being part of the partition.
* o use humanize_number to print totalssam2009-02-083-43/+53
| | | | o shrink some fields now that we don't have to worry about overflow
* Add the comments to vm_map_simplify_entry() and vmspace_fork(),kib2009-02-081-0/+20
| | | | | | | describing why several calls to vm_deallocate_object() with locked map do not result in the acquisition of the vnode lock after map lock. Suggested and reviewed by: tegge
* Lock the new map in vmspace_fork(). The newly allocated map should notkib2009-02-081-0/+5
| | | | | | | | | | | be accessible outside vmspace_fork() yet, but locking it would satisfy the protocol of the vm_map_entry_link() and other functions called from vmspace_fork(). Use trylock that is supposedly cannot fail, to silence WITNESS warning of the nested acquisition of the sx lock with the same name. Suggested and reviewed by: tegge
* Assert that vnode is exclusively locked when its vm object is resized.kib2009-02-081-0/+1
| | | | Reviewed by: tegge
* Do not leak the MAP_ENTRY_IN_TRANSITION flag when copying map entrykib2009-02-081-2/+4
| | | | | | | on fork. Otherwise, copied entry cannot be removed in the child map. Reviewed by: tegge MFC after: 2 weeks
* Style.kib2009-02-081-0/+2
|
* Lookup up the directory entry for the tmpfs node that are deleted bykib2009-02-083-22/+10
| | | | | | | | | both node pointer and name component. This does the right thing for hardlinks to the same node in the same directory. Submitted by: Yoshihiro Ota <ota j email ne jp> PR: kern/131356 MFC after: 2 weeks
* Shutup warning for DNAME RR.ume2009-02-082-2/+3
| | | | | | PR: bin/127591 Submitted by: "Eugene M. Kim" <20080111.freebsd.org__at__ab.ote.we.lv> MFC after: 1 week
* Set the lower bound on queue size for an audit pipe to 1 instead of 0,rwatson2009-02-081-2/+2
| | | | | | | | as an audit pipe with a queue length of 0 is less useful. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. MFC after: 1 week
* Fix several filenames for "make clean" target.wkoszek2009-02-081-6/+6
|
* Change various routines that are responsible for transforming auditrwatson2009-02-082-8/+8
| | | | | | | | event IDs based on arguments to return au_event_t rather than int. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. MFC after: 1 week
* Audit AUE_MAC_EXECVE; currently just the standard AUE_EXECVE argumentsrwatson2009-02-081-0/+1
| | | | | | | | and not the label. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. MFC after: 1 week
* Audit the flag argument to the nfssvc(2) system call.rwatson2009-02-082-2/+10
| | | | | Obtained from: TrustedBSD Project Sponsored by: Apple, Inc.
* si(4) seems to build without a problem. However, since noone noticed lackwkoszek2009-02-081-0/+3
| | | | of this driver, put it in a comment.
* Further NOTES cleanup -- following drivers didn't survive TTY-ngwkoszek2009-02-081-35/+0
| | | | | | and aren't included in NOTES anyway: cy(4), rc(4), rp(4). si(4) doesn't belong to global NOTES.
* Add missing pcfclock description.wkoszek2009-02-081-0/+1
|
* Bring missing comments on EPSON_BOUNCEDMA and EPSON_MEMWIN flags.wkoszek2009-02-081-2/+5
| | | | Submitted by: nyan
* Try to remove/assimilate as much of formerly IPv4/6 specificbz2009-02-089-238/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (duplicate) code in sys/netipsec/ipsec.c and fold it into common, INET/6 independent functions. The file local functions ipsec4_setspidx_inpcb() and ipsec6_setspidx_inpcb() were 1:1 identical after the change in r186528. Rename to ipsec_setspidx_inpcb() and remove the duplicate. Public functions ipsec[46]_get_policy() were 1:1 identical. Remove one copy and merge in the factored out code from ipsec_get_policy() into the other. The public function left is now called ipsec_get_policy() and callers were adapted. Public functions ipsec[46]_set_policy() were 1:1 identical. Rename file local ipsec_set_policy() function to ipsec_set_policy_internal(). Remove one copy of the public functions, rename the other to ipsec_set_policy() and adapt callers. Public functions ipsec[46]_hdrsiz() were logically identical (ignoring one questionable assert in the v6 version). Rename the file local ipsec_hdrsiz() to ipsec_hdrsiz_internal(), the public function to ipsec_hdrsiz(), remove the duplicate copy and adapt the callers. The v6 version had been unused anyway. Cleanup comments. Public functions ipsec[46]_in_reject() were logically identical apart from statistics. Move the common code into a file local ipsec46_in_reject() leaving vimage+statistics in small AF specific wrapper functions. Note: unfortunately we already have a public ipsec_in_reject(). Reviewed by: sam Discussed with: rwatson (renaming to *_internal) MFC after: 26 days X-MFC: keep wrapper functions for public symbols?
* Fix language on atol(3) manpage. Add a COMPATIBILITY sectionkeramida2009-02-081-3/+32
| | | | | | | | | | stating that in FreeBSD the atol() and atoll() functions affect errno in the same way as strtol() and stroll(). PR: docs/126487 Submitted by: edwin Reviewed by: trhodes, gabor MFC after: 1 week
* Retire NO_DMA completely.imp2009-02-081-7/+0
|
* Fix g_part_*dumpconf to return void to match kobj definition.imp2009-02-082-10/+8
| | | | Fix g_part_*name to return a const char * rather than a char *.
* Companion for r188301: fix the prototypes.imp2009-02-081-4/+4
|
* Correct parameter types for pcib_{read,write}_config by fixing theimp2009-02-081-5/+5
| | | | protptyoes for the legacy_* impelemtnations of these kobj methods.
* Fix leak of kqueue() file descriptors when linked with staticdeischen2009-02-081-0/+1
| | | | | | | libc_r. PR: 58687 Submitted by: Jonathon Lennox <lennox at cs dot columbia dot edu>
* Silent LINT: add 2 stubs (update_crc32 and sctp_finalize_crc32) to fix ↵piso2009-02-081-0/+11
| | | | LIBALIAS + SCTP_NO_CSUM case.
* Fix LIBALIAS option for a static kernel.piso2009-02-081-0/+1
|
* Resort NOTES a bit to easily distinguish, which comments are actual andwkoszek2009-02-081-42/+71
| | | | | | refer to used options, and which comments are obseleted. Reviewed by: imp
* Make sure the comparison is done with an unsigned char.imp2009-02-071-1/+1
|
* Add SCTP NAT support.piso2009-02-0711-23/+3212
|\ | | | | | | Submitted by: CAIA (http://caia.swin.edu.au)
| * Import sctp nat support in ipfw obtained from CAIA - http://caia.swin.edu.au.piso2008-12-2811-11/+3405
| |
* | Named normally cannot be started chrooted inside a jail. Thus treatbz2009-02-071-5/+23
| | | | | | | | | | | | | | | | | | | | the jail case specifically. In case we find a proper pre-seeded devfs in the chroot path (mounted from the base system) permit starting chrooted else give proper warn/error messages. PR: conf/103489 Reviewed by: dougb MFC after: 5 days
* | Fix build, sigh.thompsa2009-02-071-1/+1
| |
* | Move the comment to it's correct place.wkoszek2009-02-071-5/+5
| |
* | Remove leftover of alpha support for config(8)--we have MAP_FAILEDwkoszek2009-02-071-3/+0
| | | | | | | | globally defined.
* | Don't forget to create opt_agp.h on ia64, which also uses agp(4).wkoszek2009-02-072-0/+6
| |
* | Dont hold the lock over the controller init, we are still attaching.thompsa2009-02-073-28/+13
| |
* | C99 TC2 now wants FP_FAST_FMA* to be defined to 1, if the macros aredas2009-02-071-3/+3
| | | | | | | | defined at all. See also: defect report #223.
* | count stuck beacon eventssam2009-02-071-0/+1
| |
* | fix building w/o CFI_ARMEDANDDANGEROUSsam2009-02-071-4/+5
| |
OpenPOWER on IntegriCloud