summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* o Sort .Xrs.maxim2006-06-131-1/+1
|
* Add xref to statfs(2)phk2006-06-131-0/+1
|
* - ANSIfy.delphij2006-06-051-69/+26
| | | | | | - Remove two unnecessary casts. These changes would help gcc4 compile.
* Replace absolute addressing in the call instructions with position-independendkib2006-06-051-2/+3
| | | | | | | | calls. This eliminates TEXTREL from libc, making its text segment relocatable. PR: i386/85242 Approved by: kan (mentor) MFC after: 1 month
* o Record a file offset for a last successfully parsed group file line.maxim2006-06-011-0/+8
| | | | | | | | | | | If the initial buffer size (1KB) for the given group line is not big enough, reset the offset. It helps to do not miss this line when getrg() reallocates the larger buffer and tries to parse the line again. PR: bin/52433, kern/55031, bin/83696, misc/97640, misc/98111 Submitted by: bsw71@mail.ru, Philip M. Gollucci, Justin Erenkrantz Glanced at: nectar MFC after: 1 month
* o Document the fact truncate(2) has no effect for !VDIR or !VREG files.maxim2006-06-011-1/+5
| | | | Submitted by: ceri
* Fix the output.ru2006-05-271-0/+1
| | | | Noticed by: rodrigc
* GC old a.out and K&R support.imp2006-05-231-9/+0
|
* Reflect int -> size_t changes in glob.hache2006-05-221-3/+3
|
* Reflect size_t changes in glob.hache2006-05-221-22/+23
| | | | Obtained from: NetBSD (mostly)
* Remove pending actions asked in comments for SHLIB_MAJOR bump, done.ache2006-05-221-2/+0
| | | | Reviewed by: ume
* Remove the kludge, as asked in the Makefile:ache2006-05-221-3/+0
| | | | | | # If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c. Reviewed by: ume
* Bump library majro version for gethostbyaddr(3).ume2006-05-211-1/+1
|
* Nuke some compatibility crufts of resolver for 6.X and earlier.ume2006-05-213-15/+0
| | | | X-MFC after: never
* Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1 on 64 bitume2006-05-211-25/+22
| | | | | | arch. X-MFC after: never
* Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer isume2006-05-213-4/+7
| | | | | | 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-2112-943/+69
| | | | | | support. X-MFC after: never
* This commit was generated by cvs2svn to compensate for changes in r158782,ume2006-05-214-0/+2201
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of BIND 9.3.2ume2006-05-214-0/+2201
| |
| * Oops, remove the file I imported into wrong place.ume2006-03-211-47/+0
| |
* | Remove reference to "System call restart" in intro(2). intro(2) does notrodrigc2006-05-201-3/+4
| | | | | | | | | | have such a reference. Add a reference instead to SA_RESTART in sigaction(2).
* | o .Xr strtonum(3).maxim2006-05-202-0/+2
| | | | | | | | MFC after: 1 week
* | Correct decoding a string containing '/'.jkim2006-05-191-1/+1
| | | | | | | | | | PR: 97485 Submitted by: Mikko Tyolajarvi < mbsd at pacbell dot net >
* | * Document the fact that non-superusers cannot change file flags forkeramida2006-05-161-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | objects with SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK. * Document that non-superusers cannot set or clear any SF_* flag (setting fails with EPERM, clearing is silently ignored). * Document that superusers cannot change any flag if one of SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK is set and securelevel is greater than 0. * Document SF_SNAPSHOT and note that it is maintained by the system and is, for this reason, impossible to set to clear by any user. PR: docs/33877 Submitted by: harti Help by: George Marsellis <gam9478@njit.edu> MFC after: 1 week
* | Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:ume2006-05-126-22/+36
| | | | | | | | | | | | | | | | | | | | 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>
* | Save errno before calling pthread_mutex_lock because pthread_mutex_lockdavidxu2006-05-111-2/+2
| | | | | | | | may change errno unexpectly.
* | Increase the minimum chunk size by a power of two (32kB --> 64kB, assumingjasone2006-05-101-2/+2
| | | | | | | | | | | | | | | | 4kB pages), in order to avoid dangerous rounding error when calculating fullness limits during run promotion/demotion. Convert a structure bitfield to a normal field in areana_run_t. This should have been changed along with the other fields in revision 1.120.
* | A few minor wording changes and a clarification about error conditions.bsd2006-05-031-10/+10
| |
* | Fix alignment problem on AMD64.ume2006-05-021-4/+4
| | | | | | | | | | | | Reported by: Pascal Hofstee <caelian__at__gmail.com> Submitted by: Michael Bushkov <bushman__at__rsu.ru> Tested by: Pascal Hofstee <caelian__at__gmail.com>
* | `cache' couldn't co-exist with `compat'.ume2006-04-301-2/+3
| | | | | | | | Submitted by: "Michael Bushkov" <bushman__at__rsu.ru>
* | - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-2821-737/+5438
| | | | | | | | | | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* | Change the semantics of brk_max to dynamically deal with data segmentjasone2006-04-271-71/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bounds. [1] Modify logic for utilizing the data segment, such that it is possible to create huge allocations there. Shrink the data segment when deallocating a chunk, if it is at the end of the data segment. Rename chunk_size to csize in huge_malloc(), in order to avoid masking a static variable of the same name. [1] Reported by: Paul Allen <nospam@ugcs.caltech.edu>
* | Oops, correct the weak reference (s/fclose/fcloseall).deischen2006-04-221-1/+1
| | | | | | | | Spotted by: Antoine Brodin (antoine _dot_ brodin _at_ laposte _dot_ net)
* | Now that libc has fcloseall(), remove _cleanup() from the listdeischen2006-04-221-1/+0
| | | | | | | | of FreeBSD private symbols.
* | Add fcloseall() to libc. This removes the need to export _cleanup().deischen2006-04-225-4/+60
| | | | | | | | | | | | Linux also provides an fcloseall() implementation. Discussed on: arch
* | Update for rev 1.205 of vm_mmap.c.trhodes2006-04-211-7/+6
| | | | | | | | Submitted by: fanf
* | Correct usage example.ceri2006-04-181-1/+1
| | | | | | | | | | | | PR: docs/95059 Submitted by: Jos Backus MFC after: 4 days
* | o dbm_close(3) returns void not zero or anything else. Touch .Dd.maxim2006-04-161-5/+1
| | | | | | | | | | | | PR: docs/80070 Submitted by: Aleksej Saushev MFC after: 2 weeks
* | For _Qp_{fge,fgt,fle,flt}() the SCD states that "Exceptions mimic fcmpeq",marius2006-04-161-4/+4
| | | | | | | | | | | | | | this means they should set the cmpe flag when calling __fpu_compare(). Submitted by: stefanf MFC after: 2 weeks
* | - make reentrant version of netdb functions glibc style API, andume2006-04-1516-705/+1258
| | | | | | | | | | | | | | expose them to outside of libc. - make netdb functions NSS friendly. Reviewed by: arch@ and current@ (no objection)
* | Don't export __gdtoa. The only known ports that rely ondeischen2006-04-151-5/+1
| | | | | | | | | | | | | | this or the deprecated POSIX functions {e,g,f}cvt() have newer versions that do not (rely on them). Requested by: marius
* | o Document SO_NOSIGPIPE, touch .Dd.maxim2006-04-151-1/+9
| | | | | | | | | | | | PR: docs/78479 Submitted by: Mikko Tyolajarvi MFC after: 2 weeks
* | List pwritev in the NAME section.ru2006-04-141-1/+2
| |
* | s/soley/solelyschweikh2006-04-131-1/+1
| |
* | - Move _Qp_* and __dtoul from FBSDprivate to the list of FBSD_1.0 symbolsmarius2006-04-111-35/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as well as add __sparc_utrap_install to FBSD_1.0; these are required by the SCD libc 64 psABI and thus meant to be officially exported symbols. - Remove the __fpu_* entries as well as the __sigtramp entry altogether as these are internal to the libc FPU emulation and the signal trampoline initialization in sigaction(2) respectively and thus don't need to be externally visible. - Add __sparc_utrap_setup to the list of FBSDprivate symbols as it's used in src/lib/csu/sparc64/crt1.c to initialize the libc FPU emulation (I think alternatively src/lib/csu/sparc64/crt1.c could be changed to use __sparc_utrap_install instead, at the expense of increasing the size of executables a bit). - Add an entry for the vfork symbol to the FBSD_1 list and entries for it's associated symbols generated by the RSYSCALL() macro to the FBSDprivate list. There's some magic in place that automatically generates code for vfork() if there's no explicit MD code for it so it might make sense to move these symbols from the MD symbol map files to a MI one. The last two changes make the libc symbol versioning useable on sparc64. Ok'ed by: deischen
* | Document that VIS_CSTYLE encodes space (040) as '\s'.brueffer2006-04-091-1/+3
| | | | | | | | | | | | PR: 95546 Submitted by: Jan Schaumann <jschauma@netmeister.org> MFC after: 3 days
* | Don't test if RES_INIT is set to see res_state structure isume2006-04-081-1/+1
| | | | | | | | | | initialized. Some application may reset RES_INIT. Use the way in __res_vinit(), instead.
* | Add an unreachable return statement, in order to avoid a compiler warningjasone2006-04-051-0/+1
| | | | | | | | | | | | for non-standard optimization levels. Reported by: Michael Zach <zach@webges.com>
* | Only initialize the first per-chunk page map element for free runs. Thisjasone2006-04-051-31/+16
| | | | | | | | makes run split/coalesce operations of complexity lg(n) rather than n.
* | Add malloc_usable_size() to the RETURN VALUES section.jasone2006-04-041-1/+6
| |
OpenPOWER on IntegriCloud