summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Update the dump program to save extended attributes. Updatemckusick2007-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
* Makefile changes to reflect moving sys/isofs/cd9660 to sys/fs/cd9660.rodrigc2007-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.
* Properly parenthesize the __tg_is_complex() macro by moving a closingschweikh2007-02-021-2/+2
| | | | | | paren to where it belongs. MFC after: 7 days
* Comment the token after #endif, like we do everywhere else.schweikh2007-02-021-6/+6
| | | | | | Static analyzers like FlexeLint complain about it. MFC after: 7 days
* Oops, remove an objformat.h reference.peter2007-01-251-1/+1
|
* Remove more a.out strays, as threatened in 2002.peter2007-01-251-39/+0
|
* Add function __mq_oshandle() to get file handle of a mqueue.davidxu2007-01-061-0/+2
|
* Merge BIND9 9.3.3 into main chunk.ume2006-12-151-1/+1
| | | | | Obtained from: ISC MFC after: 1 week
* Forgot to commit this file: add definition for _SC_PHYS_PAGES.pjd2006-12-141-0/+3
|
* Attempt to improve application portability by marking `struct ar_hdr'jkoshy2006-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
* Merge posix4/* into normal kernel hierarchy.trhodes2006-11-111-2/+2
| | | | | Reviewed by: glanced at by jhb Approved by: silence on -arch@ and -standards@
* Hook up gjournal bits to the build.pjd2006-10-311-2/+2
| | | | Sponsored by: home.pl
* A GEOM cache can speed up read performance by sending fixed sizeru2006-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.
* Include the Solaris compatibility definions iff _SOLARIS_C_SOURCE is defined.jb2006-10-041-0/+4
|
* Prepare for upcoming bthidd(8) update. Install vkbd(4) header into dev/vkbd.emax2006-09-071-1/+1
| | | | MFC after: 1 month
* Add device to access and modify Open Firmware NVRAM settings insobomax2006-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
* Add __{BEGIN,END}_DECLS macros, so that function prototypes remainjasone2006-06-301-0/+4
| | | | | | unmangled for C++ programs. Submitted by: Niklas Sorensson <nik@cs.chalmers.se>
* Add size_t declarationache2006-05-221-0/+6
|
* Make gl_offs size_t too, as required by POSIXache2006-05-221-2/+2
| | | | | Make non-standard gl_matchc in the similar fashion as gl_pathc size_t too, like done in NetBSD & others
* Use size_t for gl_pathc as asked in the libc's Makefile:ache2006-05-221-1/+1
| | | | | | | # If you bump SHLIB_MAJOR, see standards/55112. PR: 55112 Reviewed by: ume
* Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1 on 64 bitume2006-05-211-7/+0
| | | | | | arch. X-MFC after: never
* Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer isume2006-05-211-3/+4
| | | | | | too short. This conforms to RFC3493, POSIX and XPG6. Obtained from: NetBSD
* Upgrade res_update(3) and the friends to BIND9's one excluding TSIGume2006-05-213-55/+51
| | | | | | support. X-MFC after: never
* Comment out the function prototypes which our libc actuallyume2006-05-131-2/+6
| | | | doesn't have.
* Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:ume2006-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>
* English grammar fix in comment.ume2006-04-291-1/+4
| | | | Submitted by: keramida
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-282-10/+7
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* Add a prototype for fcloseall().deischen2006-04-221-0/+1
|
* - make reentrant version of netdb functions glibc style API, andume2006-04-151-0/+26
| | | | | | | expose them to outside of libc. - make netdb functions NSS friendly. Reviewed by: arch@ and current@ (no objection)
* Copy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility.jb2006-04-151-0/+8
| | | | Approved by: rwatson
* Expose res_update and friends again. At least, ports/mail/spamilterume2006-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
* Add malloc_usable_size(3).jasone2006-03-282-1/+38
| | | | Discussed with: arch@
* Update the resolver in libc to BIND9's one.ume2006-03-215-246/+558
| | | | | | | | | | | | | | | | | | | | | | Since, res_sendsigned(3) and the friends use MD5 functions, it is hard to include them without having MD5 functions in libc. So, res_sendsigned(3) is not merged into libc. Since, res_update(3) in BIND9 is not binary compatible with our res_update(3), res_update(3) is leaved as is, except some necessary modifications. The res_update(3) and the friends are not essential part of the resolver. They are not defined in resolv.h but defined in res_update.h separately in BIND9. Further, they are not called from our tree. So, I hide them from our resolv.h, but leave them only for binary backward compatibility (perhaps, no one calls them). Since, struct __res_state_ext is not exposed in BIND9, I hide it from our resolv.h. And, global variable _res_ext is removed. It breaks binary backward compatibility. But, since it is not used from outside of our libc, I think it is safe. Reviewed by: arch@ (no objection)
* Extend coverage of the MK_IPX build option to the following:ru2006-03-201-2/+13
| | | | | | | | | | | | | | | | | | | | | - <netipx> headers [1] - IPX library (libipx) - IPX support in ifconfig(8) - IPXrouted(8) - new MK_NCP option New MK_NCP build option controls: - <netncp> and <fs/nwfs> headers - NCP library (libncp) - ncplist(1) and ncplogin(1) - mount_nwfs(8) - ncp and nwfs kernel modules User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP. [1] <netsmb/netbios.h> unconditionally uses <netipx> headers so they are still installed. This needs to be dealt with.
* Merge Perforce change 93569 from TrustedBSD audit3 branch:rwatson2006-03-191-0/+1
| | | | | | | | | 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
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-6/+8
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3)andre2006-03-141-0/+2
| | | | | | | | providing proper error checking and other improvements. Obtained from: OpenBSD Requested by: flz (to port Open[BGP|OSPF]D) MFC after: 3 days
* Hopefully fix all nearby style bugs that Bruce has mentioned.ru2006-03-101-8/+8
|
* - Fix variable assignment to be portable.ru2006-03-101-6/+6
| | | | | | - "Line up" continuations. Submitted by: bde
* ns_name_skip was not prefixed by `__'.ume2006-03-091-0/+1
| | | | Obtained from: BIND9
* Add nested include of <wchar.h>phk2006-03-021-0/+2
|
* Const'ify arguments to a couple of functions to fix breakagedeischen2006-02-281-1/+1
| | | | with -O2.
* Decrease the value of RES_DFLRETRY from 4 to 2.ume2006-02-241-1/+1
| | | | | | | PR: bin/62139 Reported by: Rostislav Krasny <rosti.bsd__at__gmail.com> Obtained from: BIND9 MFC after: 1 week
* Introduce a new proc service routine ps_linfo() to get LWP info.davidxu2006-02-071-0/+1
|
* Remove spurious "union arg" from printf.hphk2006-02-041-2/+0
| | | | Make sure to always print something in the alternate time format.
* Analogous to __printflike and __scanflike, add the macro __format_arg whichstefanf2006-01-262-8/+2
| | | | | | | expands to the GCC format_arg attribute if supported. This fixes a syntax error in <nl_types.h> for compilers/tools not implementing the GCC __attribute__ extensions.
* Make the %V{is} extension handle a NULL pointer like %s does: output "(null)"phk2006-01-251-4/+12
| | | | | | | | | | | | | Add %M{essage} extension which prints an errno value as the corresponding string if possible or numerically otherwise. It is not currently possible to do the syslog(3) like %m extension because errno would need to get capatured on entry to the first function in the printf family, so %M requires you to supply errno as an argument. Add %Q{uote} extension which will print a string in double quotes with appropriate back-slash escapes (only) if necessary.
* Expose the posix_memalign() prototype, now that the function is implementedjasone2006-01-121-1/+1
| | | | by libc.
* Add a new extensible GSS-API layer which can support GSS-API plugins,dfr2005-12-294-2/+770
| | | | | | | | | similar the the Solaris implementation. Repackage the krb5 GSS mechanism as a plugin library for the new implementation. This also includes a comprehensive set of manpages for the GSS-API functions with text mostly taken from the RFC. Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
* Add a64l(), l64a(), and l64a_r() XSI extentions. These functions converttrhodes2005-12-241-2/+3
| | | | | | | | 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
OpenPOWER on IntegriCloud