summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix return value.davidxu2006-05-171-1/+2
|
* get thread signal info.davidxu2006-05-172-0/+38
|
* Export offsets of thread signal pending set and signal mask for debugger.davidxu2006-05-173-0/+6
|
* * 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
* Add a manual dependency on ssh_namespace.h.des2006-05-131-2/+6
| | | | Discussed with: ru
* Introduce a namespace munging hack inspired by NetBSD to avoid pollutingdes2006-05-131-1/+1
| | | | | | | | the namespace of applications which inadvertantly link in libssh (usually through pam_ssh) Suggested by: lukem@netbsd.org MFC after: 6 weeks
* 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.
* Add symbol versions: FBSD_1.0 and FBSDprivate.davidxu2006-05-111-3/+387
|
* 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.
* In order to let new binutils can compile it, replace movl withdavidxu2006-05-072-18/+18
| | | | | | movw for segment saving and restoring. Submitted by: Diego 'Flameeyes' Petteno flameeyes at gentoo dot org
* 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>
* Simplify some of the wide-character handling, inspiredkientzle2006-05-013-62/+40
| | | | | | | in part by OpenBSD's not-quite-standard-compliant standard libraries. (No loss of functionality, just minor recoding to not rely on certain "standard" facilities that weren't actually needed.)
* Whitespace cleanup.kientzle2006-05-011-2/+2
|
* `cache' couldn't co-exist with `compat'.ume2006-04-301-2/+3
| | | | Submitted by: "Michael Bushkov" <bushman__at__rsu.ru>
* Go with a different version of the previous patch so to preserve errno.marcus2006-04-301-5/+5
| | | | Approved by: scottl (implicit)
* Fix a file descriptor leak in cam_lookup_pass() when the ioctl to findmarcus2006-04-301-4/+5
| | | | | | | the passthru device fails. Approved by: scottl MFC after: 1 day
* - 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
* s/long/int.davidxu2006-04-271-2/+2
|
* - Use same priority range returned by kernel's sched_get_priority_min()davidxu2006-04-276-55/+57
| | | | | and sched_get_priority_max() syscalls. - Remove unused fields from structure pthread_attr.
* 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>
* o Add IDs for Plan9, QNX4.X, Mac OS-X, Linux exteneded partitions.maxim2006-04-251-0/+7
| | | | | | PR: bin/96326 Submitted by: Alex Kozlov MFC after: 2 weeks
* Add some new options to mac_bsdestended. We can now match on:dwmalone2006-04-233-180/+729
| | | | | | | | | | | | | | | | | | | | | | | subject: ranges of uid, ranges of gid, jail id objects: ranges of uid, ranges of gid, filesystem, object is suid, object is sgid, object matches subject uid/gid object type We can also negate individual conditions. The ruleset language is a superset of the previous language, so old rules should continue to work. These changes require a change to the API between libugidfw and the mac_bsdextended module. Add a version number, so we can tell if we're running mismatched versions. Update man pages to reflect changes, add extra test cases to test_ugidfw.c and add a shell script that checks that the the module seems to do what we expect. Suggestions from: rwatson, trhodes Reviewed by: trhodes MFC after: 2 months
* Remove multiple _get_curthread() calls.davidxu2006-04-231-4/+1
|
* 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
* Teach libkvm how to read minidumps. It turns out that minidumps arepeter2006-04-216-0/+580
| | | | | | | | | | | | | | far more convenient for libkvm to work with because of the page table block at the beginning. As a result, the MD code is smaller. libkvm will automatically detect old vs mini dumps on i386 and amd64. libkvm will handle i386 PAE and non-PAE modes. There is a PAE flag in the i386 minidump header to signal the width of the entries in the page table block. Other convenient values are also present, such as kernbase and the direct map addresses on amd64.
* Document how the backoff delay is calculated.brueffer2006-04-191-1/+4
| | | | | Submitted by: markus MFC after: 3 days
* 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
|
* Apply style.Makefile(5) here.ru2006-04-131-5/+5
|
* Install the shared library under /usr/lib; it's not used by anythingru2006-04-131-1/+0
| | | | | | in /bin or /sbin. Not objected to by: phk
* Place shared libpcap library under /lib, currently needed byru2006-04-131-0/+2
| | | | | | /sbin/ipf and /sbin/pflogd. OK'ed by: mlaier
* Unexpand TAILQ_FIRST(foo) == NULL to TAILQ_EMPTY.delphij2006-04-134-10/+10
| | | | Ok'ed by: davidxu
* Fix a symlink.ru2006-04-121-1/+1
|
* Install shared libpthread library into /lib; needed by someru2006-04-123-1/+7
| | | | /sbin programs.
* use pwrite to always write at the begining of the file.. If multiple callsjmg2006-04-111-1/+1
| | | | | | | | to pidfile_write happen, the pidfile will have nul characters prepended due to the cached file descriptor offset... Reviewed by: scottl MFC after: 3 days
* - 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.
* Do not check validity of timeout if a mutex can be acquired immediately.davidxu2006-04-083-80/+103
| | | | | Completly drop recursive mutex in pthread_cond_wait and restore recursive after resumption. Reorganize code to make gcc to generate better code.
OpenPOWER on IntegriCloud