summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Oops, the previous log message should have been:bde1999-04-101-1/+1
| | | | | | | | Include <machine/ansi.h> so that this file is self-sufficient again. Rev.1.6 doesn't do this as claimed unless <nlist.h> has nonstandard pollution. Cleaned up includes.
* Declare mkstemps().bde1999-04-092-4/+6
|
* Add a new function dlversion() which returns the version number ofjdp1999-04-071-1/+2
| | | | | | the dynamic linker in the same form as __FreeBSD_version. This is mainly intended for checking the dynamic linker version during a make world.
* Add prototypes for pread and pwrite.dt1999-04-041-0/+2
|
* o Runnable threads are now maintained in priority queues. Thejb1999-03-232-36/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation requires two things: 1.) The priority queues must be protected during insertion and removal of threads. Since the kernel scheduler must modify the priority queues, a spinlock for protection cannot be used. The functions _thread_kern_sched_defer() and _thread_kern_sched_undefer() were added to {un}defer kernel scheduler activation. 2.) A thread (active) priority change can be performed only when the thread is removed from the priority queue. The implementation uses a threads active priority when inserting it into the queue. A by-product is that thread switches are much faster. A separate queue is used for waiting and/or blocked threads, and it is searched at most 2 times in the kernel scheduler when there are active threads. It should be possible to reduce this to once by combining polling of threads waiting on I/O with the loop that looks for timed out threads and the minimum timeout value. o Functions to defer kernel scheduler activation were added. These are _thread_kern_sched_defer() and _thread_kern_sched_undefer() and may be called recursively. These routines do not block the scheduling signal, but latch its occurrence. The signal handler will not call the kernel scheduler when the running thread has deferred scheduling, but it will be called when running thread undefers scheduling. o Added support for _POSIX_THREAD_PRIORITY_SCHEDULING. All the POSIX routines required by this should now be implemented. One note, SCHED_OTHER, SCHED_FIFO, and SCHED_RR are required to be defined by including pthread.h. These defines are currently in sched.h. I modified pthread.h to include sched.h but don't know if this is the proper thing to do. o Added support for priority protection and inheritence mutexes. This allows definition of _POSIX_THREAD_PRIO_PROTECT and _POSIX_THREAD_PRIO_INHERIT. o Added additional error checks required by POSIX for mutexes and condition variables. o Provided a wrapper for sigpending which is marked as a hidden syscall. o Added a non-portable function as a debugging aid to allow an application to monitor thread context switches. An application can install a routine that gets called everytime a thread (explicitly created by the application) gets context switched. The routine gets passed the pthread IDs of the threads that are being switched in and out. I found this useful, but we can get rid of it if you want. Submitted by: Dan Eischen <eischen@vigrid.com>
* Nuke old copies of /usr/include/timepps.hphk1999-03-221-1/+2
|
* Remove <timepps.h> here as well.phk1999-03-111-2/+2
| | | | | You will need to manually rip it from /usr/include if it gives you any trouble.
* removed from PPS-API draftphk1999-03-111-86/+0
|
* Use __i386__ instead of i386 in an ifdef.bde1999-03-051-3/+3
|
* Added functions fseeko() and ftello() (from susv2).dt1999-02-081-1/+3
| | | | | | | Fixed fgetpos() and fsetpos() for offsets > 2GB. PR: 8637 Submitted by: Dan Nelson <dnelson@emsphone.com> (adjusted by me a little)
* Removed evil typedef kvm_swap_t and all uses of it (not many).bde1999-01-271-5/+5
| | | | Hoped for by: wollman
* Oops, forgot this. Needed by libkvm.dillon1999-01-231-1/+14
|
* Add a prototype for strtok_r().jdp1999-01-201-0/+1
|
* Use the correct type for uid and gid in struct passwd. Document it.des1999-01-181-2/+2
|
* Install <sys/aio.h> as <aio.h>.dt1999-01-171-2/+2
|
* Instead of a wrapper <linker_set.h>, use a symlink tojdp1999-01-142-37/+3
| | | | | | <sys/linker_set.h>. Submitted by: bde
* Add a wrapper <linker_set.h> for <sys/linker_set.h>, so thatjdp1999-01-142-2/+36
| | | | userland programs can use linker sets.
* optreset is a POSIX extension, make it visible in POSIX_SOURCE scope.msmith1999-01-111-1/+1
| | | | Submitted by: Andrzej Bialecki <abial@nask.pl>
* Move nologin from /etc to /var/run. This means one less file that hasasami1999-01-111-1/+1
| | | | | | | | | to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version)
* POSIX introduced optreset to deal with multiple invocationsmsmith1999-01-111-0/+1
| | | | | | | | | | of getopt (as in, multiple input lines :). This is documented in the man page and is used in the code, but unistd.h and stand.h do not declare it. Incidentally, it prevents me fixing a bug in loader's code... :-) PR: misc/9373 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
* Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.dt1999-01-041-7/+4
|
* Implement fpsetmask() and other fp*() functions. Programs should usedfr1998-12-232-2/+27
| | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Install <sys/inttypes.h> as <inttypes.h>.dt1998-12-191-2/+2
|
* Little reorganization:dt1998-12-191-5/+3
| | | | | | | | | | - created internal names for fixed-size integral types, like __int32_t. They will be used to make several headers self-sufficient. - <stdlib.h> don't include <machine/types.h> anymore. - created <sys/inttypes.h>, which can be used as <inttypes.h>. - declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>. Reviewed by: bde
* Declare size_t and ssize_t if they are not already declared, so thatbde1998-12-161-6/+15
| | | | | | | | | | | | | | | <kvm.h> is self-sufficient again. Moved typedefs and forward struct declarations out of __BEGIN_DECLS/ __END_DECLS. Don't comment out the prototype for kvm_uread(). This was a 4 year old kludge for previous breakage of self-sufficiency. The prototypwe was broken instead. Fixed bitrot (const poisoning) in the type of kvm_uread(). Fixed order of the declaration of kvm_uread().
* Make this protototype of mmap return void *, like two other copies.dt1998-12-141-2/+2
|
* Make rcsid a const char[] instead of char[] to avoid compiler warningsarchie1998-12-0610-10/+10
|
* Add support for pthread_mutexattr_settype(). As a side effect ofeivind1998-11-281-2/+8
| | | | testing this, fix MUTEX_TYPE_COUNTING_FAST. Recursive locks now work.
* Don't forget to use the appropriate __printf*like attribute for verr*bde1998-11-221-11/+14
| | | | | | | | and vwarn*. Sorted attributes. UnFrom'ed vendor id.
* 64bit clean nowdima1998-11-081-1/+1
|
* Add support for -Wformat consistency checking between format stringsjdp1998-10-291-7/+7
| | | | | | | and their argument lists for the err(3) family of functions. Note, I intentionally used __printflike instead of __printf0like for warnx. Although a NULL format string is legal for that function, it doesn't make any sense.
* 64bit fixes.dima1998-10-271-9/+9
| | | | | | | (Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem somewhere is the physio() area) Submitted by: myself && Matt Dillon.
* make talk/talkd work on alpha.dima1998-10-201-3/+3
|
* Don't even think about using a sysctl to build osreldate.h, since thisbde1998-10-171-17/+4
| | | | | | | | | | breaks cross-builds. Just depend on ${.CURDIR}/../sys/conf/newvers.sh existing. Don't override the (correct) defaults for the depend, lint or tags target. In LDIRS: fixed order-rot. Don't comment out dead networking directories; remove them.
* Move auth.conf path in here. Doesn't affect published interface.jkh1998-10-091-0/+1
|
* back out h2ph from here, Bruce found another proper placeache1998-10-021-4/+1
|
* Add h2ph call to afterinstall targetache1998-10-021-1/+4
| | | | Error code ignored to allow building without perl installed
* #ifdef out DES ioctls which don't exist in FreeBSD. These originatedwpaul1998-09-261-0/+10
| | | | | | | | | with the SunRPC code to allow the use of hardware DES on certain Sun hardware that supported it (if you installed the appropriate kit). We don't have them and they apparently break the ioctl table generation for kdump. Pointed out by: bde
* Don't declare functions without a prototype if KERNEL is defined. Thisbde1998-09-212-4/+11
| | | | fixes lots of warnings about missing prototypes in sys/netatm/spans/*.
* Build headers with -DWANT_NFS3.obrien1998-09-171-2/+2
| | | | (finishing up on Amd upgrade)
* Adjust the declarations of kvm_read and kvm_write to match reality a littledfr1998-09-161-2/+2
| | | | closer.
* (this is an extract from src/share/examples/atm/README)phk1998-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.
* Add new cam include hierarchy.gibbs1998-09-151-3/+3
|
* Add reallocf to the library. This function is simliar to realloc, butimp1998-09-141-0/+1
| | | | | | | | | | | | | 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
* Change return type of strptime from const char* to char*.dt1998-09-121-1/+1
| | | | const char* was wrong and nonstandard.
* A small last-minute iitem for 3.0:wollman1998-09-121-1/+6
| | | | | | | | | - 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.
* Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98.kato1998-09-091-4/+4
|
* Add a new library function getobjformat(). It checks all thejdp1998-09-092-2/+41
| | | | | | | | | | | | | 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.
* Add support for the RPC 64-bit integer type ``hyper''.obrien1998-09-081-1/+3
|
* Remove the extern decl of ``h_errno''. It's alreadybrian1998-09-071-10/+1
| | | | | | externed in netdb.h - where all of its #define values live. If anything requires h_errno here (nothing in /usr/src seems to) it's almost definitely broken.
OpenPOWER on IntegriCloud