summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* MFP4:jkoshy2005-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.
* - Remove padding for ABI compatibility of n_net member from structume2005-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
* According to:rodrigc2005-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)
* Add support for XMM registers in GDB for x86 processors that supportdfr2005-05-311-0/+4
| | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks
* Correct mistake in previous commit: add 'bsm' to LDIRS not LSUBDIRS.rwatson2005-05-301-2/+2
| | | | Pointy hat: over here, please
* Do install BSM include files (such as they are) when installing systemrwatson2005-05-291-1/+1
| | | | | | | includes. Submitted by: wsalamon Obtained from: TrustedBSD Project
* disable defining NI_WITHSCOPEID. It was obsoleted, and was existume2005-05-271-1/+1
| | | | only for backward compatibility since 5.2-RELEASE.
* Make <runefile.h> internal to libc.ru2005-05-162-62/+1
| | | | Suggested by: phantom
* - The ai_addrlen of a struct addrinfo used to be a size_t, perume2005-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
* Provide more POSIX-complaint ttyname_r(3) interface[1], which is slightlydelphij2005-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@
* Connect MLINKS for ttyname_r(3), and add prototype into unistd.h.delphij2005-05-111-0/+1
|
* hide implementation specific internal functions from netdb.h.ume2005-04-271-12/+0
| | | | it is needed to make get{host,net}by*() thread-safe.
* Conditionalize the ipfilter header files on NO_IPFILTER. While normally thesescottl2005-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
* Increase PTHREAD_STACK_MIN to MINSIGSTKSZ because thread libraries now usedavidxu2005-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.
* Add pthread_condattr_getclock, pthread_condattr_setclock.davidxu2005-04-031-0/+4
|
* Make sure that $_MARCH and friends existimp2005-04-031-0/+8
| | | | Submitted by: nyan@
* Define CLOCK_* and TIMER_* in time.h, where they are supposed to be.das2005-04-021-1/+20
|
* When $MACHINE != $MACHINE_ARCH, install $MACHINE_ARCH/include intoimp2005-04-011-10/+39
| | | | | /usr/include/$MACHINE_ARCH in addition to installing $MACHINE/include into /usr/include/machine.
* - Declare mknod in stat.h (in addition to unistd.h), as per XSI.das2005-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.
* just use crypto/rijndael, and nuke opencrypto/rindael.[ch].ume2005-03-111-0/+8
| | | | | | the two became almost identical since latest KAME merge. Discussed with: sam
* Only install acpiio.h in /usr/include. That's all we want to export to users.njl2005-03-021-2/+10
| | | | | Submitted by: ru (any bugs by me) MFC after: 1 day
* Sync the list of headers visible with SHARED=symlinks with thoseru2005-03-021-1/+6
| | | | | | visible with SHARED=copies. Inspired by: njl
* Install acpi includes in dev/acpica. This should later be trimmed (the pcinjl2005-02-281-1/+2
| | | | | | | bus one is not needed) and ifdef _KERNEL added. PR: kern/74215 MFC after: 1 day
* Bring in NetBSD's improvements and cleanups to NLS subsystem, makingphantom2005-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)
* Make the format of LC_CTYPE files architecture independent byru2005-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.)
* The Intel C/C++ compiler doesn't require a typedef for _Bool when compilingmarius2005-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
* . Convert return type of gai_strerror() to 'const char *' as POSIX requires.phantom2005-02-141-1/+1
| | | | | . Convert ai_errlist[] to simple 'char *' array, and appropriately optimize gai_strerror()
* Install GPIB related includefiles (unless NO_GPIB)phk2005-02-061-2/+6
|
* implement AI_NUMERICSERV (as defined in RFC3493).ume2005-01-271-3/+5
| | | | | Obtained from: KAME MFC after: 1 week
* Correct a typo in the definition of _PW_VERSION_MASK. This macro isnectar2005-01-261-3/+3
| | | | | | currently unused other than as documentation. Reported by: Stefan Farfeleder <stefan@fafoe.narf.at>
* Fix the pbio include file installation process and thedds2005-01-141-5/+8
| | | | | | | corresponding documentation. Noticed by: ru Reviewed by: ru
* Add missing entry.pjd2005-01-111-1/+1
| | | | Reported by: sos
* Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64,tjr2005-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.
* Fix typo, function name pthread_rwlock_timedrwlock should bedavidxu2005-01-081-1/+1
| | | | pthread_rwlock_timedwrlock.
* Introduce new field 'fts_bignum' which is 64bit long and will allow topjd2005-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
* Constify arguments.marcel2005-01-031-6/+6
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-212-2/+2
| | | | OK'ed by: core
* According to the information on:trhodes2004-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
* Remove nfsclnt() prototype.phk2004-12-071-1/+0
|
* Fixed transition from SHARED=symlinks to SHARED=copies.ru2004-11-171-1/+1
|
* Help Tinderbox and remove autofsmarkm2004-11-101-1/+1
|
* For variables that are only checked with defined(), don't provideru2004-10-242-2/+2
| | | | any fake value.
* Remove the obsolete <rune.h> interface.tjr2004-10-172-69/+1
|
* 1. Add much finer granularity to the NO_BIND knobs with the addition of:dougb2004-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
* Pass the idea of the make(1) binary to use down to newvers.sh.ru2004-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".
* Install netflow includes.glebius2004-09-161-2/+3
| | | | Approved by: julian (mentor)
* Add the macro RES_DFLRETRY long-promised by resolver(5).yar2004-09-091-0/+1
| | | | | | | | | | It specifies the default number of retries per a name server. This makes the code consistent with the manpage and allows to kill another constant in res_init.c that should have been a #define'd parameter. (This appears to be a case when the manpage was better than the code, so the latter was to be fixed.) PR: bin/62139 (in the audit trail)
* Add a workaround to recognise I/_Complex_I as complex arguments. Althoughstefanf2004-09-031-1/+2
| | | | | the GCC manual claims that the expression 1.0fi has type float _Complex, __builtin_types_compatible_p(float _Complex, __typeof__(1.0fi))) yields 0.
* Use the keyword '_Complex' rather than the macro 'complex' sincestefanf2004-09-031-4/+4
| | | | applications are allowed to undefine the latter.
* Embarrassing typo: s/nextbyint/nearbyint/stefanf2004-09-031-1/+1
|
OpenPOWER on IntegriCloud