aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add NO_BLUETOOTH knob to the build processMaksim Yevmenkin2004-01-281-0/+2
| | | | | | | | Requested by: phk Reviewed by: imp (mentor), ru Notes: svn path=/head/; revision=125123
* remove EAI_NODATA aliased to EAI_NONAME.Hajimu UMEMOTO2004-01-151-1/+0
| | | | | | | PR: bin/61369 Notes: svn path=/head/; revision=124558
* Add and document ffsl(), fls() and flsl().Dag-Erling Smørgrav2004-01-131-0/+3
| | | | Notes: svn path=/head/; revision=124483
* It was reported that when using nss_ldap, getgrent(3) would behaveJacques Vidrine2004-01-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incorrectly when encountering `large' groups (many members and/or many long member names). The reporter tracked this down to the glibc NSS module compatibility code (nss_compat.c): it would prematurely record that a NSS module was finished iterating through its database in some cases. Two aspects are corrected: 1. nss_compat.c recorded that a NSS module was finished iterating whenever the module reported something other than SUCCESS. The correct logic is to continue iteration when the module reports either SUCCESS or RETURN. The __nss_compat_getgrent_r and __nss_compat_getpwent_r routines are updated to reflect this. 2. An internal helper macro __nss_compat_result is used to map glibc NSS status codes to BSD NSS status codes (e.g. NSS_STATUS_SUCCESS -> NS_SUCCESS). It provided the obvious mapping. When a NSS routine is called with a too-small buffer, the convention in the BSD NSS code is to report RETURN. (This is used to implement reentrant APIs such as getpwnam_r(3).) However, the convention in glibc for this case is to set errno = ERANGE and overload TRYAGAIN. __nss_compat_result is updated to handle this case. PR: bin/60287 Reported by: Lachlan O'Dea <odela01@ca.com> Notes: svn path=/head/; revision=124289
* Define _PATH_MKSNAP_FFS and use it in dump(8) instead of assumingIan Dowse2004-01-041-0/+1
| | | | | | | | | that mksnap_ffs(8) can be found using the current $PATH. Reviewed by: mckusick Notes: svn path=/head/; revision=124132
* Now I understand what Bruce was getting at - -1 can be parsed as twoJordan K. Hubbard2003-12-182-2/+2
| | | | | | | | tokens, so it does indeed need to be parenthesized. Duh. Sometimes it can stare you right and the face and you still don't see it. Thanks, bde. Notes: svn path=/head/; revision=123636
* Adjust in response to various bits of brucification:Jordan K. Hubbard2003-12-182-2/+4
| | | | | | | | | | | | | | | | | 1) Fix style issues in comments. 2) Properly namespaceify changes 3) Appropriate sectioning of changes Not changed: parenthesis around macro rvalue. That would make the additions inconsistent with the other entries there, merely a different style violation rather than a clear and obvious improvement so I'm going to have to disagree with the judges on that one. If someone wishes to adjust *all* the rvalues to conform to fully parenthesized marco rule, that would be both consistent and reasonable but that's beyond the scope of the changes I wish to make at this time. Notes: svn path=/head/; revision=123630
* OK, someone was tab happy in this file. A tab after #define?! OK, fine,Jordan K. Hubbard2003-12-171-1/+1
| | | | | | | | I'll keep the same style regardless of the wisdom of it. :) Clarified by: eivind Notes: svn path=/head/; revision=123597
* Correct inexplicable tab smash.Jordan K. Hubbard2003-12-171-1/+1
| | | | | | | Noticed by: Nate Lawson <nate@root.org> Notes: svn path=/head/; revision=123589
* Conformance: Add REG_ENOSYS (see ↵Jordan K. Hubbard2003-12-171-0/+1
| | | | | | | http://www.opengroup.org/onlinepubs/007904975/basedefs/regex.h.html) Notes: svn path=/head/; revision=123586
* Conformance: Define FNM_NOSYS (see ↵Jordan K. Hubbard2003-12-171-0/+2
| | | | | | | http://www.opengroup.org/onlinepubs/007904975/basedefs/fnmatch.h.html) Notes: svn path=/head/; revision=123585
* Move the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktrDavid E. O'Brien2003-12-081-3/+6
| | | | | | | | | as these ioctl's aren't MD. This also means they are installed in /usr/include/dev/bktr now. Also provide compatability wrappers for where these headers lived in 4.x. Notes: svn path=/head/; revision=123288
* Fix sort order.David E. O'Brien2003-12-081-1/+1
| | | | Notes: svn path=/head/; revision=123287
* Change the definition of NULL on ia64 (for LP64 compilations) fromMarcel Moolenaar2003-12-0710-39/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an int constant to a long constant. This change improves consistency in the following two ways: 1. The first 8 arguments are always passed in registers on ia64, which by virtue of the generated code implicitly widens ints to longs and allows the use of an 32-bit integral type for 64-bit arguments. Subsequent arguments are passed onto the memory stack, which does not exhibit the same behaviour and consequently do not allow this. In practice this means that variadic functions taking pointers and given NULL (without cast) work as long as the NULL is passed in one of the first 8 arguments. A SIGSEGV is more likely the result if such would be done for stack-based arguments. This is due to the fact that the upper 4 bytes remain undefined. 2. All 64-bit platforms that FreeBSD supports, with the obvious exception of ia64, allow 32-bit integral types (specifically NULL) when 64-bit pointers are expected in variadic functions by way of how the compiler generates code. As such, code that works correctly (whether rightfully so or not) on any platform other than ia64, may fail on ia64. To more easily allow tweaking of the definition of NULL, this commit removes the 12 definitions in the various headers and puts it in a new header that can be included whenever NULL is to be made visible. This commit fixes GNOME, emacs, xemacs and a whole bunch of ports that I don't particularly care about at this time... Notes: svn path=/head/; revision=123257
* Add support for timeout: and attempts: resolver options.Murray Stokely2003-12-071-0/+2
| | | | | | | | Submitted by: Paul Vixie <paul@vix.com> / ISC MFC After: 1 week Notes: svn path=/head/; revision=123236
* Install UDF header files to unbreak /sbin building when /sys is not present.Scott Long2003-11-221-1/+1
| | | | | | | Submitted by: imura@ryu16.org Notes: svn path=/head/; revision=122956
* Add the userland part of the NET_RT_IFMALIST sysctl MIB. A new function,Bruce M Simpson2003-11-141-0/+9
| | | | | | | | | getifmaddrs(), is added to retrieve current multicast group memberships. Reviewed by: harti Notes: svn path=/head/; revision=122687
* Add the pthread_atfork() prototype.Daniel Eischen2003-11-041-0/+2
| | | | | | | Reviewed by: davidxu Notes: svn path=/head/; revision=122076
* Add a new flag to vis(3): VIS_GLOB which encodes the glob(3) magicPoul-Henning Kamp2003-10-301-0/+1
| | | | | | | characters '*', '?' and '['. Notes: svn path=/head/; revision=121728
* *blush*. stdhash.h != strhash.hPeter Wemm2003-10-291-1/+1
| | | | | | | Sorry folks. Notes: svn path=/head/; revision=121640
* Don peril sensitive (ie: bikeshed sensitive) sunglasses and quietlyPeter Wemm2003-10-281-64/+0
| | | | | | | | | | | | | | send strhash(3) off to sleep with the fishes. Nothing in our tree uses it. It has no documentation. It is nonstandard and in spite of the filename strhash.c and strhash.h, it lives in application namespace by providing compulsory global symbols hash_create()/hash_destroy()/hash_search()/ hash_traverse()/hash_purge()/hash_stats() regardless of whether you #include <strhash.h> or not. If it turns out that there is a huge application for this after all, I can repocopy it somewhere safer and we can revive it elsewhere. But please, not in libc! Notes: svn path=/head/; revision=121639
* Argh. Forward declare some structs rather than increase include filePeter Wemm2003-10-261-0/+2
| | | | | | | dependencies. Notes: svn path=/head/; revision=121577
* Prototype yp_maplist()Peter Wemm2003-10-261-0/+1
| | | | Notes: svn path=/head/; revision=121549
* style.Hajimu UMEMOTO2003-10-241-1/+1
| | | | | | | Reported by: bde Notes: svn path=/head/; revision=121458
* oops, EAI_NONAME is not EAINONAME.Hajimu UMEMOTO2003-10-241-1/+1
| | | | Notes: svn path=/head/; revision=121451
* workaround to have backward compatibility for EAI_NODATA.Hajimu UMEMOTO2003-10-231-0/+1
| | | | | | | | | it will be removed on 23 Apr 2004. Submitted by: terry Notes: svn path=/head/; revision=121439
* oops, I forget to diable EAI_ADDRFAMILY and EAI_NODATA.Hajimu UMEMOTO2003-10-231-0/+6
| | | | Notes: svn path=/head/; revision=121430
* stop use of NI_WITHSCOPEID. it was deprecated.Hajimu UMEMOTO2003-10-211-0/+2
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=121316
* Add code to support pthread spin lock.David Xu2003-09-091-0/+7
| | | | | | | Reviewed by: deischen Notes: svn path=/head/; revision=119909
* Add small piece of code to support pthread_rwlock_timedrdlock andDavid Xu2003-09-061-0/+4
| | | | | | | pthread_rwlock_timedrwlock. Notes: svn path=/head/; revision=119790
* Add code to support barrier synchronous object and implementDavid Xu2003-09-041-0/+16
| | | | | | | | | pthread_mutex_timedlock(). Reviewed by: deischen Notes: svn path=/head/; revision=119736
* Add a new machine independent varargs.h and use it as a central placeAlexander Kabaev2003-09-012-3/+46
| | | | | | | | | | to announce the demise of varargs support in GCC versions 3.3+ and to direct users to stdarg.h instead. Fall back to machine/varargs.h for older GCC versions. Notes: svn path=/head/; revision=119630
* Update gethostname() prototype to match source and standard.Garrett Wollman2003-08-191-1/+1
| | | | Notes: svn path=/head/; revision=119141
* Make C++ safeWarner Losh2003-07-141-0/+4
| | | | Notes: svn path=/head/; revision=117556
* Don't be so chatty about osreldate.h creation steps when make(1)Ruslan Ermilov2003-07-041-1/+1
| | | | | | | is run in non-compat mode (-j without -B). Notes: svn path=/head/; revision=117236
* Fixed namespace pollution and unsorting of the 1003.1-1990 list inBruce Evans2003-07-011-1/+1
| | | | | | | previous commit. Notes: svn path=/head/; revision=117105
* Add /rescue bits. This basically encompasses all of bin and sbin alongGordon Tetlow2003-06-291-0/+35
| | | | | | | | | with a couple of bits from usr.bin in a crunchgen'd binary. Submitted by: Tim Kientzle <kientzle@acm.org> Notes: svn path=/head/; revision=117035
* Move path definitions to include/paths.h. This makes it easier to overrideGordon Tetlow2003-06-291-0/+3
| | | | | | | | | these definitions in the /rescue case. Submitted by: Tim Kientzle <kientzle@acm.org> Notes: svn path=/head/; revision=117033
* Convert fsck and mount to using execvP to find fsck_foo and mount_foo.Gordon Tetlow2003-06-291-0/+3
| | | | | | | | | | This simplifies the code path and makes the default path easy to override in the /rescue case. Submitted by: Tim Kientzle <kientzle@acm.org> Notes: svn path=/head/; revision=117031
* Add a libc function execvP that takes the search path as an arguement.Gordon Tetlow2003-06-291-0/+1
| | | | | | | | | | | Change execvp to be a wrapper around execvP. This is necessary for some of the /rescue pieces. It may also be more generally applicable as well. Submitted by: Tim Kientzle <kientzle@acm.org> Approved by: Silence on arch@ Notes: svn path=/head/; revision=117030
* enable installation of sys/net80211Sam Leffler2003-06-281-2/+2
| | | | Notes: svn path=/head/; revision=116948
* Move _PATH_LOCALE to place where it really belongs to (rune.h -> paths.h)Alexey Zelkin2003-06-252-2/+1
| | | | | | | Reviewed by: ache Notes: svn path=/head/; revision=116844
* back out install of net80211 include files until I can remove the old codeSam Leffler2003-06-251-2/+2
| | | | Notes: svn path=/head/; revision=116835
* Push the alloca #error warning farther down to play nicer with some out ofDavid E. O'Brien2003-06-251-2/+0
| | | | | | | | | tree local translator. Requested by: jmallett Notes: svn path=/head/; revision=116833
* Fix a mismerge.David E. O'Brien2003-06-251-1/+1
| | | | Notes: svn path=/head/; revision=116832
* Don't blindly provide alloca() for all compilers -- it is too implementationDavid E. O'Brien2003-06-251-4/+5
| | | | | | | | | dependent. Instead provide one for GCC & Intel's GCC copy and one for lint. Anyone using any other translator tool needs to look closely at how that tool can handle alloca. Notes: svn path=/head/; revision=116831
* install new 802.11 headersSam Leffler2003-06-251-2/+2
| | | | Notes: svn path=/head/; revision=116818
* Install the include file for the netgraph ATM node.Hartmut Brandt2003-06-251-2/+3
| | | | Notes: svn path=/head/; revision=116811
* Bring back IPFilter headers to /usr/include, now that SHARED=symlinksRuslan Ermilov2003-06-231-2/+10
| | | | | | | | | installs the per-header symlinks. Prodded by: many Notes: svn path=/head/; revision=116734
* Remove argument names from a function declaration.David Malone2003-06-221-1/+1
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=116680