summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove paths that are listed as compulsory (sorta). /usr/local is notmarkm1999-07-251-3/+3
| | | | | guaranteed to be there on a new system. This fixes whereis' "Could not stat file..." errors.
* Add comments, change variable names to make them consistent (r -> err,n_hibma1999-07-2511-155/+173
| | | | timo_handle -> timeout_handle, p -> pipe, *pipe -> *rpipe, etc.)
* asprintf() does use realloc() internally, but saying so in the manpage can behoek1999-07-251-4/+2
| | | | | misinterpreted to mean that the pointer passed to asprintf() must be suitable for passing to realloc() as-is (ie. either a NULL pointer or a valid pointer).
* On FPU exceptions, pass a useful error code (one of the FPE_...cracauer1999-07-2514-119/+705
| | | | | | | | | | | | | | | | macros) to the signal handler, for old-style BSD signal handlers as the second (int) argument, for SA_SIGINFO signal handlers as siginfo_t->si_code. This is source-compatible with Solaris, except that we have no <siginfo.h> (which isn't even mentioned in POSIX 1003.1b). An rather complete example program is at http://www3.cons.org/cracauer/freebsd-signal.c This will be added to the regression tests in src/. This commit also adds code to disable the (hardware) FPU from userconfig, so that you can use a software FP emulator on a machine that has hardware floating point. See LINT.
* Add a sensible message if an invalid ID was enteredn_hibma1999-07-251-1/+3
| | | | | | PR: 8739 Submitted by: Love lha@stacken.kth.se Reviewed by: Doug Rabson <doug@freebsd.org>
* Make this compile on the Alpha. I'm not 100% sure about this but Ipeter1999-07-252-38/+4
| | | | | think it's ok. ti_bhandle is fetched from newbus on both the Alpha and x86, the Alpha-only ti_vhandle is gone.
* Remember to clear the IFF_RUNNING and IFF_OACTIVE flags in sf_stop() andwpaul1999-07-254-8/+26
| | | | sk_stop().
* This commit adds device driver support for Adaptec Duralink PCI fastwpaul1999-07-2523-16/+6434
| | | | | | | | | | | | | | | | | | | | | ethernet controllers based on the AIC-6915 "Starfire" controller chip. There are single port, dual port and quad port cards, plus one 100baseFX card. All are 64-bit PCI devices, except one single port model. The Starfire would be a very nice chip were it not for the fact that receive buffers have to be longword aligned. This requires buffer copying in order to achieve proper payload alignment on the alpha. Payload alignment is enforced on both the alpha and x86 platforms. The Starfire has several different DMA descriptor formats and transfer mechanisms. This driver uses frame descriptors for transmission which can address up to 14 packet fragments, and a single fragment descriptor for receive. It also uses the producer/consumer model and completion queues for both transmit and receive. The transmit ring has 128 descriptors and the receive ring has 256. This driver supports both FreeBSD/i386 and FreeBSD/alpha, and uses newbus so that it can be compiled as a loadable kernel module. Support for BPF and hardware multicast filtering is included.
* Don't set DE_ACCESS for unsuccessful reads.bde1999-07-252-16/+24
| | | | | | | | | | Translated from: a similar fix in ufs_readwrite.c rev.1.61. Don't forget to set DE_ACCESS for short reads. Check for invalid (negative) offsets before checking for reads of 0 bytes, as in ufs, although checking for invalid offsets at all is probably a bug.
* Don't set IN_ACCESS for requests to read 0 bytes or for unsuccessful reads.bde1999-07-252-4/+8
| | | | | | Translated from: similar fixes in ufs_readwrite.c rev.1.61. Things are simpler (but annoyingly different) here because there are no vm optimisations.
* Fixed access timestamp bugs:bde1999-07-251-5/+17
| | | | | | | | | | Set IN_ACCESS for successful reads of 0 bytes (except for requests to read 0 bytes). This was broken in rev.1.42. PR: misc/10148 Don't set IN_ACCESS for requests to read 0 bytes. Don't set IN_ACCESS for unsuccessful reads.
* Added CyQ've ELA-010 Ethernet Cardhosokawa1999-07-252-2/+14
|
* 3C574TX Fast Etherlink PC-card support.hosokawa1999-07-252-2/+18
|
* 3C574TX 16bit FastEtherlink PC-card support.hosokawa1999-07-254-12/+80
| | | | | Reviewed by: HAMADA Naoki <nao@tom-yam.or.jp> Submitted by: Osamu MIHARA <mihara@prd.fc.nec.co.jp>
* Increased max kmem to 200MB. This should fix some out-of-kmem panics ondg1999-07-242-4/+4
| | | | large systems.
* Add mx and ax modules for the Macronix and ASIX drivers and update thewpaul1999-07-243-3/+60
| | | | modules Makefile so they get built.
* Convert the ASIX and Macronix drivers to newbus.wpaul1999-07-244-341/+384
|
* Oops, the previous commit only worked in the one case it was tested for.bde1999-07-242-4/+6
|
* Update intpm driver.nsouch1999-07-241-6/+17
| | | | | PR: kern/12631 Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
* Apply suggested patch- seems reasonable.mjacob1999-07-242-5/+29
| | | | | PR: 12020 Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
* Recognise NetBSD slices.rnordier1999-07-241-3/+4
| | | | | Submitted by : Lars Koeller <lkoeller@cc.fh-lippe.de> PR : 12772
* Add -n to the example and explanation of the internal auth service.green1999-07-241-3/+4
|
* Correct a groff error in macro usage ("foo : bar" becomes "``foo: bar''").green1999-07-241-3/+9
| | | | Document the auth -n flag.
* More cleanups, asprintf() usage (proper, as opposed to using snprintf()),green1999-07-241-12/+36
| | | | and addition of a -n .noident-checking flag.
* Update the manpage for the number of symlinks in ELOOPn_hibma1999-07-241-2/+4
| | | | | PR: 12634 (partial) Submitted by: Julian H. Stacey jhs@FreeBSD.ORG
* Clean up to match style(9) more closely. This should fix the problem ofgreen1999-07-241-6/+5
| | | | people having ants in their pants ;)
* Correct a typo (22th -> 22nd)n_hibma1999-07-241-33/+34
| | | | | | | | | Remove some whitespace Fix a problem where any event on the Last whatever of the month was duplicated after the last day of the month (e.g. 32oct.) PR: 4907 Submitted by: Mikhail Teterin mi@aldan.algebra.com
* Use comments to group functions by service more clearly. I've used thesheldonh1999-07-241-2/+31
| | | | excuse of providing the RFC numbers for the associated services.
* Style nits:sheldonh1999-07-241-5/+8
| | | | | | | | | | | * Bring memory allocation failure handling in line with that of the rest of the code. * Nestle block curlies between case statements correctly. I've left the in-block declarations alone, since style(9) says we should conform to the existing style within the code, and inetd already does this. I've left the asprintf()'s in there because that's how Brian wants it.
* Fix typo.n_hibma1999-07-241-1/+1
| | | | | PR: 12784 Submitted by: Doug <Doug@gorean.org>
* - Correctly initialize cn_dev_t and cn_udev_t.yokota1999-07-243-13/+19
| | | | | | - Add D_TTY for alpha. Reviewed by: bde, dfr
* Do not print resource values which are not set.yokota1999-07-241-7/+7
| | | | Reviewed by: dfr
* This makes the in kernel printf routines conform to the documenteddfr1999-07-245-29/+42
| | | | | | behavior of their userland counterparts with respect to return values. Submitted by: Matthew N. Dodd <winter@jurai.net>
* When we fetch previously retrieved IP fragments from the aliasbrian1999-07-242-8/+10
| | | | | | | | tables, copy them correctly back into our mbuf rather giving a bzero'd count to memcpy() and ending up with a 0 byte fragment. The old code resulted in a 0 byte write to the tun device which tickled a bug that resulted in a panic :-(
* Backed out previous commit. devname.3 and devname.c were broken in Lite1bde1999-07-241-4/+6
| | | | | | | | (devname() returned "??" when the lookup failed, but callers expected it to return NULL). This was fixed in Lite2, but until recently the changes were only merged into devname.3. A day or two after devname.c was fixed, devname.3 was made inconsistent again by backing out most of the Lite2 changes.
* atomic.h:alc1999-07-236-35/+14
| | | | | | | | | | | | | | | | | Change "void *" to "volatile TYPE *", improving type safety and eliminating some warnings (e.g., mp_machdep.c rev 1.106). cpufunc.h: Eliminate setbits. As defined, it's not precisely correct; and it's redundant. (Use atomic_set_int instead.) ipl_funcs.c: Use atomic_set_int instead of setbits. systm.h: Include atomic.h. Reviewed by: bde
* Regenerate to match changes made in the embedded yacc parser.hoek1999-07-231-28/+70
|
* Regenerate this file. This fixes a y2k bogon. As an unintentional side-effect,hoek1999-07-231-33/+75
| | | | | | | | it also fixes that fact that this file badly needed to be regenerated due to changes in yacc. Not done by: pst (in misc/1380) Almost done by: danny (in ftp.y)
* (1) Avoid ambigous if/elsebillf1999-07-231-3/+4
| | | | | | | PR: bin/12768 Submitted By: Stephen J. Roznowski <sjr@home.net> (2) Follow KNF
* fix a problem w/ zero byte writes to the tunnel device. It would bypassjmg1999-07-231-1/+1
| | | | | | | | | | the loop and not set an error, so we would then try to access an invalid mbuf... PR: 12780 Submitted by: bright@rush.net aka zb^3 a new record in length a pr was open... only about a half hour...
* Clean up the buffer allocation code a bit. Make sure to initialize certainwpaul1999-07-234-58/+64
| | | | | | | | | | | critical mbuf fields to sane values. Simplify the use of ETHER_ALIGN to enforce payload alignment, and turn it on on the x86 as well as alpha since it helps with NFS which wants the payload to be longword aligned even though the hardware doesn't require it. This fixes a problem with the ti driver causing an unaligned access trap on the Alpha due to m_adj() sometimes not setting the alignment correctly because of incomplete mbuf initialization.
* Grrr. Return the rman_get_bustag()/rman_get_bushandle() lines to theirwpaul1999-07-232-4/+10
| | | | | proper place in ti_attach(). I'm positive I typed them in there, but they must have fallen victim to a drive-by cut & pasting.
* Document the -o and -t options to the internal auth service and give ansheldonh1999-07-232-14/+13
| | | | | | | | | example of their usage in the sample config. Merge the two examples for the green internal auth service. This commit failed the first time around because Brian beat me to the punch on inetd.8 . I like my descriptions better and I'm pretty sure Brian won't mind.
* Ahem. Put things back a bit. I declare variables in the scope they'regreen1999-07-231-9/+13
| | | | | | used! I don't declare every variable at the top of a function because that wastes stack space. I've clarified the error a bit (for if asprintf() filas.)
* Disable more PC98isms on the Alphajkh1999-07-233-3/+27
|
* As per DES's prodding, document _all_ the arguments to inetd's authgreen1999-07-231-2/+8
| | | | | service. This includes the -o "operating system" argument and the -t "timeout" argument.
* Style cleanups for iderror() and ident_stream(). Looks like c++ hang-over.sheldonh1999-07-231-25/+24
| | | | ;-)
* Fix auth -t argument handling. It was broken for the "sec.usec" case.sheldonh1999-07-231-4/+5
| | | | Add a warning for bogus -t arguments for the (debug) case.
* Set correct "flags" value when pccardd allocates/initializes driver.hosokawa1999-07-231-1/+2
|
* Don't match up TCP services with UDP sockets.des1999-07-231-3/+4
|
OpenPOWER on IntegriCloud