aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/6.0.0_cvscvs2svn2005-11-03143-143/+143
| | | | | | 'RELENG_6_0_0_RELEASE'. This commit was manufactured to restore the state of the 6.0-RELEASE image.
* MFC stefanf's work on libedit. This includes a sync with NetBSD/OpenBSDXin LI2005-10-091-12/+38
| | | | | | | | | and some bugfixes. Approved by: re (scottl) Notes: svn path=/stable/6/; revision=151131
* MFC addition of memmem(3).Andre Oppermann2005-08-291-0/+3
| | | | | | | | Submitted by: Pascal Gloor <pascal.gloor at spale.com> Approved by: re (scottl) Notes: svn path=/stable/6/; revision=149596
* MFC: Connect GEOM_ELI class to the build.Pawel Jakub Dawidek2005-08-051-2/+2
| | | | | | | | | Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=148754
* MFC: Remove padding for ABI compatibility of ai_addrlen memberHajimu UMEMOTO2005-07-221-19/+0
| | | | | | | | | | | | | from struct addrinfo. This change break ABI compatibility on 64 bit arch. include/netdb.h: 1.39 lib/libc/net/getaddrinfo.c: 1.70 Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=148312
* MFP4:Joseph Koshy2005-06-091-1/+1
| | | | | | | | | | | | | | | | | | | - Implement sampling modes and logging support in hwpmc(4). - Separate MI and MD parts of hwpmc(4) and allow sharing of PMC implementations across different architectures. Add support for P4 (EMT64) style PMCs to the amd64 code. - New pmcstat(8) options: -E (exit time counts) -W (counts every context switch), -R (print log file). - pmc(3) API changes, improve our ability to keep ABI compatibility in the future. Add more 'alias' names for commonly used events. - bug fixes & documentation. Notes: svn path=/head/; revision=147191
* - Remove padding for ABI compatibility of n_net member from structHajimu UMEMOTO2005-06-031-21/+0
| | | | | | | | | | | | | | | | netent. - Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit arch as well to confirm to POSIX-2001. These changes break ABI compatibility on 64 bit arch. There is similar padding issue for ai_addrlen of struct addrinfo. However, it is leaved as is for now. Discussed on: arch@, standards@ and current@ X-MFC after: never Notes: svn path=/head/; revision=146904
* According to:Craig Rodrigues2005-05-311-56/+1
| | | | | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html #include <sys/types.h> should include the definitions of pthread types. PR: standards/78907 Reported by: Brooks Davis Approved by: das (mentor) Notes: svn path=/head/; revision=146824
* Add support for XMM registers in GDB for x86 processors that supportDoug Rabson2005-05-311-0/+4
| | | | | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks Notes: svn path=/head/; revision=146818
* Correct mistake in previous commit: add 'bsm' to LDIRS not LSUBDIRS.Robert Watson2005-05-301-2/+2
| | | | | | | Pointy hat: over here, please Notes: svn path=/head/; revision=146795
* Do install BSM include files (such as they are) when installing systemRobert Watson2005-05-291-1/+1
| | | | | | | | | | includes. Submitted by: wsalamon Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=146761
* disable defining NI_WITHSCOPEID. It was obsoleted, and was existHajimu UMEMOTO2005-05-271-1/+1
| | | | | | | only for backward compatibility since 5.2-RELEASE. Notes: svn path=/head/; revision=146690
* Make <runefile.h> internal to libc.Ruslan Ermilov2005-05-162-62/+1
| | | | | | | Suggested by: phantom Notes: svn path=/head/; revision=146261
* - The ai_addrlen of a struct addrinfo used to be a size_t, perHajimu UMEMOTO2005-05-151-5/+46
| | | | | | | | | | | | | | | | | | | RFC 2553. In XNS5.2, and subsequently in POSIX-2001 and RFC 3493, it was changed to a socklen_t. And, the n_net of a struct netent used to be an unsigned long integer. In XNS5, and subsequently in POSIX-2001, it was changed to an uint32_t. To accomodate for this while preserving ABI compatibility with the old interface, we need to prepend or append 32 bits of padding, depending on the (LP64) architecture's endianness. - Correct 1st argument of getnetbyaddr() to uint32_t on 32 bit arch. Stay as is on 64 bit arch for ABI backward compatibility for now. Reviewed by: das, peter MFC after: 2 weeks Notes: svn path=/head/; revision=146244
* Provide more POSIX-complaint ttyname_r(3) interface[1], which is slightlyXin LI2005-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | different from what has been offered in libc_r (the one spotted in the original PR which is found in libthr has already been removed by David's commit, which is rev. 1.44 of lib/libthr/thread/thr_private.h): - Use POSIX standard prototype for ttyname_r, which is, int ttyname_r(int, char *, size_t); Instead of: char *ttyname_r(int, char *, size_t); This is to conform IEEE Std 1003.1, 2004 Edition [1]. - Since we need to use standard errno for return code, include errno.h in ttyname.c - Update ttyname(3) implementation according to reflect the API change. - Document new ttyname_r(3) behavior - Since we already make use of a thread local storage for ttyname(3), remove the BUGS section. - Remove conflicting ttyname_r related declarations found in libc_r. Hopefully this change should not have changed the API/ABI, as the ttyname_r symbol was never introduced before the last unistd.h change which happens a couple of days before. [1] http://www.opengroup.org/onlinepubs/009695399/functions/ttyname.html Requested by: Tom McLaughlin <tmclaugh sdf lonestar org> Through PR: threads/76938 Patched by: Craig Rodrigues <rodrigc crodrigues org> (with minor changes) Prompted by: mezz@ Notes: svn path=/head/; revision=146186
* Connect MLINKS for ttyname_r(3), and add prototype into unistd.h.Xin LI2005-05-111-0/+1
| | | | Notes: svn path=/head/; revision=146099
* hide implementation specific internal functions from netdb.h.Hajimu UMEMOTO2005-04-271-12/+0
| | | | | | | it is needed to make get{host,net}by*() thread-safe. Notes: svn path=/head/; revision=145602
* Conditionalize the ipfilter header files on NO_IPFILTER. While normally theseScott Long2005-04-261-0/+4
| | | | | | | | | | should be harmless, the kdump(1) build does evil things with collecting system header files, and thus would unconditionally collect and process these. MFC After: 3 days Notes: svn path=/head/; revision=145539
* Increase PTHREAD_STACK_MIN to MINSIGSTKSZ because thread libraries now useDavid Xu2005-04-111-1/+1
| | | | | | | | | makecontext which enforces a minimum stack size to be MINSIGSTKSZ. Bug report: Bill Middleton <flashdict at gmail dot com>, BSD-sharp project. Notes: svn path=/head/; revision=144892
* Add pthread_condattr_getclock, pthread_condattr_setclock.David Xu2005-04-031-0/+4
| | | | Notes: svn path=/head/; revision=144615
* Make sure that $_MARCH and friends existWarner Losh2005-04-031-0/+8
| | | | | | | Submitted by: nyan@ Notes: svn path=/head/; revision=144561
* Define CLOCK_* and TIMER_* in time.h, where they are supposed to be.David Schultz2005-04-021-1/+20
| | | | Notes: svn path=/head/; revision=144529
* When $MACHINE != $MACHINE_ARCH, install $MACHINE_ARCH/include intoWarner Losh2005-04-011-10/+39
| | | | | | | | /usr/include/$MACHINE_ARCH in addition to installing $MACHINE/include into /usr/include/machine. Notes: svn path=/head/; revision=144514
* - Declare mknod in stat.h (in addition to unistd.h), as per XSI.David Schultz2005-03-221-0/+3
| | | | | | | | | - Use blksize_t and blkcnt_t in struct stat. - Hide non-standard fields in stat.h when !__BSD_VISIBLE. - Add restrict qualifiers in stat.h. Notes: svn path=/head/; revision=143952
* just use crypto/rijndael, and nuke opencrypto/rindael.[ch].Hajimu UMEMOTO2005-03-111-0/+8
| | | | | | | | | the two became almost identical since latest KAME merge. Discussed with: sam Notes: svn path=/head/; revision=143423
* Only install acpiio.h in /usr/include. That's all we want to export to users.Nate Lawson2005-03-021-2/+10
| | | | | | | | Submitted by: ru (any bugs by me) MFC after: 1 day Notes: svn path=/head/; revision=143013
* Sync the list of headers visible with SHARED=symlinks with thoseRuslan Ermilov2005-03-021-1/+6
| | | | | | | | | visible with SHARED=copies. Inspired by: njl Notes: svn path=/head/; revision=142992
* Install acpi includes in dev/acpica. This should later be trimmed (the pciNate Lawson2005-02-281-1/+2
| | | | | | | | | | bus one is not needed) and ifdef _KERNEL added. PR: kern/74215 MFC after: 1 day Notes: svn path=/head/; revision=142744
* Bring in NetBSD's improvements and cleanups to NLS subsystem, makingAlexey Zelkin2005-02-271-30/+79
| | | | | | | | | | | | | | | | | it type and endian clean and removing of stdio dependency from NLS functions (catalog files now are processed via mmap()). Also following changes were done (against NetBSD version): . ANSI'fy prototypes . Mention FreeBSD in comments . Pull in sys/types.h instead of sys/_types.h since some types used here are defined in sys/types.h Obtained from: NetBSD (mostly) Notes: svn path=/head/; revision=142661
* Make the format of LC_CTYPE files architecture independent byRuslan Ermilov2005-02-262-1/+63
| | | | | | | | | | | | | | | | introducing the disk formats for _RuneLocale and friends. The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss). Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.) Notes: svn path=/head/; revision=142582
* The Intel C/C++ compiler doesn't require a typedef for _Bool when compilingMarius Strobl2005-02-191-1/+1
| | | | | | | | | | | C source so don't declare one when using the GCC-compatibility (defaulting to GCC 2.95.0) of ICC. Submitted by: netchild MFC after: 1 week Notes: svn path=/head/; revision=142088
* . Convert return type of gai_strerror() to 'const char *' as POSIX requires.Alexey Zelkin2005-02-141-1/+1
| | | | | | | | . Convert ai_errlist[] to simple 'char *' array, and appropriately optimize gai_strerror() Notes: svn path=/head/; revision=141908
* Install GPIB related includefiles (unless NO_GPIB)Poul-Henning Kamp2005-02-061-2/+6
| | | | Notes: svn path=/head/; revision=141397
* implement AI_NUMERICSERV (as defined in RFC3493).Hajimu UMEMOTO2005-01-271-3/+5
| | | | | | | | Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=140908
* Correct a typo in the definition of _PW_VERSION_MASK. This macro isJacques Vidrine2005-01-261-3/+3
| | | | | | | | | currently unused other than as documentation. Reported by: Stefan Farfeleder <stefan@fafoe.narf.at> Notes: svn path=/head/; revision=140868
* Fix the pbio include file installation process and theDiomidis Spinellis2005-01-141-5/+8
| | | | | | | | | | corresponding documentation. Noticed by: ru Reviewed by: ru Notes: svn path=/head/; revision=140246
* Add missing entry.Pawel Jakub Dawidek2005-01-111-1/+1
| | | | | | | Reported by: sos Notes: svn path=/head/; revision=140084
* Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64,Tim J. Robbins2005-01-091-0/+1
| | | | | | | | | GNU) for determining whether a string is an affirmative or negative response to a question according to the current locale. This is done by matching the response against nl_langinfo(3) items YESEXPR and NOEXPR. Notes: svn path=/head/; revision=139922
* Fix typo, function name pthread_rwlock_timedrwlock should beDavid Xu2005-01-081-1/+1
| | | | | | | pthread_rwlock_timedwrlock. Notes: svn path=/head/; revision=139902
* Introduce new field 'fts_bignum' which is 64bit long and will allow toPawel Jakub Dawidek2005-01-071-2/+10
| | | | | | | | | | | | | | | | | | make utilities like du(1) 64bit-clean. When this field is used, one cannot use 'fts_number' and 'fts_pointer' fields. This commit doesn't break API nor ABI. This work is part of the BigDisk project: http://www.FreeBSD.org/projects/bigdisk/ Discussed on: arch@ MFC after: 5 days Notes: svn path=/head/; revision=139811
* Constify arguments.Marcel Moolenaar2005-01-031-6/+6
| | | | Notes: svn path=/head/; revision=139601
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-212-2/+2
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* According to the information on:Tom Rhodes2004-12-102-3/+19
| | | | | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/swab.html the prototype for swab() should be in <unistd.h> and not in <string.h>. Move it, and update to match SUS. Leave the prototype in string.h for now, for backwards compat. PR: 74751 Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Discussed with: das Notes: svn path=/head/; revision=138659
* Remove nfsclnt() prototype.Poul-Henning Kamp2004-12-071-1/+0
| | | | Notes: svn path=/head/; revision=138508
* Fixed transition from SHARED=symlinks to SHARED=copies.Ruslan Ermilov2004-11-171-1/+1
| | | | Notes: svn path=/head/; revision=137836
* Help Tinderbox and remove autofsMark Murray2004-11-101-1/+1
| | | | Notes: svn path=/head/; revision=137556
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-242-2/+2
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Remove the obsolete <rune.h> interface.Tim J. Robbins2004-10-172-69/+1
| | | | Notes: svn path=/head/; revision=136609
* 1. Add much finer granularity to the NO_BIND knobs with the addition of:Doug Barton2004-09-271-0/+5
| | | | | | | | | | | | NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS. 2. Make creation of directories in /usr/include that are only needed in the WITH_BIND_LIBS case conditional. Reviewed by: ru, des Notes: svn path=/head/; revision=135851
* Pass the idea of the make(1) binary to use down to newvers.sh.Ruslan Ermilov2004-09-171-1/+1
| | | | | | | | | | | | | | | | This is necessary so source upgrades use the correct binary. MFC after: 3 days For the record: Problem spotted by Scott Long, who mentioned that source upgrades from 4.7 to recent 5.x and 6.0 are broken. Detailed analysis shows that 4.7 has a broken make(1) binary. A breakage was fixed in RELENG_4 in make/main.c,v 1.35.2.7 by imp@, though the commit log erroneously stated "MFC 1.68" while in fact it should have been spelled as "MFC 1.67". Notes: svn path=/head/; revision=135371