Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fix two typos in comments. | trhodes | 2005-04-23 | 1 | -2/+2 | |
| | | ||||||
* | | Add i386_get_gsbase, i386_set_gsbase since old libc doesn't have the | davidxu | 2005-04-23 | 1 | -0/+14 | |
| | | | | | | | | functions, otherwise user ports have to be rebuilt. | |||||
* | | Properly spell default in a comment. | trhodes | 2005-04-22 | 1 | -1/+1 | |
| | | ||||||
* | | Enforce style.Makefile(5). | trhodes | 2005-04-22 | 2 | -2/+2 | |
| | | | | | | | | Glanced at by: ru (some time ago). | |||||
* | | Use double additions to raise the inexact exception to work around problems | stefanf | 2005-04-22 | 3 | -12/+12 | |
| | | | | | | | | with long double addition on sparc64. | |||||
* | | Fix raising the inexact exception (FE_INEXACT) if the result differs from the | stefanf | 2005-04-22 | 3 | -18/+34 | |
| | | | | | | | | | | | | argument. Noticed by: das | |||||
* | | Eliminate an unpredictable branch from bcmp(). | alc | 2005-04-21 | 1 | -5/+4 | |
| | | | | | | | | Reviewed by: bde | |||||
* | | Do not try to store 64 bits into 32 bit errno variable. With the changed libc | kan | 2005-04-21 | 1 | -1/+1 | |
| | | | | | | | | | | data layout, this was corrupting _PathLocale variable leading to programs dumping core in non-default locales. | |||||
* | | Add event aliases for P6 and K8 PMCs. | jkoshy | 2005-04-21 | 1 | -17/+31 | |
| | | ||||||
* | | Build libpmc on all architectures (FWIW :-) | marcel | 2005-04-20 | 1 | -3/+1 | |
| | | | | | | | | Ok'd by: jkoshy@ | |||||
* | | o Do not include <machine/pmc_mdep.h>. It's automaticly included for | marcel | 2005-04-20 | 1 | -9/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | us when <sys/pmc.h> is included. o Replace "#if __i386__" and "#if __amd64__" with the equivalent of "#ifdef __i386__" and "#ifdef __amd64__" (resp.) These tokens are not defined on all platforms. o Conditionally compile pmc_parse_mask() on i386 and amd64 only. It's only referenced there. This will change when support for other platforms is added, of course. Ok'd by: jkoshy@ | |||||
* | | Remove extra Id keyword. | jkoshy | 2005-04-20 | 1 | -2/+0 | |
| | | ||||||
* | | Remove superfluous CFLAGS lines. Use the conditional '?=' construct | jkoshy | 2005-04-19 | 1 | -2/+0 | |
| | | | | | | | | | | | | for WARNS lines. Submitted by: ru | |||||
* | | - add getproto{byname,bynumber,ent}_r for internal use within libc. | ume | 2005-04-19 | 4 | -53/+181 | |
| | | | | | | | | - make getproto{byname,bynumber,ent} thread-safe. | |||||
* | | - nuke deprecated and unused getnodeby(3). | ume | 2005-04-19 | 1 | -31/+0 | |
| | | | | | | | | | | | | - remove unused variable. Obtained from: KAME | |||||
* | | Bring a working snapshot of hwpmc(4), its associated libraries, userland ↵ | jkoshy | 2005-04-19 | 5 | -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. | ume | 2005-04-18 | 4 | -38/+38 | |
| | | | | | | | | Suggested by: delphij | |||||
* | | Do not check whether a pointer is NULL, since free(3) already takes care of | delphij | 2005-04-18 | 1 | -6/+3 | |
| | | | | | | | | | | | | this case. Reviewed by: ume | |||||
* | | Add a sysctl that returns the full path of a process' text file. | das | 2005-04-18 | 1 | -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 file | kientzle | 2005-04-17 | 1 | -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 MLINKS | ache | 2005-04-17 | 1 | -1/+1 | |
| | | ||||||
* | | Update "make distfile" to use newest automake/autoconf from ports. | kientzle | 2005-04-17 | 1 | -2/+2 | |
| | | | | | | | | Thanks to: Juergen Lock | |||||
* | | Fix build for !YP case. | delphij | 2005-04-17 | 1 | -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 front | ume | 2005-04-17 | 4 | -12/+12 | |
| | | | | | | | | | | | | of their names. Pointed out by: das | |||||
* | | Wrong working directory, sorry. The previous patch was what I have | delphij | 2005-04-17 | 1 | -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 from | delphij | 2005-04-17 | 1 | -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 to | das | 2005-04-16 | 2 | -4/+16 | |
| | | | | | | | | printf("%#.0o", 0). Cite an amusing passage from a defect report. | |||||
* | | More optimized math functions. | das | 2005-04-16 | 16 | -5/+399 | |
| | | ||||||
* | | Implement truncl() based on floorl(). | das | 2005-04-16 | 4 | -12/+80 | |
| | | ||||||
* | | When parsing the second {uid,gid} in an identity phrase for ugidfw, | rwatson | 2005-04-16 | 1 | -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> and | rwatson | 2005-04-16 | 1 | -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 need | ume | 2005-04-15 | 1 | -14/+1 | |
| | | | | | | | | to protect it with mutex lock. | |||||
* | | - add getserv{byname,byport,ent}_r for internal use within libc. | ume | 2005-04-15 | 4 | -127/+288 | |
| | | | | | | | | | | | | - make getserv{byname,byport,ent} thread-safe. Reviewed by: gnn | |||||
* | | hostalias() is not thread-safe. So, introduce _res_hostalias() | ume | 2005-04-15 | 3 | -14/+29 | |
| | | | | | | | | | | | | and use it. Obtained from: BIND9 | |||||
* | | remove needless res_init() call. | ume | 2005-04-14 | 1 | -9/+0 | |
| | | | | | | | | Inspired by: NetBSD | |||||
* | | Adapt the libpthread patch for using i386_set_gsbase() to libthr. | peter | 2005-04-14 | 2 | -16/+41 | |
| | | ||||||
* | | Use the i386_set_gsbase() syscall if it is implemented in the kernel. | peter | 2005-04-14 | 4 | -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. Unimplemented | peter | 2005-04-14 | 1 | -1/+4 | |
| | | | | | | | | sysarch() calls return EINVAL, not SIGSYS.. so we can trivially adapt. | |||||
* | | Add stubs for the %fs/%gs base management calls. | peter | 2005-04-14 | 5 | -0/+149 | |
| | | ||||||
* | | Merge two slice_type_name() functions. | nyan | 2005-04-13 | 1 | -23/+4 | |
| | | ||||||
* | | o Code cleanup, eliminate private thread id map, directly | davidxu | 2005-04-13 | 1 | -187/+64 | |
| | | | | | | | | | | use lwpid as thread id. o Export tls pointer. | |||||
* | | Fill traceme and events fields. | davidxu | 2005-04-12 | 1 | -0/+8 | |
| | | ||||||
* | | Conditionally report initial thread event. | davidxu | 2005-04-12 | 1 | -1/+2 | |
| | | ||||||
* | | Add missing event reporting code. | davidxu | 2005-04-12 | 1 | -0/+65 | |
| | | ||||||
* | | Sync with debugger code in libthr. | davidxu | 2005-04-12 | 4 | -46/+173 | |
| | | ||||||
* | | Add debugger event reporting support, current only TD_CREATE and TD_DEATH | davidxu | 2005-04-12 | 9 | -16/+64 | |
| | | | | | | | | events are reported. | |||||
* | | Add a machine-specific, optimized implementation of strcat. | alc | 2005-04-10 | 2 | -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 to | alc | 2005-04-10 | 1 | -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". | delphij | 2005-04-10 | 1 | -1/+1 | |
| | | | | | | | | | | Submitted by: Wojciech A. Koszek [dunstan freebsd czest pl] PR: 79747 | |||||
* | | Add a machine-specific, optimized implementation of strcpy. | alc | 2005-04-10 | 2 | -1/+113 | |
| | | | | | | | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks |