summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix cryptodev UIO creation.raj2009-05-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Cryptodev uses UIO structure do get data from userspace and pass it to cryptographic engines. Initially UIO size is equal to size of data passed to engine, but if UIO is prepared for hash calculation an additional small space is created to hold result of operation. While creating space for the result, UIO I/O vector size is correctly extended, but uio_resid field in UIO structure is not modified. As bus_dma code uses uio_resid field to determine size of UIO DMA mapping, resulting mapping hasn't correct size. This leads to a crash if all the following conditions are met: 1. Hardware cryptographic accelerator writes result of hash operation using DMA. 2. Size of input data is less or equal than (n * PAGE_SIZE), 3. Size of input data plus size of hash result is grather than (n * PAGE_SIZE, where n is the same as in point 2. This patch fixes this problem by adding size of the extenstion to uio_resid field in UIO structure. Submitted by: Piotr Ziecik kosmo ! semihalf dot com Reviewed by: philip Obtained from: Semihalf
* Fix minor typo.joel2009-05-231-1/+1
|
* Added two tools to check the contents of /usr/share/misc/iso* withedwin2009-05-233-0/+264
| | | | | | the data from the sources. PR: misc/127430 and misc/misc/127428
* Rework the text for the import of zic(8) at 20090523.edwin2009-05-231-1/+2
| | | | Suggested by Niclas Zeising (and he was absolutely right on it!)
* Preset the modified bit in the PTE when pmap_enter() is called during aalc2009-05-231-0/+2
| | | | | | | | | | | | write fault or while wiring a mapping that must support write access. In general, this change should reduce the number of traps that occur for the purpose of setting the modified bit. More specifically, this change should prevent traps while holding locks in a sysctl handler. See kern/kern_sysctl.c revisions 1.168 and 1.195 (svn r192160) for further details. Tested by: gonzo
* Update share/misc/iso639edwin2009-05-231-40/+45
| | | | | | | Snapshot was taken on 23 May 2009. Obtained from: http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt MFC after: 1 week
* [patch] update share/misc/iso639edwin2009-05-231-71/+118
| | | | | | | | Updated against http://www.loc.gov/standards/iso639-2/langhome.html Snapshot was taken on 16 September 2008. PR: conf/127422 MFC after: 1 week
* MFV of tzcode2009e:edwin2009-05-2321-1815/+2421
| | | | | | | | | | | | | | | | | | | | | | | | | Upgrade of the tzcode from 2004a to 2009e. Changes are numerous, but include... - New format of the output of zic, which supports both 32 and 64 bit time_t formats. - zdump on 64 bit platforms will actually produce some output instead of doing nothing for a looooooooong time. - linux_base-fX, with X >= at least 8, will work without problems related to the local time again. The original patch, based on the 2008e, has been running for a long time on both my laptop and desktop machine and have been tested by other people. After the installation of this code and the running of zic(8), you need to run tzsetup(8) again to install the new datafile. Approved by: wollman@ for usr.sbin/zic MFC after: 1 month
* Include the 2 byte length field for the optional "extra data"kientzle2009-05-231-0/+1
| | | | | | | field when computing the length of the gzip header. Thanks to Dag-Erling for pointing me to the OpenSSH tarballs, which are the first files I've seen that actually used this field.
* Add zfs/zpool to rescue programskmacy2009-05-231-1/+14
| | | | | | PR: bin/125878 Submitted by: nork@ MFC after: 3 days
* Fix the rpc_gss_secfind() call in nfs_commonkrpc.c so thatrmacklem2009-05-231-1/+16
| | | | | | | | | | | the code will build when "options KGSSAPI" is specified without requiring the proposed changes that add host based initiator principal support. It will not handle the case where the client uses a host based initiator principal until those changes are committed. The code that uses those changes is #ifdef'd notyet until the krpc rpcsec_changes are committed. Approved by: kib (mentor)
* It seems this file was ignored by MRT, rnh locking changes and new-arpv2.bz2009-05-231-17/+3
| | | | | | | | So let the V_irtualization people finally make the disabled debugging code compile again. MFC after: 2 weeks X-MFC: MRT and adapt rnh locking
* Change the sysctl_base argument to svcpool_create() to NULL forrmacklem2009-05-221-1/+1
| | | | | | | client side callbacks so that leaf names are not re-used, since they are already being used by the server. Approved by: kib (mentor)
* If including vnet.h one has to include opt_route.h as well. This isbz2009-05-221-0/+1
| | | | | | | | | because struct vnet_net holds the rt_tables[][] for MRT and array size is compile time dependent. If you had ROUTETABLES set to >1 after r192011 V_loif was pointing into nonsense leading to strange results or even panics for some people. Reviewed by: mz
* Set ifp->if_afdata_initialized to 0 while holding IF_AFDATA_LOCK on ifp,zec2009-05-221-1/+1
| | | | | | | not after the lock has been released. Reviewed by: bz Discussed with: rwatson
* Add myself to the src committers graph.jilles2009-05-221-0/+3
| | | | Approved by: ed (mentor)
* Introduce the if_vmove() function, which will be used in the futurezec2009-05-224-83/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for reassigning ifnets from one vnet to another. if_vmove() works by calling a restricted subset of actions normally executed by if_detach() on an ifnet in the current vnet, and then switches to the target vnet and executes an appropriate subset of if_attach() actions there. if_attach() and if_detach() have become wrapper functions around if_attach_internal() and if_detach_internal(), where the later variants have an additional argument, a flag indicating whether a full attach or detach sequence is to be executed, or only a restricted subset suitable for moving an ifnet from one vnet to another. Hence, if_vmove() will not call if_detach() and if_attach() directly, but will call the if_detach_internal() and if_attach_internal() variants instead, with the vmove flag set. While here, staticize ifnet_setbyindex() since it is not referenced from outside of sys/net/if.c. Also rename ifccnt field in struct vimage to ifcnt, and do some minor whitespace garbage collection where appropriate. This change should have no functional impact on nooptions VIMAGE kernel builds. Reviewed by: bz, rwatson, brooks? Approved by: julian (mentor)
* Fix the name of the module common to the client and serverrmacklem2009-05-221-1/+1
| | | | | | | in the experimental nfs subsystem to the correct one for the MODULE_DEPEND() macro. Approved by: kib (mentor)
* Expand $FreeBSD$des2009-05-220-0/+0
|
* Change the printf of r192595 to identify the function,rmacklem2009-05-221-1/+1
| | | | | | as requested by Sam. Approved by: kib (mentor)
* Upgrade to OpenSSH 5.2p1.des2009-05-2278-4441/+3912
|\ | | | | | | MFC after: 3 months
| * Vendor import of OpenSSH 5.2p1des2009-02-24106-4662/+4669
| |
| * svn:eol-style is missing from these filesdes2009-02-240-0/+0
| |
| * Fix "xmalloc: zero size" bug when talking to older servers.des2008-09-241-1/+2
| | | | | | | | | | | | | | This patch has been submitted but not yet committed upstream. Obtained from: https://bugzilla.mindrot.org/show_bug.cgi?id=1496 MFC after: 1 week
| * When I flattened the dist tree, some files that had been removed in priordes2008-09-0140-3779/+0
| | | | | | | | vendor imports were inadvertantly resurrected. Re-remove them.
* | Partial reversion of previous commit. The CXGB_SHUTDOWN flag does NOTgnn2009-05-221-4/+0
| | | | | | | | | | | | | | need to be inverted when doing an ifconfig down of an interface. Pointed out by: Navdeep Parhar MFC after: 1 week
* | Modified the printf message of r192590 to remove thermacklem2009-05-221-1/+1
| | | | | | | | | | | | possible DOS attack, as suggested by Sam. Approved by: kib (mentor)
* | Change the comment at the beginning of the function to reflect thermacklem2009-05-221-2/+2
| | | | | | | | change from panic() to printf() done by r192588.
* | Change the reboot panic that would have occurred if clientidrmacklem2009-05-221-6/+2
| | | | | | | | | | | | | | numbers wrapped around to a printf() warning of a possible DOS attack, in the experimental nfsv4 server. Approved by: kib (mentor)
* | Make 'struct acl' larger, as required to support NFSv4 ACLs. Providetrasz2009-05-2217-159/+518
| | | | | | | | | | | | compatibility interfaces in both kernel and libc. Reviewed by: rwatson
* | Modify the mount handling code in the experimental nfs client tormacklem2009-05-221-63/+230
| | | | | | | | | | | | | | | | use the newer nmount() style arguments, as is used by mount_nfs.c. This prepares the kernel code for the use of a mount_nfs.c with changes for the experimental client integrated into it. Approved by: kib (mentor)
* | Fix a possible panic cxgb_controller_attach() routine that would occurgnn2009-05-221-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | only if prepping the adapter failed. Slight adjustment to comments. Fix a bug whereby downing the interface didn't preven it from processing packets. Submitted by: Navdeep Parhar MFC after: 1 week
* | Change the code in the experimental nfs client to avoid flushingrmacklem2009-05-221-6/+2
| | | | | | | | | | | | | | | | writes upon close when a write delegation is held by the client. This should be safe to do, now that nfsv4 Close operations are delayed until ncl_inactive() is called for the vnode. Approved by: kib (mentor)
* | Fix the comment in sys/fs/nfs/nfs.h to correctly reflect thermacklem2009-05-221-1/+1
| | | | | | | | | | | | | | current use of the R_xxx flags. This changed when the NFS_LEGACYRPC code was removed from the subsystem. Approved by: kib (mentor)
* | Add University of Michigan removed files to ObsoleteFiles.inc.rwatson2009-05-221-0/+5
| | | | | | | | Submitted by: Pawel Worach <pawel.worach at gmail.com>
* | Further idmapd garbage collection -- remove rc.d Makefile reference andrwatson2009-05-222-3/+1
| | | | | | | | | | | | default settings. Submitted by: Pawel Worach <pawel.worach at gmail.com>
* | Remove the unmaintained University of Michigan NFSv4 client from 8.xrwatson2009-05-2248-11185/+19
| | | | | | | | | | | | | | prior to 8.0-RELEASE. Rick Macklem's new and more feature-rich NFSv234 client and server are replacing it. Discussed with: rmacklem
* | Add privileges for Capi4BSD to control:bz2009-05-221-1/+7
| | | | | | | | | | | | | | | | | | - controller reset/firmware loading. - controller level tracing and tracing of capi messages of applications running with different user credentials. Reviewed by: rwatson MFC after: 2 weeks
* | Fix the experimental nfs server so that it depends on the nlm,rmacklem2009-05-221-0/+1
| | | | | | | | | | | | since it now calls nlm_acquire_next_sysid(). Approved by: kib (mentor)
* | update for r192468 (monitor mode changes)sam2009-05-211-1/+1
| | | | | | | | Submitted by: jkim
* | Use calloc().delphij2009-05-211-7/+4
| |
* | Add myself to the list of ports committers.tota2009-05-211-0/+3
| | | | | | | | Approved by: maho (mentor)
* | Pullup from p4 tip:bms2009-05-211-22/+15
| | | | | | | | | | | | * Fix MLDv2 general query timer (fallout from automated refactoring). * Refactor MLDv1 timer. MLDv2 query processing is now working.
* | When man pages are formatted in UTF-8, .Fl is encoded as U+2212 "MINUSdes2009-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SIGN" instead of U+002D "HYPHEN-MINUS". This is unfortunate for two reasons: 1) this is not the character which is actually used on the command line, and 2) it makes it impossible to search a man page for a specific command-line option. This patch fixes this, but there are other unresolved issues, such as confusion between -, \- and hy: while the latter is always (and only) used for hyphenation, both - and \- are used for negation and subtraction, and \- is used for command-line options and sometimes also for parenthesis. IMHO, the correct Unicode characters are: - hyphenation: either U+2010 or U+00AD, most likely the former (the latter is the so-called soft hyphen, used to indicate a point at which a text processor is allowed to hyphenate a word) - negation and subtraction: U+2212 - parenthesis: in English, U+2214, with spaces suppressed before and after; in some others (such as Norwegian), U+2213 with spaces retained. - command-line options: U+002D, because that is what is actually used on the command line. However, fixing this would require extensive modifications to (at least) the doc and man macro sets... MFC after: 1 week
* | Don't clear last usage when a new HID item is found, it improves parsing ofthompsa2009-05-211-3/+0
| | | | | | | | | | | | Apple keyboard HID descriptors. Submitted by: Hans Petter Selasky
* | Remove README.TXT as the info is in usb(4).thompsa2009-05-211-411/+0
| |
* | Add Sharp WILLCOM03 ipaq and Option GTHSDPA 3g device ids.thompsa2009-05-213-1/+6
| | | | | | | | Submitted by: Hans Petter Selasky
* | Use the correct usb config number on attach.thompsa2009-05-211-1/+1
| | | | | | | | | | Reported by: Greg Rivers Submitted by: Hans Petter Selasky
* | Fix a failure to report failure on stalled status stage for controlthompsa2009-05-211-7/+0
| | | | | | | | | | | | transactions. Submitted by: Hans Petter Selasky
* | Add a driver for the AVR32 series USB Device Controller. Not hooked up asthompsa2009-05-212-0/+2319
| | | | | | | | | | | | | | FreeBSD does not yet support this platform but it makes it easier to stay in sync. Submitted by: Hans Petter Selasky
OpenPOWER on IntegriCloud