summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* libscsi is obsoleted by CAM.Justin T. Gibbs1998-09-175-1652/+2
| | | | Notes: svn path=/head/; revision=39402
* Fix some Alpha portability problems, and add some belt-and-suspendersKenneth D. Merry1998-09-161-9/+44
| | | | | | | | | | checking in some functions. Submitted by: dfr Modified by: ken Notes: svn path=/head/; revision=39381
* Adjust the declarations of kvm_read and kvm_write to match reality a littleDoug Rabson1998-09-161-2/+2
| | | | | | | closer. Notes: svn path=/head/; revision=39353
* Change to a code sequence which is more likely to work on SMP systems.Doug Rabson1998-09-162-40/+16
| | | | | | | Now all I need is an alpha SMP box to port FreeBSD to :-) Notes: svn path=/head/; revision=39352
* Sort table and descriptions.Joseph Koshy1998-09-161-7/+7
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=39334
* Replace memory leaking instances of realloc with non-leaking reallocf.Warner Losh1998-09-1634-67/+70
| | | | | | | | | | | | | | In some cases replace if (a == null) a = malloc(x); else a = realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is guaranteed to be the same thing. I've been running these on my system here w/o ill effects for some time. However, the CTM-express is at part 6 of 34 for the CAM changes, so I've not been able to do a build world with the CAM in the tree with these changes. Shouldn't impact anything, but... Notes: svn path=/head/; revision=39327
* o Don't reference non-existant function freealloc.Warner Losh1998-09-161-4/+4
| | | | | | | | | o Properly order things Pointed out by: bde Notes: svn path=/head/; revision=39325
* Fix style problems noted by Bruce:Warner Losh1998-09-162-8/+35
| | | | | | | | | o No copyright on reallocf. o Order makefile list correctly. o indent reallocf properly. Notes: svn path=/head/; revision=39322
* Bump minor version number and add version.c to update to version 0.4Bill Fenner1998-09-151-3/+7
| | | | | | | PR: bin/7877 Notes: svn path=/head/; revision=39295
* Don't initialize NIS until it is really necessary. Now, in case of networkDmitrij Tejblum1998-09-151-55/+71
| | | | | | | | | or NIS server problems, local user can login without a pause. Also, -Wsomething cleanup. Notes: svn path=/head/; revision=39283
* (this is an extract from src/share/examples/atm/README)Poul-Henning Kamp1998-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | =================================== HARP | Host ATM Research Platform =================================== HARP 3 What is this stuff? ------------------- The Advanced Networking Group (ANG) at the Minnesota Supercomputer Center, Inc. (MSCI), as part of its work on the MAGIC Gigabit Testbed, developed the Host ATM Research Platform (HARP) software, which allows IP hosts to communicate over ATM networks using standard protocols. It is intended to be a high-quality platform for IP/ATM research. HARP provides a way for IP hosts to connect to ATM networks. It supports standard methods of communication using IP over ATM. A host's standard IP software sends and receives datagrams via a HARP ATM interface. HARP provides functionality similar to (and typically replaces) vendor-provided ATM device driver software. HARP includes full source code, making it possible for researchers to experiment with different approaches to running IP over ATM. HARP is self-contained; it requires no other licenses or commercial software packages. HARP implements support for the IETF Classical IP model for using IP over ATM networks, including: o IETF ATMARP address resolution client o IETF ATMARP address resolution server o IETF SCSP/ATMARP server o UNI 3.1 and 3.0 signalling protocols o Fore Systems's SPANS signalling protocol What's supported ---------------- The following are supported by HARP 3: o ATM Host Interfaces - FORE Systems, Inc. SBA-200 and SBA-200E ATM SBus Adapters - FORE Systems, Inc. PCA-200E ATM PCI Adapters - Efficient Networks, Inc. ENI-155p ATM PCI Adapters o ATM Signalling Protocols - The ATM Forum UNI 3.1 signalling protocol - The ATM Forum UNI 3.0 signalling protocol - The ATM Forum ILMI address registration - FORE Systems's proprietary SPANS signalling protocol - Permanent Virtual Channels (PVCs) o IETF "Classical IP and ARP over ATM" model - RFC 1483, "Multiprotocol Encapsulation over ATM Adaptation Layer 5" - RFC 1577, "Classical IP and ARP over ATM" - RFC 1626, "Default IP MTU for use over ATM AAL5" - RFC 1755, "ATM Signaling Support for IP over ATM" - RFC 2225, "Classical IP and ARP over ATM" - RFC 2334, "Server Cache Synchronization Protocol (SCSP)" - Internet Draft draft-ietf-ion-scsp-atmarp-00.txt, "A Distributed ATMARP Service Using SCSP" o ATM Sockets interface - The file atm-sockets.txt contains further information What's not supported -------------------- The following major features of the above list are not currently supported: o UNI point-to-multipoint support o Driver support for Traffic Control/Quality of Service o SPANS multicast and MPP support o SPANS signalling using Efficient adapters This software was developed under the sponsorship of the Defense Advanced Research Projects Agency (DARPA). Reviewed (lightly) by: phk Submitted by: Network Computing Services, Inc. Notes: svn path=/head/; revision=39271
* Turn off replies to ICMP echo requests for broadcast and multicastJoseph Koshy1998-09-151-2/+6
| | | | | | | | | | | | | | | | addresses by default. Add a knob "icmp_bmcastecho" to "rc.network" to allow this behaviour to be controlled from "rc.conf". Document the controlling sysctl variable "net.inet.icmp.bmcastecho" in sysctl(3). Reviewed by: dg, jkh Reminded on -hackers by: Steinar Haug <sthaug@nethelp.no> Notes: svn path=/head/; revision=39267
* Remove references to the "od" device.Justin T. Gibbs1998-09-152-5/+3
| | | | Notes: svn path=/head/; revision=39252
* Hook up libcam and libdevstat.Justin T. Gibbs1998-09-151-4/+4
| | | | Notes: svn path=/head/; revision=39251
* Add new files for HARP3Poul-Henning Kamp1998-09-158-0/+1642
| | | | | | | | | Host ATM Research Platform (HARP), Network Computing Services, Inc. This software was developed with the support of the Defense Advanced Research Projects Agency (DARPA). Notes: svn path=/head/; revision=39232
* Device statistics library. Used by iostat, vmstat, and systat toJustin T. Gibbs1998-09-154-0/+1755
| | | | | | | | | format and analyze the output of the new device statistics sysctls. Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org> Notes: svn path=/head/; revision=39211
* I hate late night commits. These should be nuked from the atticy byJustin T. Gibbs1998-09-154-0/+0
| | | | | | | the CVS meister. Notes: svn path=/head/; revision=39210
* CAM userland utility library, a replacement for libscsi.Justin T. Gibbs1998-09-158-0/+1774
| | | | | | | Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org> Notes: svn path=/head/; revision=39209
* Remove (wrong) OBJFORMAT setting.Mike Smith1998-09-151-6/+1
| | | | Notes: svn path=/head/; revision=39203
* Replace accidentally-deleted `x' which caused warnx() to misbehave.Garrett Wollman1998-09-151-2/+2
| | | | Notes: svn path=/head/; revision=39202
* Correct a typo that I noticed.Joseph Koshy1998-09-151-1/+1
| | | | Notes: svn path=/head/; revision=39201
* o use strncpy safelyWarner Losh1998-09-141-3/+8
| | | | | | | | | | o Only allow options and domain name to be set when we aren't running setuid. Obtained from: OpenBSD Notes: svn path=/head/; revision=39194
* Add reallocf to the library. This function is simliar to realloc, butWarner Losh1998-09-143-13/+42
| | | | | | | | | | | | | | | | when it returns NULL to indicate failure, it will also free the memory that was passed to it, if that was non-null. This does not change the semantics of realloc. A second commit will be done to commit the conversion of those places in the code that can safely use this to avoid memory leaks when confronted with low memory situations. Beaten-to-death-but-finally-approved-in: -current Notes: svn path=/head/; revision=39191
* Fix a cut 'n paste mistake.Luoqi Chen1998-09-132-8/+8
| | | | Notes: svn path=/head/; revision=39140
* Don't clobber errno if we are not going to fail.Dmitrij Tejblum1998-09-131-1/+4
| | | | Notes: svn path=/head/; revision=39127
* Don't lock newfd if it is not opened.Dmitrij Tejblum1998-09-131-3/+14
| | | | | | | PR: 5961 Notes: svn path=/head/; revision=39124
* In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork an aliasDmitrij Tejblum1998-09-129-9/+47
| | | | | | | | | | to fork. It is difficult to do real vfork in libc_r, since almost every operation with file descriptsor changes _thread_fd_table and friends. popen(3) works much better with this change. Notes: svn path=/head/; revision=39118
* Document the fact that shutdown(2) is expected to comply with Posix.1g,Garrett Wollman1998-09-121-3/+20
| | | | | | | when it happens. Notes: svn path=/head/; revision=39117
* Change return type of strptime from const char* to char*.Dmitrij Tejblum1998-09-122-5/+5
| | | | | | | const char* was wrong and nonstandard. Notes: svn path=/head/; revision=39113
* A small last-minute iitem for 3.0:Garrett Wollman1998-09-122-84/+124
| | | | | | | | | | | | - Fix some style errors I made back in 1995. - Add a new flavor of the err(3) family, which takes an explicit errno argument rather than implicitly examining errno. This will make it easier to use these functions in conjunction with modern library interfaces that return an errno value explicitly. Notes: svn path=/head/; revision=39112
* Use ellipsis in synopsis.Joseph Koshy1998-09-121-2/+6
| | | | | | | Requested by: bde Notes: svn path=/head/; revision=39086
* Define PBUFSIZ in terms of MAXPATHLEN rather than hard coding it toWarner Losh1998-09-111-4/+5
| | | | | | | | | 512. Obtained, I think, from: OpenBSD Notes: svn path=/head/; revision=39064
* $@ -> ${.TARGET}Warner Losh1998-09-112-35/+35
| | | | Notes: svn path=/head/; revision=39063
* $* -> ${.PREFIX}Warner Losh1998-09-111-1/+1
| | | | Notes: svn path=/head/; revision=39062
* Remove definition of malloc and realloc. Instead include stdlib.h.Warner Losh1998-09-111-5/+4
| | | | Notes: svn path=/head/; revision=39061
* $@ -> ${.TARGET}Warner Losh1998-09-111-2/+2
| | | | Notes: svn path=/head/; revision=39060
* Change obsolete $@ to ${.TARGET}.Warner Losh1998-09-111-1/+1
| | | | Notes: svn path=/head/; revision=39059
* Don't trust TMPDIR if we're setuid root. This is used only for theWarner Losh1998-09-111-2/+3
| | | | | | | | | | | | | backing file for an anonymous (memory based) btree, and I don't think that any setuid programs actually use it, but it is better to be safe than sorry. This has been in my tree for a long time, maybe a year or more... Inspired by: Similar changes in OpenBSD, if memory serves (like nearly a year ago) Notes: svn path=/head/; revision=39058
* Mention which system interface functions are signal-safe.Brian Somers1998-09-091-1/+103
| | | | | | | Suggested on -current by: Terry Lambert <tlambert@primenet.com> Notes: svn path=/head/; revision=39029
* Document a number of VM sysctl variables with help from old emailsGuy Helmer1998-09-091-1/+38
| | | | | | | written by John Dyson. Notes: svn path=/head/; revision=39022
* Fixed bug, caused threads to wait for locks which nobody hold.Dmitrij Tejblum1998-09-091-3/+3
| | | | | | | Fixed sign extension bug, caused undefined behavior if FILE live in stack. Notes: svn path=/head/; revision=39009
* Change ${MACHINE} into ${MACHINE_ARCH} to support MACHINE=pc98.KATO Takenori1998-09-092-12/+12
| | | | Notes: svn path=/head/; revision=38996
* Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98.KATO Takenori1998-09-091-5/+5
| | | | Notes: svn path=/head/; revision=38995
* Add $Id$, remove quoting for `...'.Joseph Koshy1998-09-091-1/+3
| | | | | | | Requested by: bde Notes: svn path=/head/; revision=38961
* Add a new library function getobjformat(). It checks all theJohn Polstra1998-09-093-3/+238
| | | | | | | | | | | | | | | | standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an indication of the user's preferred object file format. This consolidates some code that was starting to be duplicated in more and more places. Use the new function in ldconfig. Note: I don't think that gcc should use getobjformat(), even though it could. The compiler should limit itself to functions that are widespread, to ease porting and cross-compilation. Notes: svn path=/head/; revision=38960
* Add support for the RPC 64-bit integer type ``hyper''.David E. O'Brien1998-09-081-1/+57
| | | | Notes: svn path=/head/; revision=38952
* restore rev 1.23 to give clear SIGALRM handling example, 68 yearsAndrey A. Chernov1998-09-081-28/+16
| | | | | | | are too long to affect real code Notes: svn path=/head/; revision=38938
* Use ellipsis in the synopsis, and an appropriate explanation inJoseph Koshy1998-09-082-4/+12
| | | | | | | | | the text of the manual page. Suggested by: bde Notes: svn path=/head/; revision=38930
* Make profiling work for ELF. gprof now autodetects the format ofJohn Polstra1998-09-074-4/+50
| | | | | | | | | | | | | | the executable file, so it will work for both a.out and ELF format files. I have split the object format specific code into separate source files. It's cleaner than it was before, but it's still pretty crufty. Don't cheat on your make world for this update. A lot of things have to be rebuilt for it to work, including the compiler and all of the profiled libraries. Notes: svn path=/head/; revision=38928
* Removed unused variables.Alexander Langer1998-09-0719-37/+7
| | | | Notes: svn path=/head/; revision=38925