aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Merge BIND9 9.3.3 into main chunk.Hajimu UMEMOTO2006-12-231-1/+1
| | | | | | | | | | | | | | | include/arpa/nameser_compat.h: 1.6 lib/libc/inet/inet_cidr_ntop.c: 1.1.1.2 lib/libc/inet/inet_net_ntop.c: 1.3 lib/libc/isc/eventlib_p.h: 1.4 lib/libc/resolv/mtctxres.c: 1.3 lib/libc/resolv/res_init.c: 1.4 lib/libc/resolv/res_send.c: 1.5 Approved by: re (kensmith) Notes: svn path=/releng/6.2/; revision=165480
* MFC:Maksim Yevmenkin2006-10-091-1/+1
| | | | | | | | | | | | | | | | | Install vkbd(4) header into dev/vkbd. Update bthidd(8) code and hook it up to the build. bthidd(8) now was integrated with vkbd(4) and supports multiple keyboards via vkbd(4)/kbdmux(4). The code was tested with Apple Bluetooth keyboard and SE k700i cell phone (remote control feature). Add bthidd(8) rc(8) script. Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=163182
* Merge BSD.include.dist:1.106, include/Makefile:1.258 from HEAD toRobert Watson2006-09-031-0/+1
| | | | | | | | | | | | | | RELENG_6: Do install sys/security/audit include files. It would be nice just to install audit_ioctl.h, but we seem only to support installing directories, so we get them all. The two not intended for extra- kernel use have !_KERNEL #error's, which should help. Obtained from: TrustedBSD Project Notes: svn path=/stable/6/; revision=161939
* MFC:Hajimu UMEMOTO2006-07-177-294/+644
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the resolver in libc to BIND9's one. - make reentrant version of netdb functions glibc style API, and expose them to outside of libc. - make netdb functions NSS friendly. include/Makefile 1.261 include/arpa/inet.h 1.26 include/arpa/nameser.h 1.18 include/arpa/nameser_compat.h 1.5 include/netdb.h 1.40-1.42 include/res_update.h 1.1 include/resolv.h 1.29-1.30 lib/libc/Makefile 1.64 lib/libc/include/isc/eventlib.h 1.1.1.1 lib/libc/include/port_after.h 1.1-1.2 lib/libc/include/port_before.h 1.1 lib/libc/include/resolv_mt.h 1.1.1.1 lib/libc/inet/Makefile.inc 1.1 lib/libc/inet/inet_addr.c 1.1.1.1, 1.2 lib/libc/inet/inet_cidr_ntop.c 1.1.1.1 lib/libc/inet/inet_cidr_pton.c 1.1.1.1, 1.2 lib/libc/inet/inet_lnaof.c 1.1.1.1, 1.2 lib/libc/inet/inet_makeaddr.c 1.1.1.1, 1.2 lib/libc/inet/inet_net_ntop.c 1.1.1.1, 1.2 lib/libc/inet/inet_net_pton.c 1.1.1.1, 1.2 lib/libc/inet/inet_neta.c 1.1.1.1, 1.2 lib/libc/inet/inet_netof.c 1.1.1.1, 1.2 lib/libc/inet/inet_network.c 1.1.1.1, 1.2 lib/libc/inet/inet_ntoa.c 1.1.1.1, 1.2 lib/libc/inet/inet_ntop.c 1.1.1.1, 1.2 lib/libc/inet/inet_pton.c 1.1.1.1, 1.2 lib/libc/inet/nsap_addr.c 1.1.1.1, 1.2 lib/libc/isc/Makefile.inc 1.1 lib/libc/isc/ev_streams.c 1.1.1.1, 1.2 lib/libc/isc/ev_timers.c 1.1.1.1, 1.2 lib/libc/isc/eventlib_p.h 1.1.1.1, 1.2 lib/libc/nameser/Makefile.inc 1.1 lib/libc/nameser/ns_name.c 1.1.1.1 lib/libc/nameser/ns_netint.c 1.1.1.1 lib/libc/nameser/ns_parse.c 1.1.1.1 lib/libc/nameser/ns_print.c 1.1.1.1, 1.2 lib/libc/nameser/ns_samedomain.c 1.1.1.1, 1.2 lib/libc/nameser/ns_ttl.c 1.1.1.1 lib/libc/net/Makefile.inc 1.58 lib/libc/net/getaddrinfo.c 1.74, 1.77-1.78 lib/libc/net/gethostbydns.c 1.55-1.57 lib/libc/net/gethostbyht.c 1.24-1.26 lib/libc/net/gethostbyname.3 1.35 lib/libc/net/gethostbynis.c 1.26-1.28 lib/libc/net/gethostnamadr.c 1.29-1.30, 1.32 lib/libc/net/getnameinfo.c 1.18 lib/libc/net/getnetbydns.c 1.32-1.33 lib/libc/net/getnetbyht.c 1.17-1.18 lib/libc/net/getnetbynis.c 1.20-1.21 lib/libc/net/getnetnamadr.c 1.22 lib/libc/net/getproto.c 1.5 lib/libc/net/getprotoent.c 1.7 lib/libc/net/getprotoname.c 1.5 lib/libc/net/getservbyname.c 1.8 lib/libc/net/getservbyport.c 1.8 lib/libc/net/getservent.c 1.21 lib/libc/net/name6.c 1.56-1.57 lib/libc/net/netdb_private.h 1.10-1.11, 1.13 lib/libc/net/res_config.h 1.9 lib/libc/net/res_mkupdate.c 1.7-1.8 lib/libc/net/res_update.c 1.8-1.9 lib/libc/resolv/Makefile.inc 1.1 lib/libc/resolv/h_errno.c 1.1 lib/libc/resolv/herror.c 1.1.1.1, 1.2 lib/libc/resolv/mtctxres.c 1.1.1.1, 1.2 lib/libc/resolv/res_comp.c 1.1.1.1, 1.2 lib/libc/resolv/res_data.c 1.1.1.1, 1.2-1.3 lib/libc/resolv/res_debug.c 1.1.1.1, 1.2 lib/libc/resolv/res_debug.h 1.1.1.1 lib/libc/resolv/res_init.c 1.1.1.1, 1.2 lib/libc/resolv/res_mkquery.c 1.1.1.1, 1.2 lib/libc/resolv/res_private.h 1.1.1.1 lib/libc/resolv/res_query.c 1.1.1.1, 1.2-1.3 lib/libc/resolv/res_send.c 1.1.1.1, 1.2 lib/libc/resolv/res_state.c 1.1-1.2 Tested by: nork Notes: svn path=/stable/6/; revision=160429
* MFC:Poul-Henning Kamp2006-06-251-1/+1
| | | | | | | Extensible printf implementation compatible with GLIBC Notes: svn path=/stable/6/; revision=159920
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-05-251-0/+71
| | | | Notes: svn path=/stable/6/; revision=158908
* MFC revision 1.4.David Xu2006-05-171-0/+1
| | | | Notes: svn path=/stable/6/; revision=158675
* MFC rev 1.13:Brooks Davis2006-04-211-1/+1
| | | | | | | | | | | Fix ypwhich -m. This should be MFC'ed back at least as far as RELENG_5. Submitted by: Gil Kloepfer <gil@arlut.utexas.edu> PR: 64445 Approved by: re (scottl) Notes: svn path=/stable/6/; revision=157913
* MFC of import of OpenBSD's strtonum(3).Andre Oppermann2006-04-041-0/+2
| | | | | | | Approved by: re Notes: svn path=/stable/6/; revision=157501
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-03-081-0/+163
| | | | Notes: svn path=/stable/6/; revision=156438
* MFC 1.28: Decrease the value of RES_DFLRETRY from 4 to 2.Hajimu UMEMOTO2006-03-061-1/+1
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/6/; revision=156351
* Unbreak building RELENG_6 on RELENG_5 by providing a __format_arg macro ifStefan Farfeleder2006-02-011-0/+4
| | | | | | | | | | | | it's not defined in <sys/cdefs.h>. This situation happens early when building the bootstrap-tools, where the new <nl_types.h> is mixed with the old <sys/cdefs.h>. Submitted by: imp Reviewed by: ru Notes: svn path=/stable/6/; revision=155176
* MFC: Add the macro __format_arg which expands to the format_arg attribute ifStefan Farfeleder2006-01-312-8/+2
| | | | | | | supported. Notes: svn path=/stable/6/; revision=155119
* MFC:Tom Rhodes2006-01-271-2/+3
| | | | | | | | | | | | Add a64l(), l64a(), and l64a_r() XSI extentions. These functions convert between a 32-bit integer and a radix-64 ASCII string. The l64a_r() function is a NetBSD addition. PR: 51209 (based on submission, but very different) Reviewed by: bde, ru Notes: svn path=/stable/6/; revision=154888
* MFC revision 1.40:David Xu2005-12-151-1/+5
| | | | | | | | | | | Add prototype for following functions: pthread_condattr_getpshared pthread_condattr_setpshared pthread_mutexattr_getpshared pthread_mutexattr_setpshared Notes: svn path=/stable/6/; revision=153441
* MFC: Bring /dev/speaker support to amd64.Ruslan Ermilov2005-11-161-1/+1
| | | | Notes: svn path=/stable/6/; revision=152520
* 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