kopensolaris-gnu/glibc.git
11 years ago. fedora-glibc-20080728T2320
drepper [Mon, 28 Jul 2008 22:55:10 +0000 (22:55 +0000)]
.

11 years agoAdjust for __libc_res_nquery and __libc_res_nsearch interface changes.
drepper [Mon, 28 Jul 2008 22:55:04 +0000 (22:55 +0000)]
Adjust for __libc_res_nquery and __libc_res_nsearch interface changes.

11 years agoAdjust for __libc_res_nquery interface change.
drepper [Mon, 28 Jul 2008 22:54:15 +0000 (22:54 +0000)]
Adjust for __libc_res_nquery interface change.

11 years agoAdjust for __libc_res_nsearch interface change.
drepper [Mon, 28 Jul 2008 22:53:35 +0000 (22:53 +0000)]
Adjust for __libc_res_nsearch interface change.
(_nss_dns_gethostbyname4): Don't unconditionally allocate tmp array.
Define resplen2 variable and pass it to __libc_res_nsearch and then
to gaih_getanswer.
(getanswer_r): In case of incorrect DNS data don't overread buffer.
Add branch prediction.
(gaih_getanswer_slice): Likewise.  Check for invalid data types.
(gaih_getanswer): Don't decode second slice if first one failed due
to a too small buffer.  Don't let not found status of second
decoder shadow results of the first.

11 years ago(__libc_res_nsend): Take additional parameter.
drepper [Mon, 28 Jul 2008 22:53:19 +0000 (22:53 +0000)]
(__libc_res_nsend): Take additional parameter.
Use it instead of locally defined resplen2 variable.
(res_nsend): Adjust for __libc_res_nsend interface change.
(send_vc): Initialize *resplen2 if necessary.  Read length of
package into an appropriately aligned variable.  Store converted length
in new variable and use it appropriately.
Add branch prediction help.

11 years ago(__libc_res_nquery): Take additional parameter
drepper [Mon, 28 Jul 2008 22:53:04 +0000 (22:53 +0000)]
(__libc_res_nquery): Take additional parameter
and pass it on to __libc_res_nsend.  Adjust all callers.
(__libc_res_nsearch): Likewise.
(__libc_res_nqeurydomain): Likewise.

11 years ago(gethostbyname2): Adjust for __libc_res_nsearch and __libc_res_nquery
drepper [Mon, 28 Jul 2008 22:52:54 +0000 (22:52 +0000)]
(gethostbyname2): Adjust for __libc_res_nsearch and __libc_res_nquery
interface changes (gethostbyaddr): Adjust for __libc_res_nquery
interface change.

11 years agoAdjust prototypes for __libc_res_nquery, __libc_res_nsearch, and
drepper [Mon, 28 Jul 2008 22:52:01 +0000 (22:52 +0000)]
Adjust prototypes for __libc_res_nquery, __libc_res_nsearch, and
__libc_res_nsend.

11 years ago.
drepper [Sun, 27 Jul 2008 22:34:39 +0000 (22:34 +0000)]
.

11 years ago(_IO_new_proc_open): Remove unnecessary volatile.
drepper [Sun, 27 Jul 2008 22:34:17 +0000 (22:34 +0000)]
(_IO_new_proc_open): Remove unnecessary volatile.

11 years ago.
drepper [Sun, 27 Jul 2008 19:08:19 +0000 (19:08 +0000)]
.

11 years ago(exec_comm): Use pipe2 if possible to create file descriptors with
drepper [Sun, 27 Jul 2008 19:08:09 +0000 (19:08 +0000)]
(exec_comm): Use pipe2 if possible to create file descriptors with
close-on-exec set.
(exec_comm_child): Fix the case where the write end of the pipe is
STDOUT_FILENO already.  In case it is, clear close-on-exec.

11 years agoInclude <kernel-features.h>.
drepper [Sun, 27 Jul 2008 19:02:14 +0000 (19:02 +0000)]
Include <kernel-features.h>.

11 years ago.
drepper [Sun, 27 Jul 2008 18:34:35 +0000 (18:34 +0000)]
.

11 years ago.
drepper [Sun, 27 Jul 2008 18:26:13 +0000 (18:26 +0000)]
.

11 years ago(tests): Add tst-popen1.
drepper [Sun, 27 Jul 2008 18:25:30 +0000 (18:25 +0000)]
(tests): Add tst-popen1.

11 years agoImplement "e" flag.
drepper [Sun, 27 Jul 2008 18:25:05 +0000 (18:25 +0000)]
Implement "e" flag.

11 years agoTest for "e" flag to popen.
drepper [Sun, 27 Jul 2008 18:24:28 +0000 (18:24 +0000)]
Test for "e" flag to popen.

11 years agoAdd __pipe2 alias.
drepper [Sun, 27 Jul 2008 18:23:59 +0000 (18:23 +0000)]
Add __pipe2 alias.

11 years agoDeclare __have_pipe2.
drepper [Sun, 27 Jul 2008 18:23:17 +0000 (18:23 +0000)]
Declare __have_pipe2.

11 years agoDefine __ASSUME_PIPE2 instead of __ASSUME_PACCEPT.
drepper [Sun, 27 Jul 2008 18:22:33 +0000 (18:22 +0000)]
Define __ASSUME_PIPE2 instead of __ASSUME_PACCEPT.

11 years agoAdd __pipe2 alias.
drepper [Sun, 27 Jul 2008 18:21:57 +0000 (18:21 +0000)]
Add __pipe2 alias.

11 years ago.
drepper [Sun, 27 Jul 2008 08:25:37 +0000 (08:25 +0000)]
.

11 years agoDefine PF_ISDN and AF_ISDN.
drepper [Sun, 27 Jul 2008 08:25:30 +0000 (08:25 +0000)]
Define PF_ISDN and AF_ISDN.

11 years ago(_IO_new_file_attach): Use __set_errno.
drepper [Sat, 26 Jul 2008 23:44:15 +0000 (23:44 +0000)]
(_IO_new_file_attach): Use __set_errno.

11 years ago.
drepper [Sat, 26 Jul 2008 23:42:14 +0000 (23:42 +0000)]
.

11 years ago(_IO_new_file_attach): Preserve errno around success call of
drepper [Sat, 26 Jul 2008 23:41:41 +0000 (23:41 +0000)]
(_IO_new_file_attach): Preserve errno around success call of
_IO_SEEKOFF or calls which failed because the descriptor is for a pipe.

11 years ago.
drepper [Sat, 26 Jul 2008 23:12:04 +0000 (23:12 +0000)]
.

11 years ago(getkeyserv_handle): Use FD_CLOEXEC instead of magic number.
drepper [Sat, 26 Jul 2008 23:10:15 +0000 (23:10 +0000)]
(getkeyserv_handle): Use FD_CLOEXEC instead of magic number.

11 years ago.
drepper [Sat, 26 Jul 2008 22:55:08 +0000 (22:55 +0000)]
.

11 years ago(openlog_internal): Use SOCK_CLOEXEC if possible.
drepper [Sat, 26 Jul 2008 22:55:01 +0000 (22:55 +0000)]
(openlog_internal): Use SOCK_CLOEXEC if possible.

11 years ago.
drepper [Sat, 26 Jul 2008 22:43:16 +0000 (22:43 +0000)]
.

11 years ago(mtrace): Use 'e' flag in fopen call. Drop F_SETFD use if we know
drepper [Sat, 26 Jul 2008 22:42:41 +0000 (22:42 +0000)]
(mtrace): Use 'e' flag in fopen call.  Drop F_SETFD use if we know
fopen set the flag.

11 years ago.
drepper [Sat, 26 Jul 2008 22:35:15 +0000 (22:35 +0000)]
.

11 years ago(setutent_file): Minor optimization in case O_CLOEXEC is available.
drepper [Sat, 26 Jul 2008 22:35:06 +0000 (22:35 +0000)]
(setutent_file): Minor optimization in case O_CLOEXEC is available.

11 years ago.
drepper [Sat, 26 Jul 2008 22:22:24 +0000 (22:22 +0000)]
.

11 years agoDefine pie-ccflag and PIE-ccflag variables.
drepper [Sat, 26 Jul 2008 22:22:10 +0000 (22:22 +0000)]
Define pie-ccflag and PIE-ccflag variables.

11 years agoUse pie-ccflag variable.
drepper [Sat, 26 Jul 2008 22:21:57 +0000 (22:21 +0000)]
Use pie-ccflag variable.

11 years agoSet $(pie-ccflag) to -fPIE.
drepper [Sat, 26 Jul 2008 22:21:35 +0000 (22:21 +0000)]
Set $(pie-ccflag) to -fPIE.

11 years ago(init_mq_netlink): Little typo in last change.
drepper [Sat, 26 Jul 2008 18:28:05 +0000 (18:28 +0000)]
(init_mq_netlink): Little typo in last change.

11 years ago(_dl_new_object): More optimal memory allocation for symbolic searchlist.
drepper [Sat, 26 Jul 2008 18:03:29 +0000 (18:03 +0000)]
(_dl_new_object): More optimal memory allocation for symbolic searchlist.

11 years ago.
drepper [Sat, 26 Jul 2008 17:46:56 +0000 (17:46 +0000)]
.

11 years ago.
drepper [Sat, 26 Jul 2008 17:44:03 +0000 (17:44 +0000)]
.

11 years ago.
drepper [Sat, 26 Jul 2008 17:43:30 +0000 (17:43 +0000)]
.

11 years agoAdd new files utmp32, utmpx32 and login32.
drepper [Sat, 26 Jul 2008 17:43:17 +0000 (17:43 +0000)]
Add new files utmp32, utmpx32 and login32.

11 years agoAdd 2.9 versions of struct utmp functions to libc and libutil.
drepper [Sat, 26 Jul 2008 17:43:07 +0000 (17:43 +0000)]
Add 2.9 versions of struct utmp functions to libc and libutil.

11 years agoHeader for compatiblity functions for utmpx on Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:42:54 +0000 (17:42 +0000)]
Header for compatiblity functions for utmpx on Linux/s390-32.

11 years agoCompatiblity functions for utmpx on Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:42:46 +0000 (17:42 +0000)]
Compatiblity functions for utmpx on Linux/s390-32.

11 years agoHelper functions to convert utmpx records for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:42:38 +0000 (17:42 +0000)]
Helper functions to convert utmpx records for Linux/s390-32.

11 years agoHeader for compatiblity functions for utmp on Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:42:26 +0000 (17:42 +0000)]
Header for compatiblity functions for utmp on Linux/s390-32.

11 years agoCompatiblity functions for utmp on Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:42:21 +0000 (17:42 +0000)]
Compatiblity functions for utmp on Linux/s390-32.

11 years agoHelper functions to convert utmpx records for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:41:38 +0000 (17:41 +0000)]
Helper functions to convert utmpx records for Linux/s390-32.

11 years agoHelper functions to convert utmp records for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:41:29 +0000 (17:41 +0000)]
Helper functions to convert utmp records for Linux/s390-32.

11 years agoupdwtmpx implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:41:12 +0000 (17:41 +0000)]
updwtmpx implementation for Linux/s390-32.

11 years agoupdwtmp implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:41:06 +0000 (17:41 +0000)]
updwtmp implementation for Linux/s390-32.

11 years agopututxline implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:40:42 +0000 (17:40 +0000)]
pututxline implementation for Linux/s390-32.

11 years agoCompatibility version of login implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:38:54 +0000 (17:38 +0000)]
Compatibility version of login implementation for Linux/s390-32.

11 years agologin implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:38:40 +0000 (17:38 +0000)]
login implementation for Linux/s390-32.

11 years agogetutxline implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:38:22 +0000 (17:38 +0000)]
getutxline implementation for Linux/s390-32.

11 years agogetutxid implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:38:12 +0000 (17:38 +0000)]
getutxid implementation for Linux/s390-32.

11 years agogetutxent implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:37:22 +0000 (17:37 +0000)]
getutxent implementation for Linux/s390-32.

11 years agogetutmp implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:37:12 +0000 (17:37 +0000)]
getutmp implementation for Linux/s390-32.

11 years agogetutline_r implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:36:47 +0000 (17:36 +0000)]
getutline_r implementation for Linux/s390-32.

11 years agogetutline implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:36:43 +0000 (17:36 +0000)]
getutline implementation for Linux/s390-32.

11 years agogetutid_r implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:36:37 +0000 (17:36 +0000)]
getutid_r implementation for Linux/s390-32.

11 years agogetutid implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:36:26 +0000 (17:36 +0000)]
getutid implementation for Linux/s390-32.

11 years agogetutent_r implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:35:50 +0000 (17:35 +0000)]
getutent_r implementation for Linux/s390-32.

11 years agogetutent implementation for Linux/s390-32.
drepper [Sat, 26 Jul 2008 17:34:36 +0000 (17:34 +0000)]
getutent implementation for Linux/s390-32.

11 years ago<bits/utmpx.h> header for Linux/s390.
drepper [Sat, 26 Jul 2008 17:32:46 +0000 (17:32 +0000)]
<bits/utmpx.h> header for Linux/s390.

11 years ago<bits/utmp.h> header for Linux/s390.
drepper [Sat, 26 Jul 2008 17:32:38 +0000 (17:32 +0000)]
<bits/utmp.h> header for Linux/s390.

11 years agoAdd GLIBC_2.9 version tag for libutil.
drepper [Sat, 26 Jul 2008 17:32:00 +0000 (17:32 +0000)]
Add GLIBC_2.9 version tag for libutil.

11 years ago.
drepper [Sat, 26 Jul 2008 16:35:21 +0000 (16:35 +0000)]
.

11 years agoGenerate more widely usable code by using 64-bit arithmetic.
drepper [Sat, 26 Jul 2008 16:35:14 +0000 (16:35 +0000)]
Generate more widely usable code by using 64-bit arithmetic.

11 years ago.
drepper [Sat, 26 Jul 2008 16:32:59 +0000 (16:32 +0000)]
.

11 years ago(___printf_fp): Give wide outout code the same treatment as narow
drepper [Sat, 26 Jul 2008 16:32:50 +0000 (16:32 +0000)]
(___printf_fp): Give wide outout code the same treatment as narow
output code in last patch.

11 years ago.
drepper [Sat, 26 Jul 2008 16:25:10 +0000 (16:25 +0000)]
.

11 years ago(PRIVATE_FUTEX_OFFSET): Guard sym definition with #ifndef
drepper [Sat, 26 Jul 2008 16:24:40 +0000 (16:24 +0000)]
(PRIVATE_FUTEX_OFFSET): Guard sym definition with #ifndef
__ASSUME_PRIVATE_FUTEX.

11 years ago.
drepper [Sat, 26 Jul 2008 08:42:54 +0000 (08:42 +0000)]
.

11 years ago(__libc_clntudp_bufcreate): Namespace cleanup.
drepper [Sat, 26 Jul 2008 08:42:44 +0000 (08:42 +0000)]
(__libc_clntudp_bufcreate): Namespace cleanup.

11 years ago(local_strdup): Remove inline.
drepper [Sat, 26 Jul 2008 08:40:05 +0000 (08:40 +0000)]
(local_strdup): Remove inline.
(_dl_map_object_from_fd): Don't allocate l_symbolic_searchlist.r_list.

11 years ago(_dl_new_object): Allocate symbolic searchlist as part of the object.
drepper [Sat, 26 Jul 2008 08:39:46 +0000 (08:39 +0000)]
(_dl_new_object): Allocate symbolic searchlist as part of the object.

11 years agoAdd const to avoid warning.
drepper [Sat, 26 Jul 2008 07:54:29 +0000 (07:54 +0000)]
Add const to avoid warning.

11 years ago.
drepper [Sat, 26 Jul 2008 05:44:56 +0000 (05:44 +0000)]
.

11 years agoSPARC also has the new syscalls.
drepper [Sat, 26 Jul 2008 05:44:33 +0000 (05:44 +0000)]
SPARC also has the new syscalls.

11 years ago.
drepper [Sat, 26 Jul 2008 05:41:16 +0000 (05:41 +0000)]
.

11 years agoia64 has the new syscalls, too.
drepper [Sat, 26 Jul 2008 05:40:31 +0000 (05:40 +0000)]
ia64 has the new syscalls, too.

11 years ago.
drepper [Sat, 26 Jul 2008 05:27:49 +0000 (05:27 +0000)]
.

11 years agoFix unwind information.
drepper [Sat, 26 Jul 2008 05:27:21 +0000 (05:27 +0000)]
Fix unwind information.

11 years ago.
drepper [Fri, 25 Jul 2008 23:39:16 +0000 (23:39 +0000)]
.

11 years agoAccount for string rewrite when allocating buffer.
drepper [Fri, 25 Jul 2008 23:38:56 +0000 (23:38 +0000)]
Account for string rewrite when allocating buffer.

11 years ago(__printf_fp): Adjust for _i18n_number_rewrite interface change.
drepper [Fri, 25 Jul 2008 23:37:57 +0000 (23:37 +0000)]
(__printf_fp): Adjust for _i18n_number_rewrite interface change.
Account for string rewrite when allocating buffer.

11 years ago(_i18n_number_rewrite): Take additional parameter for end of buffer.
drepper [Fri, 25 Jul 2008 23:36:21 +0000 (23:36 +0000)]
(_i18n_number_rewrite): Take additional parameter for end of buffer.
If temporary copy is too large use malloc.

11 years ago.
drepper [Fri, 25 Jul 2008 21:03:16 +0000 (21:03 +0000)]
.

11 years agoPPC has the new syscalls, too.
drepper [Fri, 25 Jul 2008 21:03:08 +0000 (21:03 +0000)]
PPC has the new syscalls, too.

11 years ago.
drepper [Fri, 25 Jul 2008 18:38:20 +0000 (18:38 +0000)]
.

11 years ago(nscd_init): Clean up fcntl call.
drepper [Fri, 25 Jul 2008 18:38:13 +0000 (18:38 +0000)]
(nscd_init): Clean up fcntl call.

11 years ago.
drepper [Fri, 25 Jul 2008 18:31:07 +0000 (18:31 +0000)]
.

11 years ago(open_socket): Use SOCK_CLOEXEC and SOCK_NONBLOCK if possible.
drepper [Fri, 25 Jul 2008 18:30:54 +0000 (18:30 +0000)]
(open_socket): Use SOCK_CLOEXEC and SOCK_NONBLOCK if possible.

11 years ago.
drepper [Fri, 25 Jul 2008 18:16:57 +0000 (18:16 +0000)]
.

11 years ago(__opensock): Use SOCK_CLOEXEC if available.
drepper [Fri, 25 Jul 2008 18:16:49 +0000 (18:16 +0000)]
(__opensock): Use SOCK_CLOEXEC if available.