summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Only pick up so_error the first time through with EISCONN, as advertised.jlemon2001-03-021-1/+1
| | | | | | The sense of the test was reversed, so we were returning EISCONN, then 0. Pointed out and tested by: Martin Blapp <mb@imp.ch>
* setlocale(3) has been fixed to match POSIX standard:ru2001-03-0222-42/+30
| | | | LC_ALL takes precedence over other LC_* envariables.
* POSIX wrote:ru2001-03-023-30/+11
| | | | | | | | | | | | | : LC_TIME This variable shall determine the format and : contents of date and time strings when the -v : option is specified. Developers took this wrong. LC_TIME specifies the locale name, not the ``format'' argument of strftime(). Oops: pax -w -f /tmp/foo /dev/null LC_TIME=de_DE.ISO_8859-1 pax -v -f /tmp/foo
* Mismatched MFSNAMELEN and MNAMELEN with fstype / fspath.adrian2001-03-022-4/+4
| | | | Submitted by: Naoki Kobayashi <shibata@geo.titech.ac.jp>
* Removed duplicate $FreeBSD$.ru2001-03-021-2/+0
|
* Fix setlocale() to conform to the ISO C and POSIX standards.ru2001-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The below text is quoted from the latest POSIX draft: : The values of locale categories shall be determined by a precedence : order; the first condition met below determines the value: : : 1. If the LC_ALL environment variable is defined and is not null, : the value of LC_ALL shall be used. : 2. If the LC_* environment variable (LC_COLLATE, LC_CTYPE, LC_MESSAGES, : LC_MONETARY, LC_NUMERIC, LC_TIME) is defined and is not null, the : value of the environment variable shall be used to initialize the : category that corresponds to the environment variable. : 3. If the LANG environment variable is defined and is not null, the : value of the LANG environment variable shall be used. : 4. If the LANG environment variable is not set or is set to the empty : string, the implementation-defined default locale shall be used. The conditions 1 and 2 were interchanged, i.e., LC_* were looked first, then LC_ALL, then LANG (note that LC_ALL and LANG were essentially the same, providing the default, with LC_ALL taking precedence over LANG). Now, LC_ALL and LANG serve the different purposes. LC_ALL overrides any LC_*, and LANG provides the default fallback. Testcase: /usr/bin/env LC_ALL=C LC_TIME=de_DE.ISO_8859-1 /bin/date Should return date in the "C" locale format. Inspired by: date(1) reference page in the Draft
* mdoc(7) police: fix markup.ru2001-03-026-21/+27
|
* mdoc(7) police: in -offset clause, spell the ``indent'' correctly.ru2001-03-022-16/+16
|
* Change "NO_PROFILE_DATA" to "NO_PROFILE_COUNTERS" to match the commit byobrien2001-03-021-2/+2
| | | | | the FSF/GCC people in the stock 2.97 source that is like our custom change modulo the conditional compilation symbol.
* Merged from sys/i386/include/bus_at386.h revision 1.13.kato2001-03-021-1/+0
|
* Ack! I finally got annoyed enough to actually kill this. There is nopeter2001-03-023-11/+0
| | | | | | need to manually force the network_interfaces variable in /etc/rc.conf, and it only ever gets in the way. rc.network and rc.network6 DTRT with the default of 'auto'. This should have died over a year ago.
* Fix the rest of formatting.ru2001-03-021-27/+27
|
* Add -g group to usage message.imp2001-03-021-2/+4
| | | | | | | Don't treat pointer as a boolean, but instead test it against NULL. Add warning for groups that don't exist Submitted by: ru
* Switch to using 16 bit handles instead of 32 bit handles.mjacob2001-03-026-87/+150
| | | | | | | | | | | | | | | | | | | | | | | | | This is a pretty invasive change, but there are three good reasons to do this: 1. We'll never have > 16 bits of handle. 2. We can (eventually) enable the RIO (Reduced Interrupt Operation) bits which return multiple completing 16 bit handles in mailbox registers. 3. The !)$*)$*~)@$*~)$* Qlogic target mode for parallel SCSI spec changed such that at_reserved (which was 32 bits) was split into two pieces- and one of which was a 16 bit handle id that functions like the at_rxid for Fibre Channel (a tag for the f/w to correlate CTIOs with a particular command). Since we had to muck with that and this changed the whole handler architecture, we might as well... Propagate new at_handle on through int ct_fwhandle. Follow implications of changing to 16 bit handles. These above changes at least get Qlogic 1040 cards working in target mode again. 1080/12160 cards don't work yet. In isp.c: Prepare for doing all loop management in outer layers.
* Ok, the kernel will panic in kmem_malloc() if the kernel map is full, sojhb2001-03-021-4/+0
| | | | | | | malloc with M_WAITOK can't actually return NULL. I wish I could get two people to give me the same answer about this when I ask... Submitted by: jake
* Back out a removal that I was far to quick to apply. The root causemarkm2001-03-022-0/+6
| | | | has been fixed.
* version 1.7 made some changes to correct problems identifed by compilingmdodd2001-03-026-6/+0
| | | | | | | | | | | with egcs-1.1.1. bus_space_write_multi_2() had an extra operation that should have been removed. Remove it. This fixes the panic when bus_space_write_multi_2() is used. Obtained from: jake
* - Check to see if malloc() returned NULL even with M_WAITOK.jhb2001-03-021-1/+6
| | | | | | | - Add a KASSERT() to ensure an ithread has a backing kernel thread when we schedule it. - Don't attempt to preemptively switch to an ithread if p_stat of curproc is not SRUN.
* Fix isp_print_qentry to print all four lines- it's been broken for months.mjacob2001-03-021-2/+3
|
* Add link for resource_query_unit, now documented in theimp2001-03-021-0/+1
| | | | resource_query_string man page.
* Flesh out this man page a bit more. Add information aboutimp2001-03-021-20/+58
| | | | | | | | | resource_query_unit and improve the descriptions of the parameters passed to these functions. Plus a couple minor formatting/markup changes: o Quote -1 as \-1. o .Dq hints to match resource_int_value().
* Include `dbxelf.h' via tm.h (the approved FSF/GNU way) vs. in our MI header.obrien2001-03-021-1/+2
|
* Define "FREEBSD_NATIVE" in the freebsd-native header to reduce the amountobrien2001-03-022-1/+4
| | | | | | | of stuff (and thus length of error output) we put on the invocation command line. Also follow the new FSF/GNU style of giving the symbol a value so it can be used in `if()' statements in addition to `#if' so seldomly compiled in code (on some platforms) gets compiled always, to help reduce bit-rot.
* Move the obvious bits of mixed ELF and a.out support down into this MDobrien2001-03-021-0/+108
| | | | | | | header to reduce the difference of our sources to the stock GNU/FSF ones. While the mix binary format support was nice to have in the FreeBSD MI header as a frame work, it just clutters up too much and makes the FreeBSD MI header more different from the FSF/GNU stock one than it needs to be.
* Push as much as was easy of the mixed ELF & a.out support for the i386obrien2001-03-021-130/+21
| | | | | | into the i386 MD FreeBSD header. Also comment tweaking, continuation line style changes, and other minor changes to make this closer to the latest FSF/GNU 3.0 sources (to reduce my headache when 3.0 is imported).
* Add comments regarding enabling IPv6gshapiro2001-03-021-0/+4
| | | | Submitted by: ume
* There were a few changes missed when this file was converted toiedowse2001-03-021-3/+9
| | | | | | | | | | | | | newbus in revision 1.19. As a result, lnc was, I believe, broken for all PCI cards. The softc fields `lnc_btag' and `lnc_bhandle' were not initialised, `rap', `rdp' and `bdp' were initialised to the wrong values, and the size of the DMA ring memory was calculated incorrectly. Paul Richards has further cleanups in the pipeline, but this at least is enough to make the driver usable with VMware. Approved by: paul
* Spell deprecated correctly (dufault)imp2001-03-021-2/+3
| | | | | | | Suggest mergemaster in the 4.x-stable -> current upgrade (fenner) correct path to hints file (fenner) Submitted by: dufault, fenner.
* Add the LINPROCFS option.des2001-03-011-0/+1
| | | | Forgotten by: peter
* Do not need to define "VERSION" here -- we do it on the command line.obrien2001-03-011-3/+0
|
* New release notes: CMI8338/8738, CS4281 sound driver, ISO-9660 Unicode,bmah2001-03-012-21/+73
| | | | | | | | | ida crashdumps, login exports PAM environment variables, wall -g, make.conf CPUTYPE, CVS_RSH default now ssh. Updated release notes: ahc(4) updates, ICMP and TCP RSTs, random(4), MFCs noted: rc.syscons.
* Correctly emulate linux_connect. For nonblocking sockets, the behaviorjlemon2001-03-011-51/+21
| | | | | | | | is to return EINPROGRESS, EALREADY, (so_error ONCE), EISCONN. Certain linux applications rely on the so_error (normally 0) being returned in order to operate properly. Tested by: Thomas Moestl <tmoestl@gmx.net>
* Free lock before returning from process_worklist_item.mckusick2001-03-011-1/+3
| | | | Obtained from: Constantine Sapuntzakis <csapuntz@stanford.edu>
* Reviewed by: jlemonadrian2001-03-0132-175/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | An initial tidyup of the mount() syscall and VFS mount code. This code replaces the earlier work done by jlemon in an attempt to make linux_mount() work. * the guts of the mount work has been moved into vfs_mount(). * move `type', `path' and `flags' from being userland variables into being kernel variables in vfs_mount(). `data' remains a pointer into userspace. * Attempt to verify the `type' and `path' strings passed to vfs_mount() aren't too long. * rework mount() and linux_mount() to take the userland parameters (besides data, as mentioned) and pass kernel variables to vfs_mount(). (linux_mount() already did this, I've just tidied it up a little more.) * remove the copyin*() stuff for `path'. `data' still requires copyin*() since its a pointer into userland. * set `mount->mnt_statf_mntonname' in vfs_mount() rather than in each filesystem. This variable is generally initialised with `path', and each filesystem can override it if they want to. * NOTE: f_mntonname is intiailised with "/" in the case of a root mount.
* Allocate vm_page_array and vm_page_buckets from the end of the biggest chunkgallatin2001-03-011-18/+16
| | | | | | | | | | | | | of memory, rather than from the start. This fixes problems allocating bouncebuffers on alphas where there is only 1 chunk of memory (unlike PCs where there is generally at least one small chunk and a large chunk). Having 1 chunk had been fatal, because these structures take over 13MB on a machine with 1GB of ram. This doesn't leave much room for other structures and bounce buffers if they're at the front. Reviewed by: dfr, anderson@cs.duke.edu, silence on -arch Tested by: Yoriaki FUJIMORI <fujimori@grafin.fujimori.cache.waseda.ac.jp>
* The 'X' permission symbol is specified by POSIX.2, so don't say that itben2001-03-011-4/+2
| | | | | | | isn't. Obtained from: NetBSD Confirmed by: ru, wollman
* Turn on interrupt-entropy harvesting for all/any mass storage devicesmarkm2001-03-0132-38/+45
| | | | | | | I could find. I have no doubt missed a couple. Interrupt entropy harvesting is still conditional on the kern.random.sys.harvest_interrupt sysctl.
* Fix brokeness in rev. 1.6: this manpage appeared in NetBSD 1.4.ru2001-03-011-1/+1
| | | | Obtained from: NetBSD
* No longer an option. Config(8) is whining over LINT.markm2001-03-012-6/+0
|
* Add code to turn on the entropy harvesting sysctl's as early as possibledougb2001-03-012-0/+81
| | | | | | during the boot process. We're turning it on by default, based on the actual presence of a configured ethernet card, and/or ppp/tun devices. Of course, it's easy to disable in rc.conf.
* Put back several lines that I erroneously deleted in my previous commit. Thissobomax2001-03-011-0/+3
| | | | | | should fix recent segfault of `pkg_info -e'. Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>, knu
* Update the BUGS section.ru2001-03-011-12/+0
| | | | | The first bug is fixed in tmac.doc, revision 1.21. The second bug fixed in doc-common, revision 1.33.
* Fixed undesirable hyphenation on the dash of a flag argument.ru2001-03-011-1/+1
| | | | | | | | | | | | | | Example: .Sh SYNOPSIS .Nm natd .Fl unregistered-only .Fl proxy-only .Fl deny-incoming .Fl use-sockets .Fl same-ports Ported from: mdocNG
* Fixed two bugs with -tag lists.ru2001-03-011-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the -tag list definition didn't have a -width modifier, the first .It call was supposed to set the width depending on the first argument type; if it is a macro name, use the macro's width value; otherwise, use width value of `No'. The following two lists should produce identical output: .Bl -tag -width Er -compact .It Er EINVAL invalid argument .El .Bl -tag -compact .It Er EINVAL invalid argument .El If the outermost -tag list definition did't have a -width modifier, the .It elements of inner lists might not work (producing a list where each successive element `walks' to the right). Example: .Bl -tag -compact .It outer .It outer .Bl -tag -compact .It inner .It inner .El .It outer .It outer .El Ported from: mdocNG
* mdoc(7) police: misc fixes.ru2001-03-011-8/+5
|
* Correct English used.asmodai2001-03-011-7/+7
|
* Numerous formatting/content fixes.ru2001-03-011-23/+28
|
* Hook Warner's resource_* manpages to the build.asmodai2001-03-011-1/+5
| | | | | This includes appropriate MLINKS for the other functions contained within them.
* Remove leading . from .Nd description.asmodai2001-03-011-1/+1
|
* Fix typo: the the -> to the.asmodai2001-03-011-5/+6
|
OpenPOWER on IntegriCloud