summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use byteorder(9) functions to implement the [g,s]et[d,w][b,l]e macros somarius2005-01-031-36/+14
| | | | | | | | | only one set is needed for either endianess. This also completes them for big endian archs and fixes the compilation of libncp, netncp, etc. there. Reviewed by: bp, rwatson Compile tested on: i386, sparc64 MFC after: 1 week
* There is a better way to find out whether a port is installed or not.josef2005-01-031-3/+2
|
* When allocating bio's in the swap_pager use M_WAITOK since thephk2005-01-031-6/+7
| | | | alternative is much worse.
* Reduce diffs to work in progress before checking in serious changes.philip2005-01-032-38/+40
| | | | | | | | | | | | | | | | o Move the sysctls under debug.psm.* and hw.psm.* making them a bit clearer and more consistent with other drivers. o Remove the debug.psm_soft_timeout sysctl. It was introduced many moons ago in r1.64 but never referenced anywhere. o Introduce hw.psm.tap_threshold and hw.psm.tap_timeout to control the behaviour of taps on touchpads. People might like to fiddle with these if tapping seems to slow or too fast for them. o Add debug.psm.loglevel as a tunable so that verbosity can be set easily at boot-time (to watch probes and such) without having to compile a kernel with options PSM_DEBUG=N.
* Garbage collect unused ipx_abort().rwatson2005-01-032-13/+2
| | | | | | Spell NULL right in a KASSERT() panic message. MFC after: 1 week
* Remove unused #include.pjd2005-01-031-1/+0
|
* Exempt the superuser from mac_seeotheruids checks.rwatson2005-01-031-0/+3
| | | | | | Submitted by: bkoenig at cs dot tu-berlin dot de PR: 72238 MFC after: 2 weeks
* Don't ignore the last line of config file (/etc/hosts, /etc/services, etc)sobomax2005-01-035-15/+12
| | | | | | | | which doesn't end in \n, since it may be very confusing. Also this should increase consistency, since most other config files work just fine regardless of the presence of traling \n in the last line. MFC After: 2 weeks
* Remove comment that doesn't seem to be true and add comments describingjulian2005-01-031-17/+16
| | | | | | what is going on, to replace it. Slight formatting changes Code here is alredy different to NetBSD. MFC after: 1 week
* A much simpler way to work out if the required transfer can be done in 2julian2005-01-031-3/+2
| | | | | | scatter gather segments. MFC after: 1 week
* Back out previous commits. Installing new share/mk fixes this.njl2005-01-031-1/+0
|
* Add a sysctl (net.inet.tcp.insecure_rst) which allows one to specifysilby2005-01-032-2/+14
| | | | | | | that the RFC 793 specification for accepting RST packets should be following. When followed, this makes one vulnerable to the attacks described in "slipping in the window", but it may be necessary in some odd circumstances.
* First cut at RockRidge support.kientzle2005-01-031-95/+288
| | | | | | Large thanks to the easy-to-read and well-documented sys/isofs/cd9660 source code, which provided many of the details I needed for this exercise.
* NO_MAN is now NOMAN.njl2005-01-031-1/+1
|
* Fix kernel modules build. For some reason, this module now bails out withnjl2005-01-031-0/+1
| | | | an error that there is no aicasm.1 man page.
* Catch up with the kernel and set any global variables we are using, innjl2005-01-031-0/+6
| | | | | | particular, enabling interpreter workarounds for bad ASL. MFC after: 1 day
* Constify arguments.marcel2005-01-036-17/+17
|
* Next round of work on ISO9660 support:kientzle2005-01-031-79/+151
| | | | | | | | | | | | | * Reference-count the directory data so that we don't leak memory. * Correctly step through the directory records (skipping unrecognized extensions) * Use better defaults for file modes * Sort directory entries by offset of the end of the file rather than the beginning of the file. This fixes a lot of "out-of-order" problems with zero-length files, in particular. * Style fixes, remove some debug code, add some error messages.
* Regen.marcel2005-01-035-6/+6
|
* uuidgen(2) is MP safe.marcel2005-01-031-1/+1
|
* If MALLOC() fails in at_pcballoc(), return ENOBUFS rather thanrwatson2005-01-031-1/+3
| | | | | | potentially panicking. MFC after: 1 week
* Replace a mention of the ia64_unaligned directory with one of themarcel2005-01-021-1/+1
| | | | | ia64 subdirectory. All ia64 specific regression tests live under the ia64 directory.
* Regression test for unaligned loads and stores for short, int, long,marcel2005-01-022-0/+144
| | | | | | float, double and long double types. No post-increment tests yet. All tests are skipped if the debug.unaligned_test sysctl variable cannot be set to 1.
* evise use of queue(9) macros for netipx when used from userspace:rwatson2005-01-021-11/+5
| | | | LIST_FOREACH() is difficult to use correctly, so don't try to.
* Remove trailing spaces.krion2005-01-026-7/+7
| | | | MFC after: 3 days
* Remove trailing spaces.krion2005-01-027-10/+10
| | | | | Reviewed by: brueffer MFC after: 3 days
* Acquire the socket buffer receive lock in spx_rcvoob() to permitrwatson2005-01-021-0/+3
| | | | multiple reads of receive buffer state to be performed atomically.
* Increase the coverage scope of the receive socket buffer lock inrwatson2005-01-021-10/+9
| | | | | | spx_reass() to increase atomicity across multiple operations on the socket buffer when iterating over the SPX fragment reassembly list for the ipxpcb, as well a to reduce the number of locking operations.
* Explicitly lock the send socket buffer in spx_reass() to cover the droprwatson2005-01-021-2/+3
| | | | | | | | record loop for ACK'd data, rather than relying on lokcing in sbdroprecord() and sowwakeup(), reducing the number of lock operations as well as eliminating a possible race against the head of the send buffer mbuf chain. Use the _locked variants of sbdroprecord() and sowwakeup().
* Restructure ipx_input() return code to match similar code in netinet,rwatson2005-01-021-8/+6
| | | | avoiding a goto.
* Eliminate XXX comments regarding allocation failures when retrievingrwatson2005-01-022-5/+5
| | | | | | the peer address by using M_WAITOK in ipx_setpeeraddr() to prevent allocation failure. The socket reference used to reach these calls will prevent the ipxpcb from being released prematurely.
* Use KASSERT() in preference to if()panic().rwatson2005-01-022-6/+2
|
* Extern declaration of old 'ipxpcb' list head no longer required.rwatson2005-01-021-2/+0
|
* Trim trailing whitespace.rwatson2005-01-029-37/+37
|
* Document copyright updates in netipx README as other prior updates haverwatson2005-01-021-0/+1
| | | | been documented.
* Mark 'struct spx' and 'struct spxhdr' as __packed to prevent possiblerwatson2005-01-021-2/+2
| | | | | | alignment problems. MFC after: 3 days
* Improve handling of SPX session timeout, specifically, make sure torwatson2005-01-021-5/+8
| | | | | | | | | properly handle the case where a connection is disconnected. The queue(9)-enabled version of this code broke from the inner but not outer loop, and so potentially frobbed an ipxpcb flag after the ipxpcb was free'd, which might be picked up later by the malloc debugging code. Properly break from the loop context and avoid touching the cb/ipxpcb after free.
* Compare and assign pointers with NULL in preference to 0.rwatson2005-01-021-2/+2
|
* Don't cast NULL on return or when passing to another function.rwatson2005-01-021-14/+22
| | | | | Extend the annotation as to why spx_close() isn't called in spx_reass(), and mark this code more clearly as broken.
* Correct .Ddbrueffer2005-01-021-1/+1
| | | | Spotted by: Simon L. "Eagle Eye" Nielsen
* Remove cross reference to uustat(1), which is no longer in the baserwatson2005-01-021-1/+0
| | | | | | | tree. MFC after: 3 days Submitted by: bkoenig at cs dot tu-berlin dot de
* - list the PixelView PlayTV PAK as supportedbrueffer2005-01-021-1/+3
| | | | | | - bump .Dd Submitted by: Carl Makin <carl@stagecraft.cx>
* MFi386: revision 1.421.nyan2005-01-021-2/+2
|
* Enable ISO9660 support in "read_support_format_all".kientzle2005-01-021-0/+1
| | | | In particular, bsdtar should now recognize ISO9660 images.
* First cut support for extracting from ISO9660 disk images.kientzle2005-01-023-1/+524
| | | | | | | | | | | | | | | | This seems to be able to extract a TOC and extract files from the couple of ISO images I've tested it with. Treat this as experimental proof-of-concept code for the moment. There are still a bunch of debug messages (there are a few oddities in ISO9660 that I haven't yet figured out how to handle), a lot of bugs to be addressed (this code leaks memory very badly), and a lot of missing features (no Rockridge support, in particular). I'd appreciate feedback from anyone who understands ISO9660 format better than I do. ;-) Suggested by: Robert Watson
* Add support for the Pixelview PlayTVjulian2005-01-022-1/+14
| | | | | | PR: 68362 Submitted by: Carl Makin <carl@stagecraft.cx> MFC after: 1 week
* Mark 'struct ipx', the IPX packet header, as __packed. Otherwise,rwatson2005-01-021-1/+1
| | | | | | | recent versions of gcc will insert an extra 16 bits of padding in the structure, corrupting all IPX packet output. MFC after: 3 days
* Use 'NULL' in preference to '0' for pointer comparisons.rwatson2005-01-021-3/+3
| | | | MFC after: 2 weeks
* Port randomization leads to extremely fast port reuse at highsilby2005-01-024-4/+69
| | | | | | | | | | | | | | | | | connection rates, which is causing problems for some users. To retain the security advantage of random ports and ensure correct operation for high connection rate users, disable port randomization during periods of high connection rates. Whenever the connection rate exceeds randomcps (10 by default), randomization will be disabled for randomtime (45 by default) seconds. These thresholds may be tuned via sysctl. Many thanks to Igor Sysoev, who proved the necessity of this change and tested many preliminary versions of the patch. MFC After: 20 seconds
* Use RTFREE() to free route references rather than rtfree(), as rtfree()rwatson2005-01-022-2/+2
| | | | | | | | expects a locked route reference. This removes a panic that occurs when connected ipxpcb is closed and its route free'd, and may have been present since the route locking took place. MFC after: 2 weeks
OpenPOWER on IntegriCloud