aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Remove old prototypes for addr2ascii() and ascii2addr(), functions which noBruce M Simpson2007-08-241-2/+0
| | | | | | | | | | longer exist in libc. Requested by: Craig Rodrigues Approved by: re (kensmith) Notes: svn path=/head/; revision=171954
* declare struct tftphdr and embedded union as beeing packed, which isBernd Walter2007-08-011-2/+2
| | | | | | | | | | | required for arm. Tested on: arm, i386, amd64 Approved by: re (rwatson) MFC after: 1 week Notes: svn path=/head/; revision=171680
* Disconnect netatm from the build as it is not MPSAFE and relies onRobert Watson2007-07-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT, which will shortly be removed. This is done in a away that it may be easily reattached to the build before 7.1 if appropriate locking is added. Specifics: - Don't install netatm include files - Disconnect netatm command line management tools - Don't build libatm - Don't include ATM parts in rescue or sysinstall - Don't install sample configuration files and documents - Don't build kernel support as a module or in NOTES - Don't build netgraph wrapper nodes for netatm This removes the last remaining consumer of NET_NEEDS_GIANT. Reviewed by: harti Discussed with: bz, bms Approved by: re (kensmith) Notes: svn path=/head/; revision=171453
* I4B header files were repo-copied from sys/i386/include toBjoern A. Zeeb2007-07-061-0/+15
| | | | | | | | | | | | | | | sys/i4b/include/ so they will be available to all architectures once I4B compiles on those. I4B header files are now installed in include/i4b/ and no longer in include/machine/. For now we still install the headers for i386 only. Approved by: re (kensmith) Notes: svn path=/head/; revision=171271
* Significantly reduce the memory leak as noted in BUGS section forSean Farley2007-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value. Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT. Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv(). New regression module for tools/regression/environ to test these functions. It also can be used to test the performance. Bump __FreeBSD_version to 700050 due to API change. PR: kern/99826 Approved by: wes Approved by: re (kensmith) Notes: svn path=/head/; revision=171195
* Commit IPv6 support for FAST_IPSEC to the tree.George V. Neville-Neil2007-07-011-1/+1
| | | | | | | | | | | This commit includes all remaining changes for the time being including user space updates. Submitted by: bz Approved by: re Notes: svn path=/head/; revision=171135
* - Remove UMAP filesystem. It was disconnected from build three years ago,Rong-En Fan2007-06-251-2/+1
| | | | | | | | | | and it is seriously broken. Discussed on: freebsd-arch@ Approved by: re (mux) Notes: svn path=/head/; revision=171023
* Require users to provide a length information for inet_ntoa_r,Xin LI2007-06-141-1/+1
| | | | | | | | | this is common on other platforms. Reported by: pointyhat via kris Notes: svn path=/head/; revision=170715
* Add inet_ntoa_r, a reentrant version of inet_ntoa. This isXin LI2007-06-111-0/+2
| | | | | | | | | available on a lot of platforms, as well as libkern for years. Submitted by: "MQ" Notes: svn path=/head/; revision=170548
* Use tabs after #define.Stefan Farfeleder2007-06-111-5/+5
| | | | | | | | Obtained from: NetBSD Spotted by: njl Notes: svn path=/head/; revision=170547
* Add _PATH_FWMEM for libkvm.Hidetoshi Shimokawa2007-06-111-0/+1
| | | | Notes: svn path=/head/; revision=170527
* Merge NetBSD changes, among them:Stefan Farfeleder2007-06-101-2/+5
| | | | | | | | | | | | | | | | | el.c 1.44, el.h 1.17, editline.3 1.53, histedit.h 1.31: # add EL_GETFP, and EL_SETFP. el.c 1.42, term.c 1.46, term.h 1.18, editline.3 1.52, histedit.h 1.29: # - Add more readline functions, enough for gdb-6.5 # - Make el_get varyadic, and implement EL_GETTC. # - XXX: the EL_SETTC api will change in the future. Note: The latter change breaks the ABI of the el_get() function. Approved by: re (kensmith) Notes: svn path=/head/; revision=170511
* Merge BIND 9.4.1 into main chunk.Hajimu UMEMOTO2007-06-035-298/+302
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=170244
* Back out all POSIXified *env() changes.Andrey A. Chernov2007-05-011-2/+2
| | | | | | | | | | | | Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that. Anyone who interested in POSIX can dig out what changes and how through cvs diffs. Notes: svn path=/head/; revision=169177
* Fix unsetenv and putenv prototypes to conform Open Group specs Issue 6Andrey A. Chernov2007-04-301-2/+2
| | | | | | | (also IEEE Std 1003.1-2001) Notes: svn path=/head/; revision=169110
* Install only types.h from sys/rpc/.Pawel Jakub Dawidek2007-04-131-1/+9
| | | | | | | | Requested by: ache Explained how by: ru Notes: svn path=/head/; revision=168677
* Move rpc/types.h under sys/, as this is used by ZFS kernel module.Pawel Jakub Dawidek2007-04-103-108/+2
| | | | | | | Repo-copied by: simon Notes: svn path=/head/; revision=168606
* - Remove SEEK_DATA and SEEK_HOLE from stdio.h, they don't belong here.Pawel Jakub Dawidek2007-04-071-6/+0
| | | | | | | | | | - Only define SEEK_DATA and SEEK_HOLE in sys/unistd.h when neither _POSIX_SOURCE nor _XOPEN_SOURCE is defined. Pointed out by: bde, ache Notes: svn path=/head/; revision=168469
* Implement SEEK_DATA and SEEK_HOLE extensions to lseek(2) as found inPawel Jakub Dawidek2007-04-051-0/+6
| | | | | | | | | OpenSolaris. For more information please refer to: http://blogs.sun.com/bonwick/entry/seek_hole_and_seek_data Notes: svn path=/head/; revision=168397
* Update the dump program to save extended attributes. UpdateKirk McKusick2007-02-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the restore program to restore all dumped extended attributes. If the restore is running as root, it will always be able to restore all extended attributes. If it is not running as root, it makes a best effort to set them. Using the -v command line flag or the `verbose' command in interactive mode will display all the extended attributes being set on files (and at the end on directories) that are being restored. It will note any extended attributes that could not be set. The extended attributes are placed on the dump image immediately following each file's data. Older versions of restore can work with the newer dump images. Old versions of restore will correctly restore the file data and then (silently) skip over the extended attribute data and proceed to the next file. This resolves PR 93085 which will be closed once the code has been MFC'ed. Note that this code will not compile until these header files have been updated: <protocols/dumprestore.h> and <sys/extattr.h>. PR: bin/93085 Comments from: Poul-Henning Kamp and Robert Watson MFC after: 3 weeks Notes: svn path=/head/; revision=167011
* Makefile changes to reflect moving sys/isofs/cd9660 to sys/fs/cd9660.Craig Rodrigues2007-02-111-1/+8
| | | | | | | | Continue to install userland include files in /usr/include/isofs/cd9660 so as not to break userland applications such as libstand. Notes: svn path=/head/; revision=166640
* Properly parenthesize the __tg_is_complex() macro by moving a closingJens Schweikhardt2007-02-021-2/+2
| | | | | | | | | paren to where it belongs. MFC after: 7 days Notes: svn path=/head/; revision=166432
* Comment the token after #endif, like we do everywhere else.Jens Schweikhardt2007-02-021-6/+6
| | | | | | | | | Static analyzers like FlexeLint complain about it. MFC after: 7 days Notes: svn path=/head/; revision=166431
* Oops, remove an objformat.h reference.Peter Wemm2007-01-251-1/+1
| | | | Notes: svn path=/head/; revision=166243
* Remove more a.out strays, as threatened in 2002.Peter Wemm2007-01-251-39/+0
| | | | Notes: svn path=/head/; revision=166241
* Add function __mq_oshandle() to get file handle of a mqueue.David Xu2007-01-061-0/+2
| | | | Notes: svn path=/head/; revision=165828
* Merge BIND9 9.3.3 into main chunk.Hajimu UMEMOTO2006-12-151-1/+1
| | | | | | | | Obtained from: ISC MFC after: 1 week Notes: svn path=/head/; revision=165258
* Forgot to commit this file: add definition for _SC_PHYS_PAGES.Pawel Jakub Dawidek2006-12-141-0/+3
| | | | Notes: svn path=/head/; revision=165230
* Attempt to improve application portability by marking `struct ar_hdr'Joseph Koshy2006-11-131-1/+5
| | | | | | | | | | | | | | | | as `packed'. The C standard leaves the alignment of individual members of a C struct upto the implementation, so pedantically speaking portable code cannot assume that the layout of a `struct ar_hdr' in memory will match its layout in a file. Using a __packed attribute declaration forces file and memory layouts for this structure to match. Submitted by: ru Notes: svn path=/head/; revision=164244
* Merge posix4/* into normal kernel hierarchy.Tom Rhodes2006-11-111-2/+2
| | | | | | | | Reviewed by: glanced at by jhb Approved by: silence on -arch@ and -standards@ Notes: svn path=/head/; revision=164184
* Hook up gjournal bits to the build.Pawel Jakub Dawidek2006-10-311-2/+2
| | | | | | | Sponsored by: home.pl Notes: svn path=/head/; revision=163851
* A GEOM cache can speed up read performance by sending fixed sizeRuslan Ermilov2006-10-061-2/+2
| | | | | | | | | | | | | read requests to its consumer. It has been developed to address the problem of a horrible read performance of a 64k blocksize FS residing on a RAID3 array with 8 data components, where a single disk component would only get 8k read requests, thus effectively killing disk performance under high load. Documentation will be provided later. I'd like to thank Vsevolod Lobko for his bright ideas, and Pawel Jakub Dawidek for helping me fix the nasty bug. Notes: svn path=/head/; revision=163048
* Include the Solaris compatibility definions iff _SOLARIS_C_SOURCE is defined.John Birrell2006-10-041-0/+4
| | | | Notes: svn path=/head/; revision=163001
* Prepare for upcoming bthidd(8) update. Install vkbd(4) header into dev/vkbd.Maksim Yevmenkin2006-09-071-1/+1
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=162117
* Add device to access and modify Open Firmware NVRAM settings inMaxim Sobolev2006-08-011-1/+5
| | | | | | | | | | | | PowerPC-based Apple's machines and small utility to do it from userland modelled after the similar utility in Darwin/OSX. Only tested on 1.25GHz G4 Mac Mini. MFC after: 1 month Notes: svn path=/head/; revision=160892
* Add __{BEGIN,END}_DECLS macros, so that function prototypes remainJason Evans2006-06-301-0/+4
| | | | | | | | | unmangled for C++ programs. Submitted by: Niklas Sorensson <nik@cs.chalmers.se> Notes: svn path=/head/; revision=160056
* Add size_t declarationAndrey A. Chernov2006-05-221-0/+6
| | | | Notes: svn path=/head/; revision=158811
* Make gl_offs size_t too, as required by POSIXAndrey A. Chernov2006-05-221-2/+2
| | | | | | | | Make non-standard gl_matchc in the similar fashion as gl_pathc size_t too, like done in NetBSD & others Notes: svn path=/head/; revision=158810
* Use size_t for gl_pathc as asked in the libc's Makefile:Andrey A. Chernov2006-05-221-1/+1
| | | | | | | | | | # If you bump SHLIB_MAJOR, see standards/55112. PR: 55112 Reviewed by: ume Notes: svn path=/head/; revision=158808
* Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1 on 64 bitHajimu UMEMOTO2006-05-211-7/+0
| | | | | | | | | arch. X-MFC after: never Notes: svn path=/head/; revision=158791
* Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer isHajimu UMEMOTO2006-05-211-3/+4
| | | | | | | | | too short. This conforms to RFC3493, POSIX and XPG6. Obtained from: NetBSD Notes: svn path=/head/; revision=158790
* Upgrade res_update(3) and the friends to BIND9's one excluding TSIGHajimu UMEMOTO2006-05-213-55/+51
| | | | | | | | | support. X-MFC after: never Notes: svn path=/head/; revision=158787
* Comment out the function prototypes which our libc actuallyHajimu UMEMOTO2006-05-131-2/+6
| | | | | | | doesn't have. Notes: svn path=/head/; revision=158518
* Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:Hajimu UMEMOTO2006-05-121-2/+9
| | | | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html gethostbyaddr_r() is changed as well. It breaks ABI backward compatibility on 64 bit arch. So, we fix it on 32 bit arch only for now. Reported by: Rostislav Krasny <rosti.bsd@gmail.com> Notes: svn path=/head/; revision=158477
* English grammar fix in comment.Hajimu UMEMOTO2006-04-291-1/+4
| | | | | | | Submitted by: keramida Notes: svn path=/head/; revision=158138
* - Extend the nsswitch to support Services, Protocols and RpcHajimu UMEMOTO2006-04-282-10/+7
| | | | | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005 Notes: svn path=/head/; revision=158115
* Add a prototype for fcloseall().Daniel Eischen2006-04-221-0/+1
| | | | Notes: svn path=/head/; revision=157960
* - make reentrant version of netdb functions glibc style API, andHajimu UMEMOTO2006-04-151-0/+26
| | | | | | | | | | expose them to outside of libc. - make netdb functions NSS friendly. Reviewed by: arch@ and current@ (no objection) Notes: svn path=/head/; revision=157779
* Copy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility.John Birrell2006-04-151-0/+8
| | | | | | | Approved by: rwatson Notes: svn path=/head/; revision=157766
* Expose res_update and friends again. At least, ports/mail/spamilterHajimu UMEMOTO2006-03-302-1/+80
| | | | | | | | | | | | uses them. Now, we have res_nupdate and res_nmkupdate as well, but they are still based on our old resolver for binary backward compatibility. So, they don't provide new features such as TSIG support. Reported by: pointyhat via kris Notes: svn path=/head/; revision=157308