summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | expand CFI_ARMEDANDDANGEROUS to include writing the user segmentsam2009-02-071-3/+12
| | | | | | | | | | of the PR; this register is actually write-once so deserves the safety-belt as much as the PLR
* | si_cmdname() is defined only when SI_DEBUG is enabled, thuswkoszek2009-02-071-2/+2
| | | | | | | | | | using this function in simple printf() causes compile-time problems. Use conditionally enabled DPRINT() macro instead.
* | fix 11n channel constructionsam2009-02-071-6/+6
| |
* | add macro for future regulatory modssam2009-02-071-0/+5
| |
* | Rearrange this code slightly to pass softcs around instead of device_t,nwhitehorn2009-02-076-57/+85
| | | | | | | | | | | | | | | | solving a possible panic when snd_ai2s is loaded at boot time. Also change the device setup to indicate to the pcm layer that the device is MPSAFE. Submitted by: Marco Trillo Suggestions by: Ariff Abdullah
* | Regulatory fixups:sam2009-02-073-66/+140
| | | | | | | | | | | | | | | | | | | | | | | | o add missing channel flags for ECM, indoor, and outdoor constraints o use HT capabilities to short-circuit HT20/HT40 channel construction o rewrite 1/2 and 1/4 width channel handling yet again; previously we assumed there was a full-width version of the channel in the calibration table but that's not always true (e.g. for the Public Safety Band), now we first check the calibration table for the exact channel we want then fall back to the heuristics we used before o fix HT channel construction; wasn't adjusting band edges for HT40 channel bandwidth requirements
* | Tidy NOTES a bit:wkoszek2009-02-071-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | - ath(4) is the last listed device, so make it's comment last as well - since we have hints for le(4), bring it back by inserting commented out line until I check, if it can be safely enabled. - bring snc(4) explanation - put pmtimer comment together with other drivers' comments in a block - bring comments for canbus, canbepm, pmc olpt comment has been left blank, since I don't know how does this driver differ from other printer drivers.
* | Tidy NOTES a bit:wkoszek2009-02-071-3/+3
| | | | | | | | | | | | - leave pmtimer comment that is common to other architectures. - bring pbio explanation to the block comment relating to other drivers in the same block.
* | Tidy NOTES a bit:wkoszek2009-02-071-3/+6
| | | | | | | | | | | | | | | | | | | | - remove misleading nve/nfe comments, which make it hard to distinguish those two at a first glance - bring pbio documentation to the block comment together with other drivers I also brought commented out line responsible for si(4), since it seems to compile and already has respective comment in this file.
* | Add rudimentary support for symbolic links on UDF. Links are stored as ajhb2009-02-062-3/+124
| | | | | | | | | | | | | | | | sequence of pathname components. We walk the list building a string in the caller's passed in buffer. Currently this only handles path names in CS8 (character set 8) as that is what mkisofs generates for UDF images. MFC after: 1 month
* | Comment about ural(4) isn't approprate here, since the driver is present inwkoszek2009-02-061-3/+0
| | | | | | | | | | | | | | | | | | | | global NOTES file. cx(4) driver isn't present in this file, though it could be. However, cx(4) seems to be more or less dead -- it hasn't been linked to the modules build, and after TTY-ng transformations it doesn't compile. Remove it until cx(4) is broken.
* | ural(4) is already present in global NOTES, thus there is nowkoszek2009-02-061-2/+0
| | | | | | | | | | | | | | | | | | need to explicitly list it here once again. This removes: WARNING: duplicate option `DEV_URAL' encountered. WARNING: duplicate device `ural' encountered. Warnings when compiling LINT on amd64.
* | Fix AGP debugging code:wkoszek2009-02-067-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | - correct format strings - fill opt_agp.h if AGP_DEBUG is defined - bring AGP_DEBUG to LINT by mentioning it in NOTES This should hopefully fix a warning that was... Found by: Coverity Prevent(tm) CID: 3676 Tested on: amd64, i386
OpenPOWER on IntegriCloud