summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - latest 2ndbuffer patchcg1999-12-2914-200/+486
| | | | | | | - make chn_setdir work for rec on isa cards - note: es1371 does not irq in smp Submitted by: tanimura
* Add the Id for the NeoMagic 256ZX, the display from which I'm seeing this..billf1999-12-291-0/+2
|
* Only print "couldn't install distributions" popup if anyjkh1999-12-292-6/+10
| | | | | actual distributions were found to go along with the residual mask value.
* Add support for building the 'mlx?' devices, which will be used by themsmith1999-12-291-1/+9
| | | | upcoming 'mlxcontrol' utility.
* Hookup the info docs.obrien1999-12-291-0/+2
|
* Make tcp_drain() actually do something. When invoked (usually as amsmith1999-12-282-0/+58
| | | | | | | | | | | desperation measure in low-memory situations), walk the tcpbs and flush the reassembly queues. This behaviour is currently controlled by the debug.do_tcpdrain sysctl (defaults to on). Submitted by: Bosko Milekic <bmilekic@dsuper.net> Reviewed by: wollman
* Build and install the GASP info page. Unfortunately there is no manpage.obrien1999-12-281-0/+16
|
* Use the *much* more readable unified diff format.obrien1999-12-282-3/+3
|
* -Wall and minor style(9) cleanups.deischen1999-12-2821-46/+42
|
* Change stack allocation algorithm to make better use of memorydeischen1999-12-286-66/+60
| | | | | (it was leaving an unused block). Also protect the global stack pointer from context changes while fiddling with it.
* Don't wakeup threads when there is a process signal and no installeddeischen1999-12-283-69/+111
| | | | | | | | handler. Thread-to-thread signals (pthread_signal) are treated differently than process signals; a pthread_signal can wakeup a blocked thread if a signal handler is not installed for that signal. Found by: ACE tests
* Build openssl properly during make world.kris1999-12-281-1/+4
|
* Avoid to write garbage if uiomove fails.bp1999-12-282-0/+8
|
* Fix an overflow in the msdosfs_read() function which exposed on the filesbp1999-12-282-6/+6
| | | | | | | | with size > 2GB. PR: 15639 Submitted by: Tim Kientzle <kientzle@acm.org> Reviewed by: phk
* It is possible that number of sectors specified in the BPBbp1999-12-284-12/+28
| | | | | | | | will exceed FAT capacity. This will lead to kernel panic while other systems just limit number of clusters. PR: 4381, 15136 Reviewed by: phk
* Typo cops.hoek1999-12-281-1/+1
|
* Add history: The reallocf() function first appeared in FreeBSD-3.0.hoek1999-12-281-0/+5
| | | | | See imp's 199808201619.KAA20970@harmony.village.org in freebsd-hackers (the reallocf.c cvs history mistakenly refers to freebsd-current).
* Add ".Xref tolower 3" since its internal use is inferred in DESCRIPTION.hoek1999-12-281-1/+2
|
* Avoid the potentially confusing term "a null pointer" and say "the NULLhoek1999-12-282-3/+3
| | | | | | | pointer" instead. The potential confusion arises because the string/*.3 pages use the term "null-terminated string" (which is permissable). Moreover, this also makes these two manpages more consistent with the other string/*.3 manpages.
* Add .Xrefs to tolower.3 and toupper.3, respectively.hoek1999-12-282-0/+2
|
* Better handling groff failures. If popen(ROFF_COMMAND) returns zero bytesphantom1999-12-281-3/+5
| | | | | | | then handle it as problem. This commit fixes problem with archiving empty files. PR: gnu/5767 Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Use the ctype.h version of isascii() - it doesn't loose precision and thinkpeter1999-12-281-1/+1
| | | | | | that 0x100 (int) is an ascii character. Submitted by: bde
* Take into account the fact that "[" may be called with a path,sheldonh1999-12-281-1/+6
| | | | | | | | for example "/bin/[". Reported by: Vlad Skvortsov <vss@ulstu.ru> Reported by: Peter Jeremy <peter.jeremy@alcatel.com.au> Message-Id: 99Dec27.111307est.40321@border.alcanet.com.au
* Make cloning mask sockaddr (genmask) possible.ru1999-12-281-1/+2
| | | | | PR: kern/3061 Reviewed by: wollman
* Added following modes:kato1999-12-283-16/+56
| | | | | | | | | | | 5in HD 2 heads, 77 cylinders, 8 sectors/track, 1024 bytes/sector 5/3.5in DD 2 heads, 80 cylinders, 8 sectors/track, 512 bytes/sector Meanings of the rogrammer-readeble fd name were explained by Brian Fundakowski Feldman and Peter Wemm in hackers list and NOKUBI Hirotaka. Reviewed by: nyan
* Fix a panic when doing non-multiples of PAGE_SIZE or misaligned transferspeter1999-12-281-1/+13
| | | | | | to a swap backed vn device. OK'ed by: dillon
* Fix the swap backed vn case - this was broken by my rev 1.128 topeter1999-12-282-22/+50
| | | | | | | | | | | | | | | | | | swap_pager.c and related commits. Essentially swap_pager.c is backed out to before the changes, but swapdev_vp is converted into a real vnode with just VOP_STRATEGY(). It no longer abuses specfs vnops and no longer needs a dev_t and /dev/drum (or /dev/swapdev) for the intermediate layer. This essentially restores the vnode interface as the interface to the bottom of the swap pager, and vm_swap.c provides a clean vnode interface. This will need to be revisited when we swap to files (vnodes) - which is the other reason for keeping the vnode interface between the swap pager and the swap devices. OK'ed by: dillon
* Suppress vast quantities of unneeded warnings spewed by libc's gethostbydnsrwatson1999-12-281-3/+4
| | | | | | | on encountering a real-world SIG record during a lookup of another type. PR: bin/7352 Reviewed by: peter, eivind
* Correctly handle a user-requested abort in the middle of displaying amsmith1999-12-281-2/+4
| | | | | | | help subtopic. PR: kern/13196 Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
* Add display of maximum allowed mbuf count to match mbuf cluster count.msmith1999-12-281-3/+11
| | | | Submitted by: Bosko Milekic <bmilekic@dsuper.net>
* Actively limit the allocation of mbufs to NMBUFS/nmbufs and mbuf clustersmsmith1999-12-281-2/+22
| | | | | | | | to NMBCLUSTERS/nmbclusters/kern.ipc.nmbclusters. Add a read-only sysctl kern.ipc.nmbufs matching kern.ipc.nmbclusters. Submitted by: Bosko Milekic <bmilekic@dsuper.net>
* Fix a small typo in the comments.billf1999-12-281-1/+1
|
* Dedocument one of the BUGS listed in the last commit. The bug (needlesshoek1999-12-281-3/+0
| | | | | | | calculation of line numbers) never existed and the two bugs that made me think it existed have been fixed (see recent commits about this date to linenum.c:r.1.3 and ch.c:r.1.8 fixing broken line-number buffering and braindead algorithms respectively).
* Rather than use an LRU-ordered circular list to store buffered data,hoek1999-12-281-35/+65
| | | | | | | | | | | | | | | simply keep an index into the last access on the circular list and begin searches at that point. An LRU list is inappropriate here since the vast majority of accesses will occur in the same order that the list is created in. The only case where an LRU is remotely useful here is when reading from a file and the user is jumping to randomish positions and constantly returning to some central position. Even for this case it is such a small optimization as not to be noticed in an interactive program such as more(1). This change results in a _tremendously_ noticable speed-up when reading long files through a pipe (where long = ~200k, machine = ~2.5h single-disk worldstone).
* Small bug fix and improvementsshin1999-12-283-3/+20
| | | | | | | | (1)added error check of if_nameindex() return value at getaddrinfo(). (2)print out more detailed information when getaddrinfo() error value is EAI_SYSTEM.(in this case system error num is kept in errno) (1) is Discovered by: jinmei@kame.net in KAME environment.
* Upgrade to the pam_ssh module, version 1.1..green1999-12-282-24/+346
| | | | | | | | | | (From the author:) Primarily, I have added built-in functions for manipulating the environment, so putenv() is no longer used. XDM and its variants should now work without modification. Note that the new code uses the macros in <sys/queue.h>. Submitted by: Andrew J. Korty <ajk@iu.edu>
* Work around an assert failure in the dynamic linker's default threadjdp1999-12-286-16/+37
| | | | | | | | | | | | | | | | locking functions. If an application loads a shared object with dlopen() and the shared object has an init function which requires lazy binding, then _rtld_bind is called when the thread is already inside the dynamic linker. This leads to a recursive acquisition of the lock, which I was not expecting -- hence the assert failure. This work-around makes the default locking functions handle recursive locking. It is NOT the correct fix -- that should be implemented at the generic locking level rather than in the default locking functions. I will implement the correct fix in a future commit. Since the dllockinit() interface will likely need to change, warn about that in both the man page and the header file.
* Delete dead code and clean comments a little.hoek1999-12-282-8/+15
|
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-2849-52/+14758
| | | | | | | Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* This commit adds device driver support for the ADMtek AN986 Pegasuswpaul1999-12-2831-31/+2072
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB ethernet chip. Adapters that use this chip include the LinkSys USB100TX. There are a few others, but I'm not certain of their availability in the U.S. I used an ADMtek eval board for development. Note that while the ADMtek chip is a 100Mbps device, you can't really get 100Mbps speeds over USB. Regardless, this driver uses miibus to allow speed and duplex mode selection as well as autonegotiation. Building and kldloading the driver as a module is also supported. Note that in order to make this driver work, I had to make what some may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer() function will use tsleep() for synchronous transfers that don't complete right away. This is a problem since there are times when we need to do sync transfers from an interrupt context (i.e. when reading registers from the MAC via the control endpoint), where tsleep() us a no-no. My hack allows the driver to have the code poll for transfer completion subject to the xfer->timeout timeout rather that calling tsleep(). This hack is controlled by a quirk entry and is only enabled for the ADMtek device. Now, I'm sure there are a few of you out there ready to jump on me and suggest some other approach that doesn't involve a busy wait. The only solution that might work is to handle the interrupts in a kernel thread, where you may have something resembling a process context that makes it okay to tsleep(). This is lovely, except we don't have any mechanism like that now, and I'm not about to implement such a thing myself since it's beyond the scope of driver development. (Translation: I'll be damned if I know how to do it.) If FreeBSD ever aquires such a mechanism, I'll be glad to revisit the driver to take advantage of it. In the meantime, I settled for what I perceived to be the solution that involved the least amount of code changes. In general, the hit is pretty light. Also note that my only USB test box has a UHCI controller: I haven't I don't have a machine with an OHCI controller available. Highlights: - Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part. - Updated usbdevs and regenerated generated files - Updated HARDWARE.TXT and RELNOTES.TXT files - Updated sysinstall/device.c and userconfig.c - Updated kernel configs -- device aue0 is commented out by default - Updated /sys/conf/files - Added new kld module directory
* Two nits and disable isa probe due to its overly agressive claiming ofimp1999-12-282-4/+4
| | | | | | | | | | | | devices. o Return ENXIO from sn_isa_probe o Fix SN_DEBUG printf o Use IFQ_MAXLEN rather than 8 I'll fix the isa probe when I get access to a real isa attachment device to test against here in a few days. Overly agressive snagging behavior noticed by: phk
* Correctly maintain state when manipulating linked lists. This fixes ahoek1999-12-271-3/+8
| | | | | bug that prevented the line-number buffer from working correctly. AFAIK the bug is still present in other derivatives of more(1).
* Add ipsec_esp option to files which depend on crypto.shin1999-12-271-15/+15
| | | | | | Now you can build a kernel which support IPsec message authentication but don't support message encryption, by defining IPSEC in your kernel config file and not defining IPSEC_ESP.
* Initialize unitialized variable from prev. commit.hoek1999-12-271-1/+1
|
* Fixed breakage of static linkage of rlogind. Someone added -lutil andbde1999-12-271-4/+5
| | | | -lcom_err to some libpam modules without updating LIBPAM here.
* Fixed some bugs (one serious one: timeouts were claimed to be executed atbde1999-12-271-4/+41
| | | | | | | | spl0) and some bitrot (the not-so-new callout_init/stop/reset functions were not mentioned; the callout_activate/deactivate/pending macros are still not mentioned). Submitted by: mostly by jlemon
* Fix typo "," vs ";"peter1999-12-272-2/+2
| | | | | PR: 15696 Submitted by: Takashi Okumura <taka@cs.pitt.edu>
* Fixed namespace pollution in rev.1.24 (don't implement <sys/signal.h> here).bde1999-12-271-4/+5
| | | | Fixed long lines.
* Synced with sys/isa/sio.c rev 1.282.kato1999-12-272-10/+96
|
* Synced with sys/i386/isa/clock.c rev 1.148. This is a cosmetic changekato1999-12-273-12/+48
| | | | | because PC-98 doesn't have RTC and RTC related code is included by `#ifndef PC98' and `#endif'.
OpenPOWER on IntegriCloud