summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-192-13/+13
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-194-13/+13
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-192-4/+4
| | | | | | | reserved word Submitted by: jkh Obtained from: TrustedBSD Project
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-196-10/+10
| | | | | | | | reserved word. Part 2 of syscalls.master commit to catch rebuilt files. Submitted by: jkh Obtained from: TrustedBSD Project
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-1911-75/+75
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-192-14/+14
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-191-2/+3
| | | | | | | | reserved word, causing breakage when a C++ program included libutil.h This change will be propagated elsewhere shortly. Submitted by: jkh Obtained from: TrustedBSD Project
* This is an MFC candidate.gibbs2001-03-193-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | aic7xxx.c: Correct code that traverses the phase table. A much too quick push to staticize this structure resulted in non-functional lookup code. This corrects the printing of the phase where a timeout occurred. aic7xxx.reg: Use FIFOQWDEMP as the name for bit 5 of DFSTATUS just like the Adaptec data books. aic7xxx.seq: Refine the 2.1 PCI retry bug workaround for certain, non-ULTRA2, controllers. When the DMA of an SCB completes, it can take some time for HDONE to come true after MREQPEN (PCI memory request pending) falls. If HDONE never comes true, we are in the hung state and must manually drain the FIFO. We used to test HDONE for 3 clock cycles to detect this condition. This works on all of the hardware I can personally test. Some controllers were reported to take 4 clock cycles, so the last version of this code waited 4 clock cycles. This still didn't work for everyone. To fix this, I've adjusted the work around so that even if the hardware hasn't hung, but we run the work-around code, the result is a long winded way to complete the transfer, rather than a hang.
* o Change options FFS_EXTATTR and options FFS_EXTATTR_AUTOSTART torwatson2001-03-195-25/+25
| | | | | | | | | | | | | options UFS_EXTATTR and UFS_EXTATTR_AUTOSTART respectively. This change reflects the fact that our EA support is implemented entirely at the UFS layer (modulo FFS start/stop/autostart hooks for mount and unmount events). This also better reflects the fact that [shortly] MFS will also support EAs, as well as possibly IFS. o Consumers of the EA support in FFS are reminded that as a result, they must change kernel config files to reflect the new option names. Obtained from: TrustedBSD Project
* Add the following POSIX 1003.1e functions and man pages:jedgar2001-03-1911-2/+752
| | | | | | | | | o acl_calc_mask(): calculates the ACL mask entry associated with the given ACL. o acl_delete_entry(): remove a specified ACL entry from the given ACL. Approved by: rwatson
* Show the bzero() bandwidth in kBps instead of Bps; use u_int32_t insteaddes2001-03-193-9/+9
| | | | | | | of long and int64_t; and print the result as an unsigned long. This should make the output from the bzero() test more readable, and avoid printing a negative bandwidth. Note that this doesn't change the decision process, since that is based on time elapsed, not on computed bandwidth.
* pcm driver for S3 Sonicvibes chipset.orion2001-03-195-0/+1145
| | | | Reviewed by: Cameron Grant
* Document fix for 'going nowhere without my init' install bug.wilko2001-03-181-0/+3
| | | | Thanks to: jkh / obrien
* Libraries should _never_ call exit() themselves (or its alternate spellingobrien2001-03-189-33/+33
| | | | | | | | | | | `err()'). libdisk does! and additionally libdisk gets confused on Alpha disks with foreign disklabels, throws up its hands and exits. This is the cause of the "going no where without my init" install bug on the Alpha. So now on the Alpha, rather than call err(), we print the error string and continue processing. Submitted by: jkh
* Correct typo in usage.ume2001-03-181-1/+1
| | | | Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Use a module name of 'if_lnc' in both the PCI and ISA sections ofiedowse2001-03-182-2/+2
| | | | | | | | | | | | the driver. Doing this breaks the ability to unload the unneeded parts of the driver (e.g unload the PCI section when using an ISA card), but currently ifconfig(8) expects an interface `XXX' to have a driver name of `if_XXX'. PR: kern/25582 Submitted by: Alexander N. Kabaev <kabaev@mail.ru>, imp (apparently Warner suggested a similar fix some time ago). Reviewed by: paul (who would prefer to see ifconfig changed instead)
* Fix typo: s/DRIVERMODULE/DRIVER_MODULE/alex2001-03-181-2/+2
| | | | | PR: 25901 Submitted by: Maxime Henrion <mux@qualys.com>
* Add `ipv6_ifconfig_IFN_aliasN' directive to allow multiple aliases.ume2001-03-183-1/+20
| | | | PR: conf/24239
* s/protocol-cloned/cloned/ I have missed in 1.24 -> 1.25.ru2001-03-181-1/+1
|
* Make sure the cached forwarding route (ipforward_rt) is still up beforeru2001-03-181-19/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using it. Not checking this may have caused the wrong IP address to be used when processing certain IP options (see example below). This also caused the wrong route to be passed to ip_output() when forwarding, but fortunately ip_output() is smart enough to detect this. This example demonstrates the wrong behavior of the Record Route option observed with this bug. Host ``freebsd'' is acting as the gateway for the ``sysv''. 1. On the gateway, we add the route to the destination. The new route will use the primary address of the loopback interface, 127.0.0.1: : freebsd# route add 10.0.0.66 -iface lo0 -reject : add host 10.0.0.66: gateway lo0 2. From the client, we ping the destination. We see the correct replies. Please note that this also causes the relevant route on the ``freebsd'' gateway to be cached in ipforward_rt variable: : sysv# ping -snv 10.0.0.66 : PING 10.0.0.66: 56 data bytes : ICMP Host Unreachable from gateway 192.168.0.115 : ICMP Host Unreachable from gateway 192.168.0.115 : ICMP Host Unreachable from gateway 192.168.0.115 : : ----10.0.0.66 PING Statistics---- : 3 packets transmitted, 0 packets received, 100% packet loss 3. On the gateway, we delete the route to the destination, thus making the destination reachable through the `default' route: : freebsd# route delete 10.0.0.66 : delete host 10.0.0.66 4. From the client, we ping destination again, now with the RR option turned on. The surprise here is the 127.0.0.1 in the first reply. This is caused by the bug in ip_rtaddr() not checking the cached route is still up befor use. The debug code also shows that the wrong (down) route is further passed to ip_output(). The latter detects that the route is down, and replaces the bogus route with the valid one, so we see the correct replies (192.168.0.115) on further probes: : sysv# ping -snRv 10.0.0.66 : PING 10.0.0.66: 56 data bytes : 64 bytes from 10.0.0.66: icmp_seq=0. time=10. ms : IP options: <record route> 127.0.0.1, 10.0.0.65, 10.0.0.66, : 192.168.0.65, 192.168.0.115, 192.168.0.120, : 0.0.0.0(Current), 0.0.0.0, 0.0.0.0 : 64 bytes from 10.0.0.66: icmp_seq=1. time=0. ms : IP options: <record route> 192.168.0.115, 10.0.0.65, 10.0.0.66, : 192.168.0.65, 192.168.0.115, 192.168.0.120, : 0.0.0.0(Current), 0.0.0.0, 0.0.0.0 : 64 bytes from 10.0.0.66: icmp_seq=2. time=0. ms : IP options: <record route> 192.168.0.115, 10.0.0.65, 10.0.0.66, : 192.168.0.65, 192.168.0.115, 192.168.0.120, : 0.0.0.0(Current), 0.0.0.0, 0.0.0.0 : : ----10.0.0.66 PING Statistics---- : 3 packets transmitted, 3 packets received, 0% packet loss : round-trip (ms) min/avg/max = 0/3/10
* Fix typo in the commentache2001-03-181-1/+1
|
* Convert to new locale format with md_order and without E[Ff]_fmtache2001-03-1861-276/+262
| | | | Add ampm_fmt to all locales
* Relax local FreeBSD restrictions on 3 chars abbrev. name length and %c formatache2001-03-185-37/+37
| | | | | | | | | | | | since they not allows POSIXly legal locale data. Currently, if relaxed form POSIXly legal locale data will be used right now, some programs will be broken, but it means that either locale data or programs must be fixed, not the library. Introduce non-standard md_order (month/day order) locale field to be used later via nl_langinfo(). Currently %EF and %Ef emulated using this field, but they planned for remove in future in favour of nl_langinfo() test field. Implement %F per POSIX
* Fix core noted in -stable with 'auth disable SRA'.nsayer2001-03-182-4/+4
| | | | | I just mistakenly commited this to RELENG_4. I have contacted Jordan to see about how to fix this. Pass the pointy hat.
* Make 'A' and 'a', 'B' and 'b' the same, per POSIXache2001-03-181-26/+16
|
* - Add iso88025_ifdetach().mdodd2001-03-181-110/+276
| | | | | - Add support for 802.2 type IPX frames. - Cleanup iso88025_output() and iso88025_output() a bit.
* - Define payload length constants for 4Mbps and 16Mbps.mdodd2001-03-181-12/+22
| | | | | | | | - Use explicit sizes for header structure fields. - Use __attribute__ ((__packed__)) for header structures. - Define struct iso88025_rif; for future use. - Prototype upcoming iso88025_ifdetach() - Get rid of __P() constructs in prototypes.
* properly document the loadConfig optionjkh2001-03-182-4/+4
|
* o Caused FFS_EXTATTR_AUTOSTART to scan two sub-directories of ".attribute"rwatson2001-03-182-16/+33
| | | | | | | | | | | | | | | | | | | | | | | | off of the file system root: "user" for user attributes, and "system" for system attributes. When the scan occurs, attribute backing files discovered in those directories will be started in the respective namespaces. This re-introduces support for auto-starting of user attributes, which was removed when the "$" prefix for system attributes was replaced with explicit namespacing. For users of the TrustedBSD UFS POSIX.1e ACL code, you'll need to: mv ${FSROOT}/'$posix1e.acl_access' ${FSROOT}/system/posix1e.acl_access mv ${FSROOT}/'$posix1e.acl_default' ${FSROOT}/system/posix1e.acl_default For users of the TrustedBSD POSIX.1e Capability code, you'll need to: mv ${FSROOT}/'$posix1e.cap' ${FSROOT}/system/posix1e.cap For users of the TrustedBSD MAC code, you'll need to: mv ${FSROOT}/'$freebsd.mac' ${FSROOT}/system/freebsd.mac Updated versions of relevant patches will be released in the near future. Obtained from: TrustedBSD Project
* Fix a couple of things in the internal mbuf allocation interface:bmilekic2001-03-171-8/+8
| | | | | | | | | | | | | | | - Make sure that m_mballoc() really doesn't allow over nmbufs mbufs to be allocated from mb_map. In the case where nmbufs-reserved space is not an exact multiple of PAGE_SIZE (which it should be, but anyway...), we hold nmbufs as an absolute maximum which need not ever be reached. - Clean up m_clalloc(); make it more consistent in the sense that the first argument `ncl' really means "the number of clusters ensured to be allocated" and not "the number of pages worth of clusters to be allocated," as was previously the case. This also makes it consistent with m_mballoc() as well as the comment that preceeds it. Reviewed by: jlemon
* Ignore comments in /etc/passwdbrian2001-03-171-1/+1
| | | | | PR: 25845 Submitted by: Udo Schweigert <ust@cert.siemens.de>
* Remove unused locale/nls directories.ache2001-03-171-6/+0
| | | | Corresponding fixes for "make release" already commited elsewhere.
* Don't link et_EE with 8859-1ache2001-03-171-2/+4
|
* DIS -> ISOache2001-03-175-7/+7
|
* Attempt to make "make release" work again. Without a nls/fi_FI.DIS_8859-15phk2001-03-171-0/+2
| | | | tcsh barfs.
* destroy child devices on detach to prevent ever-increasing numbers ofcg2001-03-171-7/+10
| | | | | pcm/midi devices trying to attach if the module is repeatedly loaded and unloaded.
* Correct the arguments to the extattrct()l call so that the enable andtmm2001-03-171-3/+3
| | | | | | disable commands work as documented. Approved by: rwatson
* Nuke non-standard EAI_RESNULL.ume2001-03-173-15/+1
|
* Merged from sys/i386/conf/GENERIC revision 1.305 (moved the fxp driverkato2001-03-171-1/+1
| | | | into the miibus section.)
* s/over 3500 ports/over 4500 ports/peter2001-03-171-1/+1
| | | | MFC candidate. :-) The RELENG_4 version says 3000 still.
* Unrevert something which shouldn't have been reverted in the previous revert.phk2001-03-171-0/+1
| | | | (Yes, I'm going to bed now to get some much needed sleep...)
* Fix some further style nitsbrian2001-03-171-8/+11
| | | | Pointed out by: bde
* Add a new entrypoint to the hashes in libmd:phk2001-03-1711-14/+115
| | | | | | | | | char * FooFileChunk(const char *filename, char *buf, off_t offset, off_t length) Which only hashes part of a file. Implement FooFile() in terms of this function. Submitted by: roam
* Use a generic implementation of the Fowler/Noll/Vo hash (FNV hash).peter2001-03-1714-78/+86
| | | | | | | | | | | | | | | | | Make the name cache hash as well as the nfsnode hash use it. As a special tweak, create an unsigned version of register_t. This allows us to use a special tweak for the 64 bit versions that significantly speeds up the i386 version (ie: int64 XOR int64 is slower than int64 XOR int32). The code layout is a little strange for the string function, but I was able to get between 5 to 10% improvement over the original version I started with. The layout affects gcc code generation choices and this way was fastest on x86 and alpha. Note that 'CPUTYPE=p3' etc makes a fair difference to this. It is around 45% faster with -march=pentiumpro on a p6 cpu.
* Backout my previous commit, it appearantly doesn't work for asynchronousphk2001-03-173-55/+8
| | | | messages.
* Unbreak "make installworld"markm2001-03-171-0/+4
|
* Dramatically improve the **lame** nfs_hash(). This is based on thepeter2001-03-172-16/+32
| | | | | | | | | | | | | Fowler / Noll / Vo Hash (http://www.isthe.com/chongo/tech/comp/fnv/). This improves hash coverage a *massive* amount. We were seeing one set of machines that were using 0.84% of their 131072 entry nfsnode hash buckets with maximum chain lengths of up to ~500 entries. The machine was spending nearly 100% of its time in 'system'. A test with this has pushed the coverage from a few perCent up to 91% utilization with a max chain length of 11. Submitted by: David Filo
* Fix the building of the aac driver as a module. Add a comment about enablingscottl2001-03-171-1/+2
| | | | debug information for the driver.
* Always call resource_int_value function for getting portsize and msize.nyan2001-03-171-4/+6
| | | | | | It was not set resource size (portsize/msize) if resource address was set. This is MFC candidate.
* Really fix NWAY negotiation for the 82553 PHY. Locking down thejlemon2001-03-171-2/+12
| | | | | | | media interface selection should not imply disabling NWAY negotiaton as well. Problem pointed out by: peter
OpenPOWER on IntegriCloud