summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement the ISO C90 Amd.1 restartable wide and multibyte charactertjr2002-08-1814-13/+1020
| | | | | manipulation functions mbrlen(), mbrtowc(), mbsinit(), mbsrtowcs(), wcrtomb(), wcsrtombs().
* Catch up to rev 1.8 of sys/alpha/osf1/osf1_mount.c.mike2002-08-181-1/+2
|
* Whitespace fix.bmah2002-08-182-4/+4
| | | | | PR: 41587 Submitted by: David "Siebörger" <drs@rucus.ru.ac.za>
* Misc fixups.bmah2002-08-182-6/+6
| | | | | PR: 41587 Submitted by: David "Siebörger" <drs@rucus.ru.ac.za>
* MFCs noted: tcsh-6.12, top 3.5b12, OpenSSL-0.9.6g.bmah2002-08-182-6/+6
|
* Fix warning. These structs should probably be removed altogether.jake2002-08-181-0/+2
|
* Forgot this in last commit.jake2002-08-181-2/+2
|
* o Simplify the ptphint test in pmap_release_free_page(). In other words,alc2002-08-182-2/+2
| | | | make it just like the test in _pmap_unwire_pte_hold().
* Add pmap support for user mappings of multiple page sizes (super pages).jake2002-08-1810-380/+481
| | | | | This supports all hardware page sizes (8K, 64K, 512K, 4MB), but only 8k pages are actually used as of yet.
* Fix VRA configuration.orion2002-08-181-3/+6
| | | | Reported and fixed by: Grzybowski Rafal <grzybek@inferno.mikrus.pw.edu.pl>
* Consolidate the device recognition code.joe2002-08-182-114/+8
|
* Oops, last manual commit was to -stable, should have been to -current.dillon2002-08-172-0/+53
| | | | | | No biggy, the code MFC to stable will catch up to the docs in a week. X-MFC after: -7 days
* Move wcwidth() to separate file, it doesn't belong to iswctype.c at allache2002-08-173-11/+58
|
* According to SUSv2, wcwidth() should return -1 for non-printing charactersache2002-08-171-1/+1
|
* Cosmetic - remove unneded brackets and #undefache2002-08-172-41/+40
|
* Now that NEWCARD is gone, NEWCARD.hints is even less necessary.imp2002-08-171-80/+0
| | | | Noticed by: bde
* Implement TCP bandwidth delay product window limiting, similar to (butdillon2002-08-177-0/+338
| | | | | | | | | | | | not meant to duplicate) TCP/Vegas. Add four sysctls and default the implementation to 'off'. net.inet.tcp.inflight_enable enable algorithm (defaults to 0=off) net.inet.tcp.inflight_debug debugging (defaults to 1=on) net.inet.tcp.inflight_min minimum window limit net.inet.tcp.inflight_max maximum window limit MFC after: 1 week
* If we're using ancient (pre 1.17.0) 2100 f/w (for the cards that cannotmjacob2002-08-171-22/+63
| | | | | | | | | | | | | | | | | | | | load f/w images > 0x7fff words), set ISP_FW_ATTR_SCCLUN. We explicitly don't believe we can find attributes if f/w is < 1.17.0, so we have to set SCCLUN for the 1.15.37 f/w we're using manually- otherwise every target will replicate itself across all 16 supported luns for non-SCCLUN f/w. Correctly set things up for 23XX and either fast posting or ZIO. The 23XX, it turns out, does not support RIO. If you put a non-zero value in xfwoptions, this will disable fast posting. If you put ICBXOPT_ZIO in xfwoptions, then the 23XX will do interrupt delays but post to the response queue- apparently QLogic *now* believes that reading multiple handles from registers is less of a win than writing (and delaying) multiple 64 byte responses to the response queue. At the end of taking a a good f/w crash dump, send the ISPASYNC_FW_DUMPED event to the outer layers (who can then do things like wake a user daemon to *fetch* the crash image, etc.).
* We only do isp_reinit from isp_async if ISP_FW_CRASH_DUMP is defined-mjacob2002-08-171-0/+12
| | | | otherwise the core code does this.
* Fix the incorrect parsing of the Risc2Host isr. For RIO_16,mjacob2002-08-171-1/+13
| | | | | | | | fast posting command completion, and fast post CTIO completion, the upper half of Risc2Host is a copy of mailbox #1- *not* mailbox #0. MFC after: 1 day
* Add ICBXOPT_ZIO definition.mjacob2002-08-171-0/+1
|
* Add ISPASYNC_FW_DUMPED async event.mjacob2002-08-171-0/+3
| | | | add ISP_FW_NEWER_THAN macro- makes the code easier to read.
* Support for VIA VT8233 audio controller.orion2002-08-176-1/+812
|
* Remove support for the vt8233. Specs for chipset changed mid-revisionorion2002-08-172-200/+75
| | | | so this code was not working for the newer VIA chipsets.
* wcwidth: fix espression to work correctly with SWIDTH0ache2002-08-171-2/+4
|
* Show job control ID, command text, etc. when foreground processes aretjr2002-08-171-7/+2
| | | | | | suspended. This is a followup to rev. 1.51. MFC after: 1 week
* Add ut to xterm (which was removed from vt* it refers)ache2002-08-171-1/+1
|
* In continuation of early fileop credential changes, modify fo_ioctl() torwatson2002-08-1722-79/+138
| | | | | | | | | | | | | | | | | | | | | | accept an 'active_cred' argument reflecting the credential of the thread initiating the ioctl operation. - Change fo_ioctl() to accept active_cred; change consumers of the fo_ioctl() interface to generally pass active_cred from td->td_ucred. - In fifofs, initialize filetmp.f_cred to ap->a_cred so that the invocations of soo_ioctl() are provided access to the calling f_cred. Pass ap->a_td->td_ucred as the active_cred, but note that this is required because we don't yet distinguish file_cred and active_cred in invoking VOP's. - Update kqueue_ioctl() for its new argument. - Update pipe_ioctl() for its new argument, pass active_cred rather than td_ucred to MAC for authorization. - Update soo_ioctl() for its new argument. - Update vn_ioctl() for its new argument, use active_cred rather than td->td_ucred to authorize VOP_IOCTL() and the associated VOP_GETATTR(). Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Cosmetic-only changes for readability.hsu2002-08-172-652/+556
| | | | | Reviewed by: (early form passed by) bde Approved by: itojun (from core@kame.net)
* Revert change to detect multiply PHYs in mii code. There might be casesambrisko2002-08-162-5/+7
| | | | | | | | | when this is needed. Work around bogus second PHY in the DFE-580 card via a change in the if_ste.c driver. Suggested by: jdp Reviewed by: jdp MFC after: 3 days
* Updates to cmd6workaround:njl2002-08-161-15/+18
| | | | | | | | | * Only update cdb in place if not CDB_POINTER * Correctly check for QFRZ before restarting CCB * More accurate printf message * style(9) changes at end Patch tested successfully on Maxtor 4 G120J6 GAK8.
* Further improved the performance of sbreserve() by moving the calculationdg2002-08-162-10/+52
| | | | | | of the adjusted sb_max into a sysctl handler for sb_max and assigning it to a variable that is used instead. This eliminates the 32bit multiply and divide from the fast path that was being done previously.
* Change a POSIX conditional to use the new __BSD_VISIBLE macro.mike2002-08-161-11/+11
| | | | | | | | | | | | | Fix the following style bugs: o #ifdef, #ifndef, and #undef should be followed by a space, not a tab. o The second level of indentation in prototypes is 4 characters even when the function names are indented 1 extra character. o Type qualifiers that appear next to a * need a seperating space so that the qualifier isn't easily confused with parameter names. (eg. `char * __restrict' instead of `char *__restrict') Submitted by: bde (mostly)
* Fix more breakage due to FSTYPENAMES/DKTYPENAMES split.bmilekic2002-08-163-0/+3
| | | | Also submitted by: David Wolfskill <david@catwhisker.org>
* Fix libc build breakage by defining FSTYPENAMES before includingbmilekic2002-08-161-0/+1
| | | | | | | disklabel.h; broken originally by 1.87 of sys/disklabel.h, which made the split between DKTYPENAMES and FSTYPENAMES. Someone who knows disklabel.c: do we still need DKTYPENAMES to be defined here now?
* Regen:sheldonh2002-08-161-37/+62
| | | | | * Hart: rev 321 of pcidevs.txt (2002-08-11) * Boemler: vendors.txt (2002-08-10)
* Complete list of differences between ipfw1 and ipfw2.luigi2002-08-161-10/+93
|
* Wrap maintenance of varios nmac{objectname} counters in MAC_DEBUG so werwatson2002-08-1611-0/+416
| | | | | | | | can avoid the cost of a large number of atomic operations if we're not interested in the object count statistics. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Correct white space nits that crept in during my recent merges ofrwatson2002-08-162-3/+3
| | | | trustedbsd_mac material.
* Add swidth definitions and lex code to mklocalekeichii2002-08-161-0/+4
| | | | | | | | | After adding swidth support in iswctype.c and ctype.h Submitted by: clkao@clkao.org Reviewed by: keichii,ache Obtained from: NetBSD MFC after: 1 month
* Add iswctype wcwidth function codekeichii2002-08-161-0/+10
| | | | | | | Submitted by: clkao@clkao.org Reviewed by: keichii Obtained from: NetBSD MFC after: 1 month
* Add swidth definition for wchar stuffkeichii2002-08-162-0/+12
| | | | | | | Submitted by: clkao@clkao.org Reviewed by: keichii Obtained from: NetBSD MFC after: 1 month
* Make similar changes to fo_stat() and fo_poll() as made earlier torwatson2002-08-1616-82/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fo_read() and fo_write(): explicitly use the cred argument to fo_poll() as "active_cred" using the passed file descriptor's f_cred reference to provide access to the file credential. Add an active_cred argument to fo_stat() so that implementers have access to the active credential as well as the file credential. Generally modify callers of fo_stat() to pass in td->td_ucred rather than fp->f_cred, which was redundantly provided via the fp argument. This set of modifications also permits threads to perform these operations on behalf of another thread without modifying their credential. Trickle this change down into fo_stat/poll() implementations: - badfo_poll(), badfo_stat(): modify/add arguments. - kqueue_poll(), kqueue_stat(): modify arguments. - pipe_poll(), pipe_stat(): modify/add arguments, pass active_cred to MAC checks rather than td->td_ucred. - soo_poll(), soo_stat(): modify/add arguments, pass fp->f_cred rather than cred to pru_sopoll() to maintain current semantics. - sopoll(): moidfy arguments. - vn_poll(), vn_statfile(): modify/add arguments, pass new arguments to vn_stat(). Pass active_cred to MAC and fp->f_cred to VOP_POLL() to maintian current semantics. - vn_close(): rename cred to file_cred to reflect reality while I'm here. - vn_stat(): Add active_cred and file_cred arguments to vn_stat() and consumers so that this distinction is maintained at the VFS as well as 'struct file' layer. Pass active_cred instead of td->td_ucred to MAC and to VOP_GETATTR() to maintain current semantics. - fifofs: modify the creation of a "filetemp" so that the file credential is properly initialized and can be used in the socket code if desired. Pass ap->a_td->td_ucred as the active credential to soo_poll(). If we teach the vnop interface about the distinction between file and active credentials, we would use the active credential here. Note that current inconsistent passing of active_cred vs. file_cred to VOP's is maintained. It's not clear why GETATTR would be authorized using active_cred while POLL would be authorized using file_cred at the file system level. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* MFNetBSD: 1.51joe2002-08-161-4/+5
| | | | | Move a quirk tests so the message printed about directionality is right.
* MFNetBSD: (1.50) Get rid of trailing white space.joe2002-08-161-5/+5
|
* sys/netinet/ip_fw2.c:luigi2002-08-163-163/+642
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the M_SKIP_FIREWALL bit in m_flags to avoid loops for firewall-generated packets (the constant has to go in sys/mbuf.h). Better comments on keepalive generation, and enforce dyn_rst_lifetime and dyn_fin_lifetime to be less than dyn_keepalive_period. Enforce limits (up to 64k) on the number of dynamic buckets, and retry allocation with smaller sizes. Raise default number of dynamic rules to 4096. Improved handling of set of rules -- now you can atomically enable/disable multiple sets, move rules from one set to another, and swap sets. sbin/ipfw/ipfw2.c: userland support for "noerror" pipe attribute. userland support for sets of rules. minor improvements on rule parsing and printing. sbin/ipfw/ipfw.8: more documentation on ipfw2 extensions, differences from ipfw1 (so we can use the same manpage for both), stateful rules, and some additional examples. Feedback and more examples needed here.
* Forgot to change branches for my src tree. MFS my birthdate.seanc2002-08-161-0/+1
| | | | | | Pointed out by: maxim Reviewed by: knu (mentor) Approved by: knu (mentor)
* MFNetBSD:joe2002-08-161-6/+6
| | | | | | | revision 1.127 date: 2002/08/07 20:03:19; author: augustss; lines: +4 -8 Fix some braindead calls to free memory (only encountered under low memory conditions). From OpenBSD.
* make the strings for tcptimers, tanames and prurequests const to silencealfred2002-08-163-3/+3
| | | | warnings.
* forgot to actually commit the DK/FS TYPES split, do it now.alfred2002-08-163-3/+3
|
OpenPOWER on IntegriCloud