summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* - add getproto{byname,bynumber,ent}_r for internal use within libc.ume2005-04-194-53/+181
| | | | - make getproto{byname,bynumber,ent} thread-safe.
* - nuke deprecated and unused getnodeby(3).ume2005-04-191-31/+0
| | | | | | - remove unused variable. Obtained from: KAME
* Bring a working snapshot of hwpmc(4), its associated libraries, userland ↵jkoshy2005-04-195-1/+5351
| | | | | | | | | | utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
* rename the NIS related fields to have yp_ prefix.ume2005-04-184-38/+38
| | | | Suggested by: delphij
* Do not check whether a pointer is NULL, since free(3) already takes care ofdelphij2005-04-181-6/+3
| | | | | | this case. Reviewed by: ume
* Add a sysctl that returns the full path of a process' text file.das2005-04-181-3/+9
| | | | | This information is needed by things like `gdb -p' and Sun's javac, and previously it could only be obtained via procfs
* Portability enhancement: MS Windows won't restore metadata if the filekientzle2005-04-171-1/+1
| | | | | | | is still open, so close the file as soon as we've written the file contents, before we attempt to restore metadata. Thanks to: Kees Zeelenberg
* Fix truncl.3 MLINKSache2005-04-171-1/+1
|
* Update "make distfile" to use newest automake/autoconf from ports.kientzle2005-04-171-2/+2
| | | | Thanks to: Juergen Lock
* Fix build for !YP case.delphij2005-04-171-0/+4
| | | | | BTW. Shall we change these fields to have yp_ prefix? That will make the code easier to read.
* libc-internal interfaces should have two underscores in frontume2005-04-174-12/+12
| | | | | | of their names. Pointed out by: das
* Wrong working directory, sorry. The previous patch was what I havedelphij2005-04-171-5/+0
| | | | | | seen in NetBSD's tree, and this one is what I have submitted for review. Pointy hat to: me
* Remove a check about whether sa->sa_len is equal to salen fromdelphij2005-04-171-0/+2
| | | | | | | | | | | getnameinfo(3). POSIX standard does not require a sa_len field in sockaddr struct, hence such requirement will cause problem for portability. PR: standards/80008 Requested by: Xin Liu <lx@knight.6test.edu.cn> Reviewed by: freebsd-standards (das) MFC After: 2 weeks
* Be bug-for-bug compatible with the C standard with respect todas2005-04-162-4/+16
| | | | printf("%#.0o", 0). Cite an amusing passage from a defect report.
* More optimized math functions.das2005-04-1616-5/+399
|
* Implement truncl() based on floorl().das2005-04-164-12/+80
|
* When parsing the second {uid,gid} in an identity phrase for ugidfw,rwatson2005-04-161-13/+25
| | | | | | | | check the password or group database before attempting to parse as an integer, as is done for the first {uid,gid} in an identity phrase. Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA
* In practice, you need to include <sys/types.h> andrwatson2005-04-161-0/+2
| | | | | | | <security/mac_bsdextended/mac_bsdextended.h> in order to include <ugidfw.h>, so document that. MFC after: 3 days
* Now, our getservbyname(3) is thread-safe. So, we don't needume2005-04-151-14/+1
| | | | to protect it with mutex lock.
* - add getserv{byname,byport,ent}_r for internal use within libc.ume2005-04-154-127/+288
| | | | | | - make getserv{byname,byport,ent} thread-safe. Reviewed by: gnn
* hostalias() is not thread-safe. So, introduce _res_hostalias()ume2005-04-153-14/+29
| | | | | | and use it. Obtained from: BIND9
* remove needless res_init() call.ume2005-04-141-9/+0
| | | | Inspired by: NetBSD
* Adapt the libpthread patch for using i386_set_gsbase() to libthr.peter2005-04-142-16/+41
|
* Use the i386_set_gsbase() syscall if it is implemented in the kernel.peter2005-04-144-32/+82
| | | | | This is a little hairy here because the allocation and usage of this functionality is split into two places in libpthread.
* Attempt i386_set_gsbase() before using the user_ldt code. Unimplementedpeter2005-04-141-1/+4
| | | | sysarch() calls return EINVAL, not SIGSYS.. so we can trivially adapt.
* Add stubs for the %fs/%gs base management calls.peter2005-04-145-0/+149
|
* Merge two slice_type_name() functions.nyan2005-04-131-23/+4
|
* o Code cleanup, eliminate private thread id map, directlydavidxu2005-04-131-187/+64
| | | | | use lwpid as thread id. o Export tls pointer.
* Fill traceme and events fields.davidxu2005-04-121-0/+8
|
* Conditionally report initial thread event.davidxu2005-04-121-1/+2
|
* Add missing event reporting code.davidxu2005-04-121-0/+65
|
* Sync with debugger code in libthr.davidxu2005-04-124-46/+173
|
* Add debugger event reporting support, current only TD_CREATE and TD_DEATHdavidxu2005-04-129-16/+64
| | | | events are reported.
* Add a machine-specific, optimized implementation of strcat.alc2005-04-102-1/+166
| | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks
* Eliminate a conditional branch and as a side-effect eliminate a branch toalc2005-04-101-5/+4
| | | | | | | | a return instruction. (The latter is discouraged by the Opteron optimization manual because it disables branch prediction for the return instruction.) Reviewed by: bde
* Remove duplicated "bytes".delphij2005-04-101-1/+1
| | | | | Submitted by: Wojciech A. Koszek [dunstan freebsd czest pl] PR: 79747
* Add a machine-specific, optimized implementation of strcpy.alc2005-04-102-1/+113
| | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks
* Add a machine-specific, optimized implementation of strcmp.alc2005-04-092-1/+75
| | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks
* unbreak build without YP defined.ume2005-04-091-0/+4
| | | | Submitted by: Andrea Campi <andrea+freebsd_cvs_at_webcom.it>
* Remove unused variables and assignments.stefanf2005-04-084-9/+3
|
* Use prototypes in the function definitions.stefanf2005-04-082-34/+14
|
* Remove unused variable.stefanf2005-04-081-3/+2
|
* Add machine-specific, optimized implementations of bcmp and memcmp.alc2005-04-083-1/+67
| | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks
* Eliminate unneeded instructions that are a vestige of mechanicalalc2005-04-081-10/+4
| | | | translation from i386.
* Add roundl(), lroundl(), and llroundl().das2005-04-087-18/+120
|
* These files should include s_lround.c instead of s_lrint.c.das2005-04-083-3/+3
| | | | This only matters for efficiency, not for correctness.
* Fix a (coincidentally harmless) bug.das2005-04-081-5/+4
|
* Use the new atomic_cmpset_32().cognet2005-04-074-50/+0
|
* Adjust hash function for smaller pthread structure size.davidxu2005-04-071-1/+1
|
* Eliminate an unneeded instruction that is a vestige of mechanicalalc2005-04-071-7/+5
| | | | translation from i386.
OpenPOWER on IntegriCloud