summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add stub implementations of pthread_[gs]etconcurrency to libc_r andjdp2003-04-201-0/+2
| | | | | | | | | libthr. No changes were made to libpthread by request of deischen, who will soon commit a real implementation for that library. PR: standards/50848 Submitted by: Sergey A. Osokin <osa@freebsd.org.ru> MFC after: 1 week
* Revert the definitions of _PW_KEY* to their previous values. There isnectar2003-04-181-8/+27
| | | | | | | | | | at least one consumer outside of libc and pwd_mkdb. Adjust the versioning in libc and pwd_mkdb accordingly. named was the application affected, and that fact was first Reported by: Zherdev Anatoly <tolyar@mx.ru> Sponsored by: DARPA, Network Associates Laboratories
* = Implement thread-safe versions of the getpwent(3) and getgrent(3)nectar2003-04-172-12/+35
| | | | | | | | | | | | | | | | | | | | | | family of functions using the new nsdispatch(3) core. Remove arbitrary size limits when using the thread-safe versions. = Re-implement the traditional getpwent(3)/getgrent(3) functions on top of the thread-safe versions. = Update the on-disk format of the hashed version of the passwd(5) databases to allow for versioned entries. The legacy version is `3'. (Don't ask.) = Add support for version `4' entries in the passwd(5) database. Entries in this format are identical to version 3 entries except that all integers are stored as 32-bit integers in network byte order (big endian). = pwd_mkdb is updated to generate both version 3 and version 4 entries. Sponsored by: DARPA, Network Associates Laboratories
* = Implement name service switch modules (NSS modules). NSS modulesnectar2003-04-173-14/+133
| | | | | | | | | | | | | | | | | | | | | may be built into libc (`static NSS modules') or dynamically loaded via dlopen (`dynamic NSS modules'). Modules are loaded/initialized at configuration time (i.e. when nsdispatch is called and nsswitch.conf is read or re-read). = Make the nsdispatch(3) core thread-safe. = New status code for nsdispatch(3) `NS_RETURN', currently used to signal ERANGE-type issues. = syslog(3) problems, don't warn/err/abort. = Try harder to avoid namespace pollution. = Implement some shims to assist in porting NSS modules written for the GNU C Library nsswitch interface. Sponsored by: DARPA, Network Associates Laboratories
* Dynamic object dependency mapping: libmap.mdodd2003-04-071-0/+1
| | | | | | | This is an optional feature, disabled by default. This will be useful to people testing the various POSIX threading libraries under -CURRENT but can easily serve other needs.
* - Add setfstab() and getfstab().mdodd2003-04-071-0/+2
| | | | | - Use the environment variable 'PATH_FSTAB' if set rather than the hardcoded '/etc/fstab' (fstab.h:_PATH_FSTAB)
* - Define sigwait, sigtimedwait, and sigwaitinfo in terms ofjeff2003-03-311-1/+1
| | | | | | kern_sigtimedwait() which is capable of supporting all of their semantics. - These should be POSIX compliant but more careful review is needed before we announce this.
* MFp4: Implementations of the wcstof() and wcstold() functions.tjr2003-03-131-0/+3
|
* Replace our ancient dtoa/strtod implementation with the gdtoadas2003-03-121-3/+3
| | | | | | | | | | | | | | | | | | package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now. As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first. Reviewed by: bde (briefly), mike (mentor), obrien
* Clean up some signed/unsigned issues in the XDR code.nectar2003-03-071-1/+1
| | | | Obtained from: OpenBSD
* Drop netns from include file installationpeter2003-03-051-1/+1
|
* Eliminate 19 warnings in libc (at level WARNS=2) of thenectar2003-02-271-0/+5
| | | | `implicit declaration of function' variety.
* Implement dlinfo() function.kan2003-02-131-3/+34
| | | | | | | | | | Introdice RTLD_SELF special handle and properly process it within dlsym() and dlinfo() functions. The intention is to improve our compatibility with Solaris and to make a Java port easier. Partially submitted by: phantom
* Add pthread_attr_getstack() and pthread_attr_setstack().alfred2003-02-101-0/+4
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Install geom include files.phk2003-02-081-1/+1
|
* unifdef -D_THREAD_SAFEfjoe2003-01-241-4/+0
|
* In the absence of consensus as to implement stubs for these TSH-shadedwollman2003-01-231-12/+0
| | | | | | routines, remove their declarations. Even though rwlocks have the same functions, XBDft does not shade those declarations so I am leaving them in. (This is probably a bug in the Standard.)
* o Move the contents of <machine/floatingpoint.h> over tomarcel2003-01-191-4/+2
| | | | | | | | | | | | | | | <machine/ieeefp.h> where it belongs. o Remove the i386 specific inclusion of <machine/floatingpoint.h> from <ieeefp.h>, now that including <machine/ieeefp.h> is enough for all architectures. o Allow <machine/ieeefp.h> to inline the functions exposed by the headers by checking for _IEEEFP_INLINED_ in the MI header. When defined, prototypes are not given and it is assumed that the MD headers, when inlining only a subset of the functions provide prototypes for the functions not being inlined. Based on patch from: Terry Lambert <tlambert2@mindspring.com> Tested with: make release.
* Sync with NetBSD -- sl_add() now returns an int.obrien2003-01-191-1/+1
|
* MFCrypto: update RFC assigned telnet options (r1.9)billf2003-01-181-3/+8
|
* Implement non-blocking tcp-connections.mbr2003-01-162-1/+8
| | | | | | Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* Add prototypes for the non-standard _unlocked functions.tjr2003-01-131-0/+6
|
* No need to support UL_GETSIZE and UL_SETSIZE anymore; they are about to betjr2003-01-081-9/+0
| | | | renamed in RELENG_5_0.
* pthread_attr_get_np() now takes 'pthread_t' (not 'pthread_t *')fjoe2003-01-071-1/+1
| | | | to be consistent with other pthread_XXX functions
* Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these aretjr2003-01-041-2/+11
| | | | | the names required by 1003.1-2001. The old names are retained for source compatibility with FreeBSD 5.0 and will be removed before 6.0.
* Bracket the prototype for ulimit() with __BEGIN_DECLS/__END_DECLStjr2003-01-041-0/+4
| | | | so that it can be called from C++.
* Describe WRDE_NOCMD in the same way that we describe the rest of the flags.tjr2003-01-031-1/+1
|
* Implement POSIX grantpt(3) functionality, and add a pt_chown utility (akinjmallett2003-01-021-4/+4
| | | | | | | | to Solaris, it is in /usr/libexec) to perform the handing over of tty nodes to the user being granted the pty. Submitted by: Ryan Younce <ryany@pobox.com> Reviewed by: security-officer@, standards@, mike@
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-014-4/+4
| | | | especially in troff files.
* Back out the s/int */size_t */ commit.obrien2002-12-301-1/+1
| | | | | It makes a difference on 64-bit arches, and no one really wants a 2^64 block size [yet].
* Install /sys/dev/firewire/*.h under /usr/include/dev/firewiresimokawa2002-12-301-2/+2
| | | | for userland utilities.
* o Add typedef for off_t, pid_t, and useconds_t.mike2002-12-291-6/+17
| | | | | o Use useconds_t where appropriate. o Fix a bug in typedef for uid_t (5.0-R candidate).
* Unbreak for the !__XSI_VISIBLE case when another header that definestjr2002-12-261-5/+5
| | | | size_t has not been included first.
* Add "restrict" qualifiers to the prototype for wordexp().tjr2002-12-261-1/+1
|
* Add the POSIX <wordexp.h> header file.tjr2002-12-262-1/+77
| | | | PR: 13420
* MB_LEN_MAX is not MD, move it to the MI limits.h.tjr2002-12-221-0/+2
|
* This is David Schultz's swapoff code which I am finally able to commit.dillon2002-12-151-0/+1
| | | | | | | This should be considered highly experimental for the moment. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 3 weeks
* Don't install old LOMAC include files; do install new mac_lomacrwatson2002-12-031-1/+1
| | | | | | | | include files. Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Align the comment with functionality changes from previous revision.ru2002-11-251-4/+3
| | | | Approved by: re
* Re-enable installing of Bluetooth include filesjulian2002-11-211-2/+2
| | | | Hopefully this time it works right.. Who understands this stuff?
* Temporarily remove the install of bluetooth include files..julian2002-11-211-1/+2
| | | | | something "VERY WIERD" happens to them during buildworld.. The sources get replaced by symlinks to themselves (!?)
* Populate with bluetooth includesjulian2002-11-211-0/+1
|
* libc header files are normally in src/include. Therefore, uuid.h hasmarcel2002-11-181-14/+10
| | | | | | | | | | been repo-copied from src/lib/libc/uuid to src/include. Update the makefiles. While in src/include/Makefile, reformat and resort INCS. Reverting the functional change only involves removing uuid.h. Pompted by: ru
* Fix XSI (X/Open) namespace support.mike2002-11-121-11/+18
|
* Wrap function prototype declarations in __BEGIN_DECLS to do the right thingjmallett2002-11-051-0/+2
| | | | | | with them in non-C cases. Requested by: Patrick Hartling <patrick@137.org>
* Implement DCE 1.1 compliant UUID functions. Immediate use of thesemarcel2002-10-301-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | functions is expected for uuidgen(1), mca(8) and gpt(8). Given the generic use of UUIDs beyond the scope of the DCE 1.1 specification, visibility of the data structure at all levels of the machine, including firmware and the wish to not create a permanent build- time FreeBSD-ism for DCE compliant applications by creating a new library, it was decided that libc would be the least inappropriate place. Also, because the UUID functions live in libc under IRIX as well, we have maximized our portability and left as many options open as possible. This implementation introduces an extension not found in the specification: the status parameter is allowed to be a NULL- pointer. The reason for introducing the extension is because the status is almost never of any use. The manpage that's part of this commit is a minimal place-holder and is further fleshed-out in the near future. Approved by: re@ Contributed by: Hiten Mahesh Pandya <hiten@unixdaemons.com> Sponsored by: marcel :-) Tested on: alpha, i386, ia64
* Create a small library function, check_utility_compat(3), to determinewollman2002-10-281-0/+1
| | | | | | | | whether a named utility should behave in FreeBSD 4.x-compatible mode or in a standard mode (default standard). The configuration is done malloc(3)-style, with either an environment variable or a symlink. Update expr(1) to use this new interface.
* Update limits and configuration parameters for 1003.1/TC1/D6.wollman2002-10-272-6/+39
| | | | | | | | | | | Implement new sysconf keys. Change the implenentation of _SC_ASYNCHRONOUS_IO in preparation for the next set of changes. Move some limits which had been in <sys/syslimits.h> to <limits.h> where they belong. They had only ever been in syslimits.h to provide for the kernel implementation of the CTL_USER MIB branch, which went away with newsysctl years ago. (There is a #error in <sys/syslimits.h> which I will downgrade in the next commit.)
* Correct visibility for v*wscanf(), wcstoll() and wcstoull(). These functionstjr2002-10-271-9/+16
| | | | | did not exist in ISO C Amd. 1. Add #ifdef __LONG_LONG_SUPPORTED and lint comments around wcstoll() and wcstoull().
* Prototype for pthread_attr_get_np().phantom2002-10-261-0/+1
|
OpenPOWER on IntegriCloud