aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Don't build the nve on pc98.Yoshihiro Takahashi2005-03-121-1/+1
| | | | Notes: svn path=/head/; revision=143459
* MFi386: revision 1.217.Yoshihiro Takahashi2005-03-123-9/+0
| | | | Notes: svn path=/head/; revision=143456
* Due to a CVS misfire, I ended up committing the wrong version of this.David E. O'Brien2005-03-121-3/+7
| | | | Notes: svn path=/head/; revision=143451
* MFCi386: Prevent integer underflow that could result in all memory beingScott Long2005-03-121-3/+9
| | | | | | | consumed. Notes: svn path=/head/; revision=143450
* Guard against an integer underflow that could cause busdma to eat up allScott Long2005-03-121-3/+9
| | | | | | | | | | available RAM. This also results in the global bounce page limit being applied to zones instead of globally. Submitted by: Petr Lampa (in part) Notes: svn path=/head/; revision=143449
* Adding new device ID for BCM5751M support.Tai-hwa Liang2005-03-122-0/+3
| | | | | | | | Submitted by: FUJITA Kazutoshi <fujita at soum dot co dot jp> Reviewed by: sam (mentor) Notes: svn path=/head/; revision=143448
* Fix bin/pax doesn't wait for compress/gzip before exiting.David E. O'Brien2005-03-121-4/+6
| | | | | | | | Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de> Obtained from: OpenBSD (commited fix to PR 3455) Notes: svn path=/head/; revision=143447
* Used unsigned version.David E. O'Brien2005-03-121-1/+1
| | | | | | | Submitted by: jmallett Notes: svn path=/head/; revision=143446
* Fix kernel build on 64-bit machines.David E. O'Brien2005-03-121-1/+1
| | | | Notes: svn path=/head/; revision=143444
* Fix a long-standing bug in alpha's implementation of busdma. We need toMaxime Henrion2005-03-121-4/+4
| | | | | | | | | | | | | | OR the physical address with alpha_XXX_dmamap_or to get the DMA address, like the name of the variable suggests. However, while we were doing this correctly in the alpha_XXX_dmamap() macro, the busdma code added the variable to the physical address instead of or'ing it. Fortunately and if my math is not entirely wrong, you would need more than 128GB of RAM and a device able to do DMA in 64bits to experience the bug. Spotted by: cognet Notes: svn path=/head/; revision=143443
* FreeBSD consumer bits of the nForce MCP NIC binary blob.David E. O'Brien2005-03-128-0/+1917
| | | | | | | | | | Demanded by: DES Encouraged by: scottl Obtained from: q@onthenet.com.au (partially) KNF'ed by: obrien Notes: svn path=/head/; revision=143442
* This commit was generated by cvs2svn to compensate for changes in r143439,David E. O'Brien2005-03-127-0/+1975
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=143440
| * Import the nForce MCP NIC bits. This is version 1.0-0301.vendor/nve/1.0.0301David E. O'Brien2005-03-127-0/+1975
| | | | | | | | | Demanded by: DES Encouraged by: scottl Notes: svn path=/vendor-sys/nve/dist/; revision=143439 svn path=/vendor-sys/nve/1.0.0301/; revision=143441; tag=vendor/nve/1.0.0301
* Replace my previous change for 32 bit systems with hz > 169 with Bruce'sPeter Wemm2005-03-121-10/+11
| | | | | | | simpler one. Notes: svn path=/head/; revision=143438
* Make the tty vmin/vtime timeouts work for hz > 169 on 32 bit machines.Peter Wemm2005-03-121-7/+7
| | | | Notes: svn path=/head/; revision=143437
* Correct a last-minute thinko. Instead of copying the nul with the string,Nate Lawson2005-03-111-1/+1
| | | | | | | nul-terminate the dp->d_name directly and only copy the string. Notes: svn path=/head/; revision=143436
* The mbnambuf routines combine multiple substrings into a singleNate Lawson2005-03-111-36/+41
| | | | | | | | | | | | | | | | | | | | | | | | | long filename. Each substring is indexed by the windows ID, a sequential one-based value. The previous code was extremely slow, doing a malloc/strcpy/free for each substring. This code optimizes these routines with this in mind, using the ID to index into a single array and concatenating each WIN_CHARS chunk at once. (The last chunk is variable-length.) This code has been tested as working on an FS with difficult filename sizes (255, 13, 26, etc.) It gives a 77.1% decrease in profiled time (total across all functions) and a 73.7% decrease in wall time. Test was "ls -laR > /dev/null". Per-function time savings: mbnambuf_init: -90.7% mbnambuf_write: -18.7% mbnambuf_flush: -67.1% MFC after: 1 month Notes: svn path=/head/; revision=143435
* Remove diffs to i386 version that came in via the compiler support ifdefs.Peter Wemm2005-03-1110-28/+37
| | | | | | | | This changes things like whitespace, inconsistent use of #ifndef vs #if !defined(), different macro argument orders, mismatched comments, etc. Notes: svn path=/head/; revision=143434
* MFi386: reduce apic clock interrupt ratePeter Wemm2005-03-111-15/+5
| | | | Notes: svn path=/head/; revision=143433
* Whitespace sync with amd64. (Rather than re-add the extra blank linesPeter Wemm2005-03-112-6/+0
| | | | | | | on amd64, I'm removing them here) Notes: svn path=/head/; revision=143432
* gbde(8) is also rejndael user.Hajimu UMEMOTO2005-03-112-3/+1
| | | | | | | Reported by: phk Notes: svn path=/head/; revision=143431
* Fix a mismerge of i386 rev 1.209Peter Wemm2005-03-111-1/+1
| | | | Notes: svn path=/head/; revision=143430
* Match i386 rev 1.38 with __cplusplus supportPeter Wemm2005-03-111-0/+8
| | | | Notes: svn path=/head/; revision=143429
* Remove an OBE set of comments, fix a minor whitespace nit while here.Peter Wemm2005-03-111-8/+1
| | | | Notes: svn path=/head/; revision=143428
* First step in simplifying accept filter socket option logic in theRobert Watson2005-03-111-17/+24
| | | | | | | | post-SMPng world order. Centralize handling of the socket option clear case in do_setopt_accept_filter(). Notes: svn path=/head/; revision=143427
* reorder ath_rate_onoe to after ath_rate_sample so it gets used as theSam Leffler2005-03-111-1/+1
| | | | | | | | default rate control algorithm; this should be done differently but for now use this simple solution Notes: svn path=/head/; revision=143426
* Remove an additional commented out reference to a possible future sxRobert Watson2005-03-111-1/+0
| | | | | | | lock. Notes: svn path=/head/; revision=143425
* just use crypto/rijndaelHajimu UMEMOTO2005-03-111-1/+2
| | | | | | | (I forgot to commit this in my previous commit) Notes: svn path=/head/; revision=143424
* just use crypto/rijndael, and nuke opencrypto/rindael.[ch].Hajimu UMEMOTO2005-03-116-1293/+12
| | | | | | | | | the two became almost identical since latest KAME merge. Discussed with: sam Notes: svn path=/head/; revision=143423
* When setting up a socket in socreate(), there's no need to lock theRobert Watson2005-03-111-3/+1
| | | | | | | | | | | | | socket lock around knlist_init(), so don't. Hard code the setting of the socket reference count to 1 rather than using soref() to avoid asserting the socket lock, since we've not yet exposed the socket to other threads. This removes two mutex operations from each socket allocation. Notes: svn path=/head/; revision=143422
* Remove suggestive sx_init() comment in soalloc(). We will have somethingRobert Watson2005-03-111-1/+0
| | | | | | | like this at some point, but for now it clutters the source. Notes: svn path=/head/; revision=143421
* integrate rijndael-alg-fst.h into rijndael.h.Hajimu UMEMOTO2005-03-115-44/+14
| | | | Notes: svn path=/head/; revision=143420
* Adding missing module dependency. This should fix the undefined symbolTai-hwa Liang2005-03-111-0/+1
| | | | | | | | | error(ath_hal_computetxtime) during module loading. Reviewed by: sam (mentor) Notes: svn path=/head/; revision=143419
* stop including rijndael-api-fst.h from rijndael.h.Hajimu UMEMOTO2005-03-118-10/+7
| | | | | | | this is required to integrate opencrypto into crypto. Notes: svn path=/head/; revision=143418
* The SO_NOSIGPIPE socket option allows a user process to mark a socketRobert Watson2005-03-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that the socket does not generate SIGPIPE, only EPIPE, when a write is attempted after socket shutdown. When the option was introduced in 2002, this required the logic for determining whether SIGPIPE was generated to be pushed down from dofilewrite() to the socket layer so that the socket options could be considered. However, the change in 2002 omitted modification to soo_write() required to add that logic, resulting in SIGPIPE not being generated even without SO_NOSIGPIPE when the socket was written to using write() or related generic system calls. This change adds the EPIPE logic to soo_write(), generating a SIGPIPE signal to the process associated with the passed uio in the event that the SO_NOSIGPIPE option is not set. Notes: - The are upsides and downsides to placing this logic in the socket layer as opposed to the file descriptor layer. This is really fd layer logic, but because we need so_options, we have a choice of layering violations and pick this one. - SIGPIPE possibly should be delivered to the thread performing the write, not the process performing the write. - uio->uio_td and the td argument to soo_write() might potentially differ; we use the thread in the uio argument. - The "sigpipe" regression test in src/tools/regression/sockets/sigpipe tests for the bug. Submitted by: Mikko Tyolajarvi <mbsd at pacbell dot net> Talked with: glebius, alfred PR: 78478 MFC after: 1 week Notes: svn path=/head/; revision=143417
* Fix typos in comments.Stefan Farfeleder2005-03-111-3/+3
| | | | Notes: svn path=/head/; revision=143416
* Use socklen_t where appropriate.Stefan Farfeleder2005-03-115-12/+18
| | | | Notes: svn path=/head/; revision=143415
* Simplify the print routines by using LST_FOREACH instead of Lst_ForEachHartmut Brandt2005-03-113-64/+66
| | | | | | | | | and inlining the small printing utility functions. Create a function that can be used to produce printable representations of flag words. Notes: svn path=/head/; revision=143414
* Check the return value of shutdown().Robert Watson2005-03-111-4/+8
| | | | Notes: svn path=/head/; revision=143413
* Remove leading underscores from the pathname defines. All identifiersHartmut Brandt2005-03-113-25/+29
| | | | | | | | with leading underscore followed by an uppercase letter are in the implementation namespace. Notes: svn path=/head/; revision=143412
* Remove the leading underscore from structure tags. All identifiersHartmut Brandt2005-03-112-5/+5
| | | | | | | with a leading underscore are in the implementation namespace. Notes: svn path=/head/; revision=143411
* sys/crypto/md5.[ch] is used from nowhere. So, just nuke them.Hajimu UMEMOTO2005-03-112-382/+0
| | | | Notes: svn path=/head/; revision=143410
* Add sigpipe, a simple UNIX domain socket and TCP regression test that isRobert Watson2005-03-112-0/+327
| | | | | | | | | | | | | | | | intended to verify that SIGPIPE is delivered to a process writing or sending on a socket that has been shut down for write. If available, SO_NOSIGPIPE is also tested. This regression test is currently passed by RELENG_4, but not by HEAD or RELENG_5, due to a bug in the write() code for sockets. SO_NOSIGPIPE is not present in RELENG_4, however, so is not tested there. Reported by: Mikko Tyolajarvi <mbsd at pacbell dot net> PR: 78478 Notes: svn path=/head/; revision=143409
* - use 1/2 space for rijndael context in ipsecHajimu UMEMOTO2005-03-113-25/+14
| | | | | | | | | | | - rijndael_set_key() always sets up full context - rijndaelKeySetupDec() gets back original protoype Reviewed by: sam Obtained from: OpenBSD Notes: svn path=/head/; revision=143408
* Style: Fix indentation.Hartmut Brandt2005-03-111-1117/+1129
| | | | Notes: svn path=/head/; revision=143407
* refer opencrypto/cast.h directly.Hajimu UMEMOTO2005-03-113-19/+10
| | | | Notes: svn path=/head/; revision=143406
* Call ParseFinishLine() also for the last line in a file. ThisHartmut Brandt2005-03-111-0/+3
| | | | | | | | | | | | | | | | | patch differs from the previous one in that it calls the function only when a real file hits EOF. The bodies of .for loops are also handled as files, but for these we don't want to end a dependency block on the 'EOF' as in: foo: do-this .for ... do-something .endfor do-more Notes: svn path=/head/; revision=143405
* Fix getting stats from many links with index > 0.Gleb Smirnoff2005-03-111-1/+1
| | | | | | | | Submitted by: Richard Kojedzinszky MFC after: 3 days Notes: svn path=/head/; revision=143404
* Move common credential save and restore code into a separate file.Diomidis Spinellis2005-03-115-29/+86
| | | | | | | Improve credential handling in pt_file.c Notes: svn path=/head/; revision=143402
* Back out the last commit. It turns out that this breaks more thanHartmut Brandt2005-03-111-3/+0
| | | | | | | it fixes. This should fix the buildworld breakage. Notes: svn path=/head/; revision=143401