2000-02-18 03:38:33 +08:00
|
|
|
LIBRARY "cygwin1.dll" BASE=0x61000000
|
|
|
|
|
|
|
|
EXPORTS
|
2003-02-17 03:31:07 +08:00
|
|
|
__argc DATA
|
|
|
|
__argv DATA
|
2006-07-06 00:06:50 +08:00
|
|
|
_check_for_executable DATA
|
* Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o.
* cygwin.din: Export __check_rhosts_file, __rcmd_errstr, optarg,
opterr, optind, optopt, optreset, getopt, getopt_long, iruserok
and ruserok.
* getopt.c: Moved from lib to here. Define opt* variables as
dllexport.
* iruserok.c: Moved from lib to here. Rearrange function order.
Prefer using 64/32 bit functions.
* syscalls.cc (shell_fp): Define as struct __sFILE64.
(getusershell): Use fopen64 instead of fopen.
* winsup.h: Add declarations for seteuid32, fopen64,
cygwin_gethostbyname and cygwin_inet_addr.
* include/getopt.h: Declare opt* variables dllimport.
* include/cygwin/version.h: Bump API minor number.
2003-09-11 03:13:05 +08:00
|
|
|
__check_rhosts_file DATA
|
2006-07-06 00:06:50 +08:00
|
|
|
_ctype_ DATA
|
2009-03-31 17:42:58 +08:00
|
|
|
__ctype_ptr__ DATA
|
2003-02-17 03:31:07 +08:00
|
|
|
__cygwin_environ DATA
|
|
|
|
__cygwin_user_data DATA
|
|
|
|
_daylight DATA
|
|
|
|
h_errno DATA
|
2006-07-05 23:59:39 +08:00
|
|
|
_impure_ptr DATA
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
in6addr_any DATA
|
|
|
|
in6addr_loopback DATA
|
2006-07-06 00:06:50 +08:00
|
|
|
__mb_cur_max DATA
|
* Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o.
* cygwin.din: Export __check_rhosts_file, __rcmd_errstr, optarg,
opterr, optind, optopt, optreset, getopt, getopt_long, iruserok
and ruserok.
* getopt.c: Moved from lib to here. Define opt* variables as
dllexport.
* iruserok.c: Moved from lib to here. Rearrange function order.
Prefer using 64/32 bit functions.
* syscalls.cc (shell_fp): Define as struct __sFILE64.
(getusershell): Use fopen64 instead of fopen.
* winsup.h: Add declarations for seteuid32, fopen64,
cygwin_gethostbyname and cygwin_inet_addr.
* include/getopt.h: Declare opt* variables dllimport.
* include/cygwin/version.h: Bump API minor number.
2003-09-11 03:13:05 +08:00
|
|
|
optarg DATA
|
|
|
|
opterr DATA
|
|
|
|
optind DATA
|
|
|
|
optopt DATA
|
|
|
|
optreset DATA
|
2006-07-06 00:06:50 +08:00
|
|
|
__progname DATA
|
|
|
|
__rcmd_errstr DATA
|
2004-09-16 17:14:29 +08:00
|
|
|
reent_data DATA
|
2006-07-05 23:59:39 +08:00
|
|
|
sys_errlist = _sys_errlist DATA
|
|
|
|
_sys_errlist DATA
|
|
|
|
sys_nerr = _sys_nerr DATA
|
|
|
|
_sys_nerr DATA
|
2009-03-06 18:09:55 +08:00
|
|
|
sys_sigabbrev DATA
|
2006-07-05 23:59:39 +08:00
|
|
|
_timezone DATA
|
|
|
|
_tzname DATA
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
_Exit SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
a64l NOSIGFE
|
2006-04-23 07:09:44 +08:00
|
|
|
abort NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
_abort = abort SIGFE
|
|
|
|
abs NOSIGFE
|
|
|
|
_abs = abs NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
accept = cygwin_accept SIGFE
|
2010-01-15 23:40:05 +08:00
|
|
|
accept4 SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
access SIGFE
|
|
|
|
_access = access SIGFE
|
|
|
|
acl SIGFE
|
|
|
|
_acl = acl SIGFE
|
|
|
|
_acl32 = acl32 SIGFE
|
|
|
|
aclcheck NOSIGFE
|
|
|
|
_aclcheck = aclcheck NOSIGFE
|
|
|
|
_aclcheck32 = aclcheck32 NOSIGFE
|
|
|
|
aclfrommode SIGFE
|
|
|
|
_aclfrommode = aclfrommode SIGFE
|
|
|
|
_aclfrommode32 = aclfrommode32 SIGFE
|
|
|
|
aclfrompbits SIGFE
|
|
|
|
_aclfrompbits = aclfrompbits SIGFE
|
|
|
|
_aclfrompbits32 = aclfrompbits32 SIGFE
|
|
|
|
aclfromtext SIGFE
|
|
|
|
_aclfromtext = aclfromtext SIGFE
|
|
|
|
_aclfromtext32 = aclfromtext32 SIGFE
|
|
|
|
aclsort SIGFE
|
|
|
|
_aclsort = aclsort SIGFE
|
|
|
|
_aclsort32 = aclsort32 SIGFE
|
|
|
|
acltomode SIGFE
|
|
|
|
_acltomode = acltomode SIGFE
|
|
|
|
_acltomode32 = acltomode32 SIGFE
|
|
|
|
acltopbits SIGFE
|
|
|
|
_acltopbits = acltopbits SIGFE
|
|
|
|
_acltopbits32 = acltopbits32 SIGFE
|
|
|
|
acltotext SIGFE
|
|
|
|
_acltotext = acltotext SIGFE
|
|
|
|
_acltotext32 = acltotext32 SIGFE
|
|
|
|
acos NOSIGFE
|
|
|
|
_acos = acos NOSIGFE
|
|
|
|
acosf NOSIGFE
|
|
|
|
_acosf = acosf NOSIGFE
|
|
|
|
acosh NOSIGFE
|
|
|
|
_acosh = acosh NOSIGFE
|
|
|
|
acoshf NOSIGFE
|
|
|
|
_acoshf = acoshf NOSIGFE
|
|
|
|
alarm SIGFE
|
|
|
|
_alarm = alarm SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_alloca NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
alphasort NOSIGFE
|
|
|
|
_alphasort = alphasort NOSIGFE
|
|
|
|
argz_add SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_add = argz_add SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_add_sep SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_add_sep = argz_add_sep SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_append SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_append = argz_append SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_count NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_count = argz_count NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_create SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_create = argz_create SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_create_sep SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_create_sep = argz_create_sep SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_delete SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_delete = argz_delete SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_extract NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_extract = argz_extract NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_insert SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_insert = argz_insert SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_next NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_next = argz_next NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_replace SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_replace = argz_replace SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
argz_stringify NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__argz_stringify = argz_stringify NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
asctime SIGFE
|
|
|
|
_asctime = asctime SIGFE
|
|
|
|
asctime_r SIGFE
|
|
|
|
_asctime_r = asctime_r SIGFE
|
|
|
|
asin NOSIGFE
|
|
|
|
_asin = asin NOSIGFE
|
|
|
|
asinf NOSIGFE
|
|
|
|
_asinf = asinf NOSIGFE
|
|
|
|
asinh NOSIGFE
|
|
|
|
_asinh = asinh NOSIGFE
|
|
|
|
asinhf NOSIGFE
|
|
|
|
_asinhf = asinhf NOSIGFE
|
2007-05-15 09:23:30 +08:00
|
|
|
asnprintf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
asprintf SIGFE
|
|
|
|
_asprintf = asprintf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
asprintf_r = _asprintf_r SIGFE
|
|
|
|
_asprintf_r SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__assert SIGFE
|
2007-06-27 20:46:35 +08:00
|
|
|
__assert_func SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__assertfail SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
atan NOSIGFE
|
|
|
|
_atan = atan NOSIGFE
|
|
|
|
atan2 NOSIGFE
|
|
|
|
_atan2 = atan2 NOSIGFE
|
|
|
|
atan2f NOSIGFE
|
|
|
|
_atan2f = atan2f NOSIGFE
|
|
|
|
atanf NOSIGFE
|
|
|
|
_atanf = atanf NOSIGFE
|
|
|
|
atanh NOSIGFE
|
|
|
|
_atanh = atanh NOSIGFE
|
|
|
|
atanhf NOSIGFE
|
|
|
|
_atanhf = atanhf NOSIGFE
|
|
|
|
atexit = cygwin_atexit SIGFE
|
|
|
|
_atexit = cygwin_atexit SIGFE
|
|
|
|
atof SIGFE
|
|
|
|
_atof = atof SIGFE
|
|
|
|
atoff SIGFE
|
|
|
|
_atoff = atoff SIGFE
|
|
|
|
atoi NOSIGFE
|
|
|
|
_atoi = atoi NOSIGFE
|
|
|
|
atol NOSIGFE
|
|
|
|
_atol = atol NOSIGFE
|
2004-05-25 11:21:34 +08:00
|
|
|
atoll NOSIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
basename NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
bcmp NOSIGFE
|
|
|
|
_bcmp = bcmp NOSIGFE
|
|
|
|
bcopy NOSIGFE
|
|
|
|
_bcopy = bcopy NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
bind = cygwin_bind SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
bindresvport = cygwin_bindresvport SIGFE
|
|
|
|
bindresvport_sa = cygwin_bindresvport_sa SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
bsearch NOSIGFE
|
|
|
|
_bsearch = bsearch NOSIGFE
|
|
|
|
btowc NOSIGFE
|
|
|
|
bzero NOSIGFE
|
|
|
|
_bzero = bzero NOSIGFE
|
|
|
|
cabs NOSIGFE
|
|
|
|
_cabs = cabs NOSIGFE
|
|
|
|
cabsf NOSIGFE
|
|
|
|
_cabsf = cabsf NOSIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
cacos NOSIGFE
|
|
|
|
cacosf NOSIGFE
|
|
|
|
cacosh NOSIGFE
|
|
|
|
cacoshf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
calloc SIGFE
|
|
|
|
_calloc = calloc SIGFE
|
2009-09-26 07:55:00 +08:00
|
|
|
canonicalize_file_name SIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
carg NOSIGFE
|
|
|
|
cargf NOSIGFE
|
|
|
|
casin NOSIGFE
|
|
|
|
casinf NOSIGFE
|
|
|
|
casinh NOSIGFE
|
|
|
|
casinhf NOSIGFE
|
|
|
|
catan NOSIGFE
|
|
|
|
catanf NOSIGFE
|
|
|
|
catanh NOSIGFE
|
|
|
|
catanhf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
cbrt NOSIGFE
|
|
|
|
_cbrt = cbrt NOSIGFE
|
|
|
|
cbrtf NOSIGFE
|
|
|
|
_cbrtf = cbrtf NOSIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
ccos NOSIGFE
|
|
|
|
ccosf NOSIGFE
|
|
|
|
ccosh NOSIGFE
|
|
|
|
ccoshf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ceil NOSIGFE
|
|
|
|
_ceil = ceil NOSIGFE
|
|
|
|
ceilf NOSIGFE
|
|
|
|
_ceilf = ceilf NOSIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
cexp NOSIGFE
|
|
|
|
cexpf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
cfgetispeed NOSIGFE
|
|
|
|
cfgetospeed NOSIGFE
|
2008-09-13 06:32:07 +08:00
|
|
|
cfmakeraw NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
cfsetispeed SIGFE
|
|
|
|
cfsetospeed SIGFE
|
|
|
|
chdir SIGFE
|
|
|
|
_chdir = chdir SIGFE
|
|
|
|
chmod SIGFE
|
|
|
|
_chmod = chmod SIGFE
|
|
|
|
chown SIGFE
|
|
|
|
_chown = chown SIGFE
|
|
|
|
_chown32 = chown32 SIGFE
|
|
|
|
chroot SIGFE
|
|
|
|
_chroot = chroot SIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
cimag NOSIGFE
|
|
|
|
cimagf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
cleanup_glue NOSIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
clearerr SIGFE
|
|
|
|
_clearerr = clearerr SIGFE
|
2004-01-19 13:46:54 +08:00
|
|
|
clock SIGFE
|
|
|
|
_clock = clock SIGFE
|
2005-11-12 00:42:15 +08:00
|
|
|
clock_getres SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
clock_gettime SIGFE
|
2005-11-12 00:42:15 +08:00
|
|
|
clock_setres SIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
clog NOSIGFE
|
|
|
|
clogf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
close SIGFE
|
|
|
|
_close = close SIGFE
|
|
|
|
closedir SIGFE
|
|
|
|
_closedir = closedir SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
closelog SIGFE
|
2007-06-12 23:24:46 +08:00
|
|
|
confstr NOSIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
conj NOSIGFE
|
|
|
|
conjf NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
connect = cygwin_connect SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
copysign NOSIGFE
|
|
|
|
_copysign = copysign NOSIGFE
|
|
|
|
copysignf NOSIGFE
|
|
|
|
_copysignf = copysignf NOSIGFE
|
|
|
|
cos NOSIGFE
|
|
|
|
_cos = cos NOSIGFE
|
|
|
|
cosf NOSIGFE
|
|
|
|
_cosf = cosf NOSIGFE
|
|
|
|
cosh NOSIGFE
|
|
|
|
_cosh = cosh NOSIGFE
|
|
|
|
coshf NOSIGFE
|
|
|
|
_coshf = coshf NOSIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
cpow NOSIGFE
|
|
|
|
cpowf NOSIGFE
|
|
|
|
cproj NOSIGFE
|
|
|
|
cprojf NOSIGFE
|
|
|
|
creal NOSIGFE
|
|
|
|
crealf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
creat SIGFE
|
|
|
|
_creat = creat SIGFE
|
2010-10-08 18:51:17 +08:00
|
|
|
csin NOSIGFE
|
|
|
|
csinf NOSIGFE
|
|
|
|
csinh NOSIGFE
|
|
|
|
csinhf NOSIGFE
|
|
|
|
csqrt NOSIGFE
|
|
|
|
csqrtf NOSIGFE
|
|
|
|
ctan NOSIGFE
|
|
|
|
ctanf NOSIGFE
|
|
|
|
ctanh NOSIGFE
|
|
|
|
ctanhf NOSIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
ctermid SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ctime SIGFE
|
|
|
|
_ctime = ctime SIGFE
|
|
|
|
ctime_r SIGFE
|
|
|
|
_ctime_r = ctime_r SIGFE
|
|
|
|
cuserid NOSIGFE
|
|
|
|
_cuserid = cuserid NOSIGFE
|
|
|
|
cwait SIGFE
|
|
|
|
_cwait = cwait SIGFE
|
|
|
|
cygwin32_attach_handle_to_fd = cygwin_attach_handle_to_fd SIGFE
|
|
|
|
cygwin32_conv_to_full_posix_path = cygwin_conv_to_full_posix_path SIGFE
|
|
|
|
cygwin32_conv_to_full_win32_path = cygwin_conv_to_full_win32_path SIGFE
|
|
|
|
cygwin32_conv_to_posix_path = cygwin_conv_to_posix_path SIGFE
|
|
|
|
cygwin32_conv_to_win32_path = cygwin_conv_to_win32_path SIGFE
|
2006-03-13 07:57:05 +08:00
|
|
|
cygwin32_detach_dll = cygwin_detach_dll SIGFE_MAYBE
|
2006-07-05 23:59:39 +08:00
|
|
|
cygwin32_internal = cygwin_internal SIGFE
|
|
|
|
cygwin32_posix_path_list_p = cygwin_posix_path_list_p NOSIGFE
|
|
|
|
cygwin32_posix_to_win32_path_list = cygwin_posix_to_win32_path_list SIGFE
|
|
|
|
cygwin32_posix_to_win32_path_list_buf_size = cygwin_posix_to_win32_path_list_buf_size SIGFE
|
|
|
|
cygwin32_split_path = cygwin_split_path NOSIGFE
|
|
|
|
cygwin32_win32_to_posix_path_list = cygwin_win32_to_posix_path_list SIGFE
|
|
|
|
cygwin32_win32_to_posix_path_list_buf_size = cygwin_win32_to_posix_path_list_buf_size SIGFE
|
|
|
|
cygwin32_winpid_to_pid = cygwin_winpid_to_pid SIGFE
|
|
|
|
cygwin_attach_handle_to_fd SIGFE
|
2008-03-12 20:41:50 +08:00
|
|
|
cygwin_conv_path SIGFE
|
|
|
|
cygwin_conv_path_list SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
cygwin_conv_to_full_posix_path SIGFE
|
|
|
|
cygwin_conv_to_full_win32_path SIGFE
|
|
|
|
cygwin_conv_to_posix_path SIGFE
|
|
|
|
cygwin_conv_to_win32_path SIGFE
|
2008-03-12 20:41:50 +08:00
|
|
|
cygwin_create_path SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
cygwin_detach_dll SIGFE_MAYBE
|
2004-01-04 02:15:03 +08:00
|
|
|
cygwin_dll_init NOSIGFE
|
2003-12-31 14:30:48 +08:00
|
|
|
cygwin_internal NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
cygwin_logon_user SIGFE
|
|
|
|
cygwin_posix_path_list_p NOSIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
cygwin_posix_to_win32_path_list SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
cygwin_posix_to_win32_path_list_buf_size SIGFE
|
|
|
|
cygwin_set_impersonation_token SIGFE
|
|
|
|
cygwin_split_path NOSIGFE
|
|
|
|
cygwin_stackdump SIGFE
|
|
|
|
cygwin_umount SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
cygwin_win32_to_posix_path_list SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
cygwin_win32_to_posix_path_list_buf_size SIGFE
|
|
|
|
cygwin_winpid_to_pid SIGFE
|
|
|
|
daemon SIGFE
|
|
|
|
difftime NOSIGFE
|
|
|
|
_difftime = difftime NOSIGFE
|
|
|
|
dirfd SIGFE
|
|
|
|
_dirfd = dirfd SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
dirname NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
div NOSIGFE
|
|
|
|
_div = div NOSIGFE
|
|
|
|
dlclose SIGFE
|
|
|
|
dlerror NOSIGFE
|
|
|
|
dlfork NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_dll_crt0@0 NOSIGFE
|
2009-06-29 02:23:35 +08:00
|
|
|
dll_crt0__FP11per_process NOSIGFE # dll_crt0(per_process *)
|
2003-12-31 14:30:48 +08:00
|
|
|
dll_dllcrt0 NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
dll_entry@12 NOSIGFE
|
2003-12-31 14:30:48 +08:00
|
|
|
dll_noncygwin_dllcrt0 NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
dlopen SIGFE
|
|
|
|
dlsym SIGFE
|
2006-12-12 03:59:06 +08:00
|
|
|
dn_comp = __dn_comp SIGFE
|
|
|
|
__dn_comp SIGFE
|
|
|
|
dn_expand = __dn_expand SIGFE
|
|
|
|
__dn_expand SIGFE
|
|
|
|
dn_skipname = __dn_skipname SIGFE
|
|
|
|
__dn_skipname SIGFE
|
2007-05-15 09:23:30 +08:00
|
|
|
dprintf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
drand48 NOSIGFE
|
|
|
|
_drand48 = drand48 NOSIGFE
|
|
|
|
drem NOSIGFE
|
|
|
|
_drem = drem NOSIGFE
|
|
|
|
dremf NOSIGFE
|
|
|
|
_dremf = dremf NOSIGFE
|
|
|
|
dup SIGFE
|
|
|
|
_dup = dup SIGFE
|
|
|
|
dup2 SIGFE
|
|
|
|
_dup2 = dup2 SIGFE
|
2010-01-15 02:46:02 +08:00
|
|
|
dup3 SIGFE
|
2009-09-26 07:55:00 +08:00
|
|
|
eaccess = euidaccess SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ecvt SIGFE
|
|
|
|
_ecvt = ecvt SIGFE
|
|
|
|
ecvtbuf SIGFE
|
|
|
|
_ecvtbuf = ecvtbuf SIGFE
|
|
|
|
ecvtf SIGFE
|
|
|
|
_ecvtf = ecvtf SIGFE
|
|
|
|
endgrent NOSIGFE
|
|
|
|
_endgrent = endgrent NOSIGFE
|
|
|
|
endhostent NOSIGFE
|
|
|
|
endmntent NOSIGFE
|
|
|
|
_endmntent = endmntent NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
endprotoent = cygwin_endprotoent SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
endpwent NOSIGFE
|
|
|
|
_endpwent = endpwent NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
endservent = cygwin_endservent SIGFE
|
|
|
|
endusershell SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
endutent SIGFE
|
|
|
|
_endutent = endutent SIGFE
|
2004-12-16 01:29:01 +08:00
|
|
|
endutxent SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
envz_add SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__envz_add = envz_add SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
envz_entry NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__envz_entry = envz_entry NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
envz_get NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__envz_get = envz_get NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
envz_merge SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__envz_merge = envz_merge SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
envz_remove SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__envz_remove = envz_remove SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
envz_strip SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__envz_strip = envz_strip SIGFE
|
|
|
|
__eprintf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
erand48 NOSIGFE
|
|
|
|
_erand48 = erand48 NOSIGFE
|
|
|
|
erf NOSIGFE
|
|
|
|
_erf = erf NOSIGFE
|
|
|
|
erfc NOSIGFE
|
|
|
|
_erfc = erfc NOSIGFE
|
|
|
|
erfcf NOSIGFE
|
|
|
|
_erfcf = erfcf NOSIGFE
|
|
|
|
erff NOSIGFE
|
|
|
|
_erff = erff NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
err SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__errno NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
errx SIGFE
|
2009-09-26 07:55:00 +08:00
|
|
|
euidaccess SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
execl SIGFE
|
|
|
|
_execl = execl SIGFE
|
|
|
|
execle SIGFE
|
|
|
|
_execle = execle SIGFE
|
|
|
|
execlp SIGFE
|
|
|
|
_execlp = execlp SIGFE
|
|
|
|
execv SIGFE
|
|
|
|
_execv = execv SIGFE
|
|
|
|
execve SIGFE
|
|
|
|
_execve = execve SIGFE
|
|
|
|
execvp SIGFE
|
|
|
|
_execvp = execvp SIGFE
|
2009-09-27 05:01:10 +08:00
|
|
|
execvpe SIGFE
|
2006-02-24 10:08:56 +08:00
|
|
|
exit = cygwin_exit SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_exit SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
exp NOSIGFE
|
|
|
|
_exp = exp NOSIGFE
|
2007-06-21 15:22:16 +08:00
|
|
|
exp10 NOSIGFE
|
|
|
|
exp10f NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
exp2 NOSIGFE
|
|
|
|
exp2f NOSIGFE
|
|
|
|
expf NOSIGFE
|
|
|
|
_expf = expf NOSIGFE
|
|
|
|
expm1 NOSIGFE
|
|
|
|
_expm1 = expm1 NOSIGFE
|
|
|
|
expm1f NOSIGFE
|
|
|
|
_expm1f = expm1f NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_atan2 NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_atan2 = _f_atan2 NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_atan2f NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_atan2f = _f_atan2f NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_exp NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_exp = _f_exp NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_expf NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_expf = _f_expf NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_frexp NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_frexp = _f_frexp NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_frexpf NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_frexpf = _f_frexpf NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_ldexp NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_ldexp = _f_ldexp NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_ldexpf NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_ldexpf = _f_ldexpf NOSIGFE
|
* cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
_f_lrintl, _f_rint, _f_rintf, _f_rintl): Export fast *rint* functions.
(lrint, lrintf, rint, rintf): Redirect exports to alias _f_ versions.
(llrint, llrintf, llrintl, lrintl, rintl): Add exports aliasing _f_*
versions likewise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2007-12-31 05:12:08 +08:00
|
|
|
_f_llrint NOSIGFE
|
|
|
|
_f_llrintf NOSIGFE
|
|
|
|
_f_llrintl NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_log NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_log = _f_log NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_log10 NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_log10 = _f_log10 NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_log10f NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_log10f = _f_log10f NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_logf NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_logf = _f_logf NOSIGFE
|
* cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
_f_lrintl, _f_rint, _f_rintf, _f_rintl): Export fast *rint* functions.
(lrint, lrintf, rint, rintf): Redirect exports to alias _f_ versions.
(llrint, llrintf, llrintl, lrintl, rintl): Add exports aliasing _f_*
versions likewise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2007-12-31 05:12:08 +08:00
|
|
|
_f_lrint NOSIGFE
|
|
|
|
_f_lrintf NOSIGFE
|
|
|
|
_f_lrintl NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_pow NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_pow = _f_pow NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_powf NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_powf = _f_powf NOSIGFE
|
* cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
_f_lrintl, _f_rint, _f_rintf, _f_rintl): Export fast *rint* functions.
(lrint, lrintf, rint, rintf): Redirect exports to alias _f_ versions.
(llrint, llrintf, llrintl, lrintl, rintl): Add exports aliasing _f_*
versions likewise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2007-12-31 05:12:08 +08:00
|
|
|
_f_rint NOSIGFE
|
|
|
|
_f_rintf NOSIGFE
|
|
|
|
_f_rintl NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_tan NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_tan = _f_tan NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_f_tanf NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__f_tanf = _f_tanf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fabs NOSIGFE
|
|
|
|
_fabs = fabs NOSIGFE
|
|
|
|
fabsf NOSIGFE
|
|
|
|
_fabsf = fabsf NOSIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
faccessat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
facl SIGFE
|
|
|
|
_facl = facl SIGFE
|
|
|
|
_facl32 = facl32 SIGFE
|
|
|
|
fchdir SIGFE
|
|
|
|
_fchdir = fchdir SIGFE
|
|
|
|
fchmod SIGFE
|
|
|
|
_fchmod = fchmod SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
fchmodat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fchown SIGFE
|
|
|
|
_fchown = fchown SIGFE
|
|
|
|
_fchown32 = fchown32 SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
fchownat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fclose SIGFE
|
|
|
|
_fclose = fclose SIGFE
|
|
|
|
fcloseall SIGFE
|
|
|
|
_fcloseall = fcloseall SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
fcloseall_r = _fcloseall_r SIGFE
|
|
|
|
_fcloseall_r SIGFE
|
2003-12-02 01:26:28 +08:00
|
|
|
fcntl SIGFE
|
|
|
|
_fcntl = fcntl SIGFE
|
|
|
|
_fcntl64 = fcntl64 SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fcvt SIGFE
|
|
|
|
_fcvt = fcvt SIGFE
|
|
|
|
fcvtbuf SIGFE
|
|
|
|
_fcvtbuf = fcvtbuf SIGFE
|
|
|
|
fcvtf SIGFE
|
|
|
|
_fcvtf = fcvtf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
fdatasync SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fdim NOSIGFE
|
|
|
|
fdimf NOSIGFE
|
|
|
|
fdopen SIGFE
|
|
|
|
_fdopen = fdopen SIGFE
|
|
|
|
_fdopen64 = fdopen64 SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
fdopendir SIGFE
|
winsup/cygwin/ChangeLog:
* Makefile.in (DLL_OFILES): Add new fenv.o module.
(fenv_CFLAGS): New flags definition for fenv.o compile.
* autoload.cc (std_dll_init): Use fenv.h functions instead of direct
manipulation of x87 FPU registers.
* crt0.c (mainCRTStartup): Likewise.
* cygwin.din (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fetestexcept, fegetround, fesetround, fegetenv,
feholdexcept, fesetenv, feupdateenv, fegetprec, fesetprec,
feenableexcept, fedisableexcept, fegetexcept, _feinitialise,
_fe_dfl_env, _fe_nomask_env): Export new functions and data items.
* fenv.cc: New file.
* posix.sgml: Update status of newly-implemented APIs.
* include/fenv.h: Likewise related header.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2010-09-11 14:53:28 +08:00
|
|
|
_fe_dfl_env DATA
|
|
|
|
_fe_nomask_env DATA
|
|
|
|
feclearexcept NOSIGFE
|
|
|
|
fedisableexcept NOSIGFE
|
|
|
|
feenableexcept SIGFE
|
|
|
|
fegetenv NOSIGFE
|
|
|
|
fegetexcept NOSIGFE
|
|
|
|
fegetexceptflag NOSIGFE
|
|
|
|
fegetprec NOSIGFE
|
|
|
|
fegetround NOSIGFE
|
|
|
|
feholdexcept SIGFE
|
|
|
|
_feinitialise NOSIGFE
|
2004-02-09 03:59:27 +08:00
|
|
|
feof SIGFE
|
|
|
|
_feof = feof SIGFE
|
winsup/cygwin/ChangeLog:
* Makefile.in (DLL_OFILES): Add new fenv.o module.
(fenv_CFLAGS): New flags definition for fenv.o compile.
* autoload.cc (std_dll_init): Use fenv.h functions instead of direct
manipulation of x87 FPU registers.
* crt0.c (mainCRTStartup): Likewise.
* cygwin.din (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fetestexcept, fegetround, fesetround, fegetenv,
feholdexcept, fesetenv, feupdateenv, fegetprec, fesetprec,
feenableexcept, fedisableexcept, fegetexcept, _feinitialise,
_fe_dfl_env, _fe_nomask_env): Export new functions and data items.
* fenv.cc: New file.
* posix.sgml: Update status of newly-implemented APIs.
* include/fenv.h: Likewise related header.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2010-09-11 14:53:28 +08:00
|
|
|
feraiseexcept SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
ferror SIGFE
|
|
|
|
_ferror = ferror SIGFE
|
winsup/cygwin/ChangeLog:
* Makefile.in (DLL_OFILES): Add new fenv.o module.
(fenv_CFLAGS): New flags definition for fenv.o compile.
* autoload.cc (std_dll_init): Use fenv.h functions instead of direct
manipulation of x87 FPU registers.
* crt0.c (mainCRTStartup): Likewise.
* cygwin.din (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fetestexcept, fegetround, fesetround, fegetenv,
feholdexcept, fesetenv, feupdateenv, fegetprec, fesetprec,
feenableexcept, fedisableexcept, fegetexcept, _feinitialise,
_fe_dfl_env, _fe_nomask_env): Export new functions and data items.
* fenv.cc: New file.
* posix.sgml: Update status of newly-implemented APIs.
* include/fenv.h: Likewise related header.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2010-09-11 14:53:28 +08:00
|
|
|
fesetenv SIGFE
|
|
|
|
fesetexceptflag SIGFE
|
|
|
|
fesetprec NOSIGFE
|
|
|
|
fesetround NOSIGFE
|
|
|
|
fetestexcept NOSIGFE
|
|
|
|
feupdateenv SIGFE
|
2009-09-27 05:01:10 +08:00
|
|
|
fexecve SIGFE
|
2004-02-09 03:59:27 +08:00
|
|
|
fflush SIGFE
|
|
|
|
_fflush = fflush SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ffs NOSIGFE
|
|
|
|
_ffs = ffs NOSIGFE
|
|
|
|
fgetc SIGFE
|
|
|
|
_fgetc = fgetc SIGFE
|
2004-02-09 03:59:27 +08:00
|
|
|
fgetpos SIGFE
|
|
|
|
_fgetpos = fgetpos SIGFE
|
|
|
|
_fgetpos64 = fgetpos64 SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fgets SIGFE
|
|
|
|
_fgets = fgets SIGFE
|
2008-12-15 20:40:29 +08:00
|
|
|
fgetwc SIGFE
|
|
|
|
fgetws SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
fgetxattr SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
fileno SIGFE
|
|
|
|
_fileno = fileno SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
finite NOSIGFE
|
|
|
|
_finite = finite NOSIGFE
|
|
|
|
finitef NOSIGFE
|
|
|
|
_finitef = finitef NOSIGFE
|
|
|
|
fiprintf SIGFE
|
|
|
|
_fiprintf = fiprintf SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
flistxattr SIGFE
|
2003-11-30 07:00:51 +08:00
|
|
|
flock SIGFE
|
2004-05-18 00:06:02 +08:00
|
|
|
flockfile SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
floor NOSIGFE
|
|
|
|
_floor = floor NOSIGFE
|
|
|
|
floorf NOSIGFE
|
|
|
|
_floorf = floorf NOSIGFE
|
|
|
|
fma NOSIGFE
|
|
|
|
fmaf NOSIGFE
|
|
|
|
fmax NOSIGFE
|
|
|
|
fmaxf NOSIGFE
|
2008-04-23 00:55:23 +08:00
|
|
|
fmemopen SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fmin NOSIGFE
|
|
|
|
fminf NOSIGFE
|
|
|
|
fmod NOSIGFE
|
|
|
|
_fmod = fmod NOSIGFE
|
|
|
|
fmodf NOSIGFE
|
|
|
|
_fmodf = fmodf NOSIGFE
|
|
|
|
fnmatch NOSIGFE
|
|
|
|
_fnmatch = fnmatch NOSIGFE
|
|
|
|
fopen SIGFE
|
|
|
|
_fopen = fopen SIGFE
|
|
|
|
_fopen64 = fopen64 SIGFE
|
2007-06-21 15:22:16 +08:00
|
|
|
fopencookie SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fork SIGFE
|
|
|
|
_fork = fork SIGFE
|
|
|
|
forkpty SIGFE
|
|
|
|
fpathconf SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__fpclassifyd NOSIGFE
|
|
|
|
__fpclassifyf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fprintf SIGFE
|
|
|
|
_fprintf = fprintf SIGFE
|
2009-07-03 21:01:17 +08:00
|
|
|
fpurge SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
fputc SIGFE
|
|
|
|
_fputc = fputc SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fputs SIGFE
|
|
|
|
_fputs = fputs SIGFE
|
2008-12-15 20:40:29 +08:00
|
|
|
fputwc SIGFE
|
|
|
|
fputws SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fread SIGFE
|
|
|
|
_fread = fread SIGFE
|
|
|
|
free SIGFE
|
|
|
|
_free = free SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
freeaddrinfo = cygwin_freeaddrinfo SIGFE
|
2007-06-21 23:57:54 +08:00
|
|
|
freeifaddrs SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
fremovexattr SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
freopen SIGFE
|
|
|
|
_freopen = freopen SIGFE
|
|
|
|
_freopen64 = freopen64 SIGFE
|
|
|
|
frexp NOSIGFE
|
|
|
|
_frexp = frexp NOSIGFE
|
|
|
|
frexpf NOSIGFE
|
|
|
|
_frexpf = frexpf NOSIGFE
|
|
|
|
fscanf SIGFE
|
|
|
|
_fscanf = fscanf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
fscanf_r = _fscanf_r SIGFE
|
|
|
|
_fscanf_r SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fseek SIGFE
|
|
|
|
_fseek = fseek SIGFE
|
|
|
|
fseeko SIGFE
|
|
|
|
_fseeko = fseeko SIGFE
|
|
|
|
_fseeko64 = fseeko64 SIGFE
|
|
|
|
fsetpos SIGFE
|
|
|
|
_fsetpos = fsetpos SIGFE
|
|
|
|
_fsetpos64 = fsetpos64 SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
fsetxattr SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
fstat SIGFE
|
|
|
|
_fstat = fstat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
_fstat64 = fstat64 SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
fstatat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fstatfs SIGFE
|
|
|
|
_fstatfs = fstatfs SIGFE
|
2005-02-23 21:12:43 +08:00
|
|
|
fstatvfs SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fsync SIGFE
|
|
|
|
_fsync = fsync SIGFE
|
2004-02-09 03:59:27 +08:00
|
|
|
ftell SIGFE
|
|
|
|
_ftell = ftell SIGFE
|
|
|
|
ftello SIGFE
|
|
|
|
_ftello = ftello SIGFE
|
|
|
|
_ftello64 = ftello64 SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ftime SIGFE
|
|
|
|
_ftime = ftime SIGFE
|
|
|
|
ftok SIGFE
|
|
|
|
_ftok = ftok SIGFE
|
|
|
|
ftruncate SIGFE
|
|
|
|
_ftruncate = ftruncate SIGFE
|
|
|
|
_ftruncate64 = ftruncate64 SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
ftrylockfile SIGFE
|
|
|
|
fts_children SIGFE
|
|
|
|
fts_close SIGFE
|
|
|
|
fts_get_clientptr NOSIGFE
|
|
|
|
fts_get_stream NOSIGFE
|
|
|
|
fts_open SIGFE
|
|
|
|
fts_read SIGFE
|
|
|
|
fts_set NOSIGFE
|
|
|
|
fts_set_clientptr NOSIGFE
|
|
|
|
ftw SIGFE
|
|
|
|
funlockfile SIGFE
|
2007-06-21 15:22:16 +08:00
|
|
|
funopen SIGFE
|
2008-04-24 17:59:54 +08:00
|
|
|
futimens SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
futimes SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
futimesat SIGFE
|
2008-12-15 20:40:29 +08:00
|
|
|
fwide SIGFE
|
2009-03-06 18:09:55 +08:00
|
|
|
fwprintf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
fwrite SIGFE
|
|
|
|
_fwrite = fwrite SIGFE
|
2009-03-11 20:03:44 +08:00
|
|
|
fwscanf SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
gai_strerror = cygwin_gai_strerror NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
gamma NOSIGFE
|
|
|
|
_gamma = gamma NOSIGFE
|
|
|
|
gamma_r NOSIGFE
|
|
|
|
_gamma_r = gamma_r NOSIGFE
|
|
|
|
gammaf NOSIGFE
|
|
|
|
_gammaf = gammaf NOSIGFE
|
|
|
|
gammaf_r NOSIGFE
|
|
|
|
_gammaf_r = gammaf_r NOSIGFE
|
|
|
|
gcvt SIGFE
|
|
|
|
_gcvt = gcvt SIGFE
|
|
|
|
gcvtf SIGFE
|
|
|
|
_gcvtf = gcvtf SIGFE
|
2009-11-12 22:40:48 +08:00
|
|
|
get_avphys_pages SIGFE
|
|
|
|
get_nprocs SIGFE
|
|
|
|
get_nprocs_conf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
get_osfhandle SIGFE
|
|
|
|
_get_osfhandle = get_osfhandle SIGFE
|
2009-11-12 22:40:48 +08:00
|
|
|
get_phys_pages SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
getaddrinfo = cygwin_getaddrinfo SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getc SIGFE
|
|
|
|
_getc = getc SIGFE
|
|
|
|
getc_unlocked SIGFE
|
|
|
|
_getc_unlocked = getc_unlocked SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
getchar SIGFE
|
|
|
|
_getchar = getchar SIGFE
|
|
|
|
getchar_unlocked SIGFE
|
|
|
|
_getchar_unlocked = getchar_unlocked SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getcwd SIGFE
|
|
|
|
_getcwd = getcwd SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
getdelim = __getdelim SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__getdelim SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getdomainname SIGFE
|
|
|
|
_getdomainname = getdomainname SIGFE
|
|
|
|
getdtablesize NOSIGFE
|
|
|
|
_getdtablesize = getdtablesize NOSIGFE
|
|
|
|
getegid NOSIGFE
|
|
|
|
_getegid = getegid NOSIGFE
|
|
|
|
_getegid32 = getegid32 NOSIGFE
|
|
|
|
getenv NOSIGFE
|
|
|
|
_getenv = getenv NOSIGFE
|
|
|
|
geteuid NOSIGFE
|
|
|
|
_geteuid = geteuid NOSIGFE
|
|
|
|
_geteuid32 = geteuid32 NOSIGFE
|
|
|
|
getgid NOSIGFE
|
|
|
|
_getgid = getgid NOSIGFE
|
|
|
|
_getgid32 = getgid32 NOSIGFE
|
|
|
|
getgrent SIGFE
|
|
|
|
_getgrent = getgrent SIGFE
|
|
|
|
_getgrent32 = getgrent32 SIGFE
|
|
|
|
getgrgid SIGFE
|
|
|
|
_getgrgid = getgrgid SIGFE
|
|
|
|
_getgrgid32 = getgrgid32 SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
getgrgid_r SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getgrnam SIGFE
|
|
|
|
_getgrnam = getgrnam SIGFE
|
|
|
|
_getgrnam32 = getgrnam32 SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
getgrnam_r SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getgroups SIGFE
|
|
|
|
_getgroups = getgroups SIGFE
|
|
|
|
_getgroups32 = getgroups32 SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
gethostbyaddr = cygwin_gethostbyaddr SIGFE
|
|
|
|
gethostbyname = cygwin_gethostbyname SIGFE
|
2009-03-07 00:31:26 +08:00
|
|
|
gethostbyname2 SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
gethostid SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
gethostname = cygwin_gethostname SIGFE
|
|
|
|
_gethostname = cygwin_gethostname SIGFE
|
2007-06-21 23:57:54 +08:00
|
|
|
getifaddrs SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getitimer SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
getline = __getline SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__getline SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getlogin NOSIGFE
|
|
|
|
_getlogin = getlogin NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
getlogin_r NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getmntent SIGFE
|
|
|
|
_getmntent = getmntent SIGFE
|
|
|
|
getmode SIGFE
|
|
|
|
_getmode = getmode SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
getnameinfo = cygwin_getnameinfo SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getopt SIGFE
|
|
|
|
getopt_long SIGFE
|
2005-05-25 11:40:07 +08:00
|
|
|
getopt_long_only SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getpagesize SIGFE
|
|
|
|
_getpagesize = getpagesize SIGFE
|
|
|
|
getpass SIGFE
|
|
|
|
_getpass = getpass SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
getpeereid SIGFE
|
|
|
|
getpeername = cygwin_getpeername SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getpgid SIGFE
|
|
|
|
getpgrp SIGFE
|
|
|
|
_getpgrp = getpgrp SIGFE
|
|
|
|
getpid NOSIGFE
|
|
|
|
_getpid = getpid NOSIGFE
|
|
|
|
getppid NOSIGFE
|
|
|
|
_getppid = getppid NOSIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
getpriority SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
getprogname NOSIGFE
|
|
|
|
getprotobyname = cygwin_getprotobyname SIGFE
|
|
|
|
getprotobynumber = cygwin_getprotobynumber SIGFE
|
|
|
|
getprotoent = cygwin_getprotoent SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getpwduid NOSIGFE
|
|
|
|
_getpwduid = getpwduid NOSIGFE
|
|
|
|
getpwent SIGFE
|
|
|
|
_getpwent = getpwent SIGFE
|
|
|
|
getpwnam SIGFE
|
|
|
|
_getpwnam = getpwnam SIGFE
|
|
|
|
getpwnam_r SIGFE
|
|
|
|
getpwuid SIGFE
|
|
|
|
_getpwuid = getpwuid SIGFE
|
|
|
|
_getpwuid32 = getpwuid32 SIGFE
|
|
|
|
getpwuid_r SIGFE
|
|
|
|
_getpwuid_r32 = getpwuid_r32 SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__getreent NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getrlimit SIGFE
|
|
|
|
_getrlimit = getrlimit SIGFE
|
|
|
|
getrusage SIGFE
|
|
|
|
_getrusage = getrusage SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
gets SIGFE
|
|
|
|
_gets = gets SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
getservbyname = cygwin_getservbyname SIGFE
|
|
|
|
getservbyport = cygwin_getservbyport SIGFE
|
|
|
|
getservent = cygwin_getservent SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getsid SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
getsockname = cygwin_getsockname SIGFE
|
|
|
|
getsockopt = cygwin_getsockopt SIGFE
|
|
|
|
getsubopt NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
gettimeofday SIGFE
|
|
|
|
_gettimeofday = gettimeofday SIGFE
|
|
|
|
getuid NOSIGFE
|
|
|
|
_getuid = getuid NOSIGFE
|
|
|
|
_getuid32 = getuid32 NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
getusershell SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getutent SIGFE
|
|
|
|
_getutent = getutent SIGFE
|
|
|
|
getutid SIGFE
|
|
|
|
_getutid = getutid SIGFE
|
|
|
|
getutline SIGFE
|
2004-12-16 01:29:01 +08:00
|
|
|
getutxent SIGFE
|
|
|
|
getutxid SIGFE
|
|
|
|
getutxline SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getw SIGFE
|
|
|
|
_getw = getw SIGFE
|
2008-12-15 20:40:29 +08:00
|
|
|
getwc SIGFE
|
|
|
|
getwchar SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
getwd SIGFE
|
|
|
|
_getwd = getwd SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
getxattr SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
glob SIGFE
|
2009-01-01 05:33:34 +08:00
|
|
|
glob_pattern_p
|
2009-03-06 18:09:55 +08:00
|
|
|
globfree SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
gmtime SIGFE
|
|
|
|
_gmtime = gmtime SIGFE
|
|
|
|
gmtime_r SIGFE
|
|
|
|
_gmtime_r = gmtime_r SIGFE
|
|
|
|
grantpt NOSIGFE
|
|
|
|
hcreate SIGFE
|
|
|
|
hcreate_r SIGFE
|
|
|
|
hdestroy SIGFE
|
|
|
|
hdestroy_r SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
herror = cygwin_herror SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
hsearch SIGFE
|
|
|
|
hsearch_r SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
hstrerror = cygwin_hstrerror NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
htonl NOSIGFE
|
|
|
|
_htonl = htonl NOSIGFE
|
|
|
|
htons NOSIGFE
|
|
|
|
_htons = htons NOSIGFE
|
|
|
|
hypot NOSIGFE
|
|
|
|
_hypot = hypot NOSIGFE
|
|
|
|
hypotf NOSIGFE
|
|
|
|
_hypotf = hypotf NOSIGFE
|
2007-01-22 06:54:05 +08:00
|
|
|
if_freenameindex SIGFE
|
|
|
|
if_indextoname SIGFE
|
|
|
|
if_nameindex SIGFE
|
|
|
|
if_nametoindex SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ilogb NOSIGFE
|
|
|
|
_ilogb = ilogb NOSIGFE
|
|
|
|
ilogbf NOSIGFE
|
|
|
|
_ilogbf = ilogbf NOSIGFE
|
2005-06-10 20:11:35 +08:00
|
|
|
imaxabs = llabs NOSIGFE
|
|
|
|
imaxdiv = lldiv NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
index NOSIGFE
|
|
|
|
_index = index NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
inet_addr = cygwin_inet_addr SIGFE
|
|
|
|
inet_aton = cygwin_inet_aton SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
inet_makeaddr NOSIGFE
|
|
|
|
inet_netof NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
inet_network = cygwin_inet_network SIGFE
|
|
|
|
inet_ntoa = cygwin_inet_ntoa SIGFE
|
|
|
|
inet_ntop = cygwin_inet_ntop SIGFE
|
|
|
|
inet_pton = cygwin_inet_pton SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
infinity NOSIGFE
|
|
|
|
_infinity = infinity NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__infinity NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
infinityf NOSIGFE
|
|
|
|
_infinityf = infinityf NOSIGFE
|
|
|
|
initgroups SIGFE
|
|
|
|
_initgroups32 = initgroups32 SIGFE
|
|
|
|
initstate NOSIGFE
|
2007-06-12 23:24:46 +08:00
|
|
|
insque NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ioctl SIGFE
|
|
|
|
_ioctl = ioctl SIGFE
|
|
|
|
iprintf SIGFE
|
|
|
|
_iprintf = iprintf SIGFE
|
|
|
|
iruserok SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
iruserok_sa SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
isalnum NOSIGFE
|
|
|
|
_isalnum = isalnum NOSIGFE
|
|
|
|
isalpha NOSIGFE
|
|
|
|
_isalpha = isalpha NOSIGFE
|
|
|
|
isascii NOSIGFE
|
|
|
|
_isascii = isascii NOSIGFE
|
|
|
|
isatty SIGFE
|
|
|
|
_isatty = isatty SIGFE
|
|
|
|
isblank NOSIGFE
|
|
|
|
iscntrl NOSIGFE
|
|
|
|
_iscntrl = iscntrl NOSIGFE
|
|
|
|
isdigit NOSIGFE
|
|
|
|
_isdigit = isdigit NOSIGFE
|
|
|
|
isgraph NOSIGFE
|
|
|
|
_isgraph = isgraph NOSIGFE
|
|
|
|
isinf NOSIGFE
|
|
|
|
_isinf = isinf NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__isinfd NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
isinff NOSIGFE
|
|
|
|
_isinff = isinff NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__isinff NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
islower NOSIGFE
|
|
|
|
_islower = islower NOSIGFE
|
|
|
|
isnan NOSIGFE
|
|
|
|
_isnan = isnan NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__isnand NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
isnanf NOSIGFE
|
|
|
|
_isnanf = isnanf NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__isnanf NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
isprint NOSIGFE
|
|
|
|
_isprint = isprint NOSIGFE
|
|
|
|
ispunct NOSIGFE
|
|
|
|
_ispunct = ispunct NOSIGFE
|
|
|
|
isspace NOSIGFE
|
|
|
|
_isspace = isspace NOSIGFE
|
|
|
|
isupper NOSIGFE
|
|
|
|
_isupper = isupper NOSIGFE
|
|
|
|
iswalnum NOSIGFE
|
|
|
|
iswalpha NOSIGFE
|
|
|
|
iswblank NOSIGFE
|
|
|
|
iswcntrl NOSIGFE
|
|
|
|
iswctype NOSIGFE
|
|
|
|
iswdigit NOSIGFE
|
|
|
|
iswgraph NOSIGFE
|
|
|
|
iswlower NOSIGFE
|
|
|
|
iswprint NOSIGFE
|
|
|
|
iswpunct NOSIGFE
|
|
|
|
iswspace NOSIGFE
|
|
|
|
iswupper NOSIGFE
|
|
|
|
iswxdigit NOSIGFE
|
|
|
|
isxdigit NOSIGFE
|
|
|
|
_isxdigit = isxdigit NOSIGFE
|
|
|
|
j0 NOSIGFE
|
|
|
|
_j0 = j0 NOSIGFE
|
|
|
|
j0f NOSIGFE
|
|
|
|
_j0f = j0f NOSIGFE
|
|
|
|
j1 NOSIGFE
|
|
|
|
_j1 = j1 NOSIGFE
|
|
|
|
j1f NOSIGFE
|
|
|
|
_j1f = j1f NOSIGFE
|
|
|
|
jn NOSIGFE
|
|
|
|
_jn = jn NOSIGFE
|
|
|
|
jnf NOSIGFE
|
|
|
|
_jnf = jnf NOSIGFE
|
|
|
|
jrand48 NOSIGFE
|
|
|
|
_jrand48 = jrand48 NOSIGFE
|
|
|
|
kill SIGFE
|
|
|
|
_kill = kill SIGFE
|
|
|
|
killpg SIGFE
|
|
|
|
l64a NOSIGFE
|
|
|
|
labs NOSIGFE
|
|
|
|
_labs = labs NOSIGFE
|
|
|
|
lacl SIGFE
|
|
|
|
_lacl = lacl SIGFE
|
|
|
|
lchown SIGFE
|
|
|
|
_lchown = lchown SIGFE
|
|
|
|
_lchown32 = lchown32 SIGFE
|
|
|
|
lcong48 NOSIGFE
|
|
|
|
_lcong48 = lcong48 NOSIGFE
|
|
|
|
ldexp NOSIGFE
|
|
|
|
_ldexp = ldexp NOSIGFE
|
|
|
|
ldexpf NOSIGFE
|
|
|
|
_ldexpf = ldexpf NOSIGFE
|
|
|
|
ldiv NOSIGFE
|
|
|
|
_ldiv = ldiv NOSIGFE
|
* wininfo.h (wininfo::timer_active): Delete.
(wininfo::itv): Ditto.
(wininfo::start_time): Ditto.
(wininfo::window_started): Ditto.
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(wininfo::wininfo): Ditto.
(wininfo::lock): New method.
(wininfo::release): Ditto.
* window.cc: Use new lock/acquire wininfo methods throughout.
(wininfo::wininfo): Delete
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(getitimer): Ditto.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
(wininfo::lock): Define new function.
(wininfo::release): Ditto.
(wininfo::process): Delete WM_TIMER handling.
* timer.cc (struct timetracker): Delete it, flags. Add it_interval,
interval_us, sleepto_us, running, init_muto(), syncthread, and gettime().
(ttstart): Make NO_COPY.
(lock_timer_tracker): New class.
(timer_tracker::timer_tracker): Distinguish ttstart case.
(timer_tracker::~timer_tracker): New destructor. Clean out events, and reset
magic.
(timer_tracker::init_muto): New method.
(to_us): Round up as per POSIX.
(timer_thread): Reorganize to match timer_tracker::settime and
timer_tracker::gettime. Call sig_send without wait. Call auto_release.
(timer_tracker::settime): Reorganize logic to avoid race. Call gettime to
recover old value.
(timer_tracker::gettime): New method.
(timer_create): Properly set errno on invalid timerid. Use new
lock_timer_tracker method.
(timer_delete): Ditto. Simplify code slightly.
(timer_gettime): New function.
(fixup_timers_after_fork): Reinit ttstart.
(getitimer): New implementation.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
* cygwin.din: Export timer_gettime.
* winsup.h: Remove has has_visible_window_station declaration.
* Makefile.in (DLL_OFILES): Add lsearch.o.
* cygthread.h (cygthread::notify_detached): New element.
(cygthread::cygthread): Take optional fourth argument signifying event to
signal on thread completion.
* cygthread.cc (cygthread::stub): Signal notify_detached event, if it exists.
(cygthread::cygthread): Initialize notify_detached from fourth argument.
(cygthread::detach): Wait for notify_detached field is present.
* lsearch.cc: New file.
* search.h: Ditto.
* include/cygwin/version.h: Bump API minor number to 126.
* cygwin.din: Export lsearch, lfind.
2005-03-27 09:57:38 +08:00
|
|
|
lfind NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
lgamma NOSIGFE
|
|
|
|
_lgamma = lgamma NOSIGFE
|
|
|
|
lgamma_r NOSIGFE
|
|
|
|
_lgamma_r = lgamma_r NOSIGFE
|
|
|
|
lgammaf NOSIGFE
|
|
|
|
_lgammaf = lgammaf NOSIGFE
|
|
|
|
lgammaf_r NOSIGFE
|
|
|
|
_lgammaf_r = lgammaf_r NOSIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
lgetxattr SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
link SIGFE
|
|
|
|
_link = link SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
linkat SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
listen = cygwin_listen SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
listxattr SIGFE
|
2005-06-10 20:11:35 +08:00
|
|
|
llabs NOSIGFE
|
|
|
|
lldiv NOSIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
llistxattr SIGFE
|
* cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
_f_lrintl, _f_rint, _f_rintf, _f_rintl): Export fast *rint* functions.
(lrint, lrintf, rint, rintf): Redirect exports to alias _f_ versions.
(llrint, llrintf, llrintl, lrintl, rintl): Add exports aliasing _f_*
versions likewise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2007-12-31 05:12:08 +08:00
|
|
|
llrint = _f_llrint NOSIGFE
|
|
|
|
llrintf = _f_llrintf NOSIGFE
|
|
|
|
llrintl = _f_llrintl NOSIGFE
|
2010-10-18 23:14:17 +08:00
|
|
|
llround NOSIGFE
|
|
|
|
llroundf NOSIGFE
|
2010-04-28 18:00:24 +08:00
|
|
|
__locale_mb_cur_max NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
localeconv NOSIGFE
|
|
|
|
_localeconv = localeconv NOSIGFE
|
|
|
|
localtime SIGFE
|
|
|
|
_localtime = localtime SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
localtime_r SIGFE
|
|
|
|
_localtime_r = localtime_r SIGFE
|
2008-03-24 22:48:58 +08:00
|
|
|
lockf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
log NOSIGFE
|
|
|
|
_log = log NOSIGFE
|
|
|
|
log10 NOSIGFE
|
|
|
|
_log10 = log10 NOSIGFE
|
|
|
|
log10f NOSIGFE
|
|
|
|
_log10f = log10f NOSIGFE
|
|
|
|
log1p NOSIGFE
|
|
|
|
_log1p = log1p NOSIGFE
|
|
|
|
log1pf NOSIGFE
|
|
|
|
_log1pf = log1pf NOSIGFE
|
2009-03-19 17:22:01 +08:00
|
|
|
log2 NOSIGFE
|
|
|
|
log2f NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
logb NOSIGFE
|
|
|
|
_logb = logb NOSIGFE
|
|
|
|
logbf NOSIGFE
|
|
|
|
_logbf = logbf NOSIGFE
|
|
|
|
logf NOSIGFE
|
|
|
|
_logf = logf NOSIGFE
|
|
|
|
login SIGFE
|
|
|
|
login_tty SIGFE
|
|
|
|
logout SIGFE
|
|
|
|
logwtmp SIGFE
|
|
|
|
longjmp NOSIGFE
|
|
|
|
_longjmp = longjmp NOSIGFE
|
|
|
|
lrand48 NOSIGFE
|
|
|
|
_lrand48 = lrand48 NOSIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
lremovexattr SIGFE
|
* cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
_f_lrintl, _f_rint, _f_rintf, _f_rintl): Export fast *rint* functions.
(lrint, lrintf, rint, rintf): Redirect exports to alias _f_ versions.
(llrint, llrintf, llrintl, lrintl, rintl): Add exports aliasing _f_*
versions likewise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2007-12-31 05:12:08 +08:00
|
|
|
lrint = _f_lrint NOSIGFE
|
|
|
|
lrintf = _f_lrintf NOSIGFE
|
|
|
|
lrintl = _f_lrintl NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
lround NOSIGFE
|
|
|
|
lroundf NOSIGFE
|
* wininfo.h (wininfo::timer_active): Delete.
(wininfo::itv): Ditto.
(wininfo::start_time): Ditto.
(wininfo::window_started): Ditto.
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(wininfo::wininfo): Ditto.
(wininfo::lock): New method.
(wininfo::release): Ditto.
* window.cc: Use new lock/acquire wininfo methods throughout.
(wininfo::wininfo): Delete
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(getitimer): Ditto.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
(wininfo::lock): Define new function.
(wininfo::release): Ditto.
(wininfo::process): Delete WM_TIMER handling.
* timer.cc (struct timetracker): Delete it, flags. Add it_interval,
interval_us, sleepto_us, running, init_muto(), syncthread, and gettime().
(ttstart): Make NO_COPY.
(lock_timer_tracker): New class.
(timer_tracker::timer_tracker): Distinguish ttstart case.
(timer_tracker::~timer_tracker): New destructor. Clean out events, and reset
magic.
(timer_tracker::init_muto): New method.
(to_us): Round up as per POSIX.
(timer_thread): Reorganize to match timer_tracker::settime and
timer_tracker::gettime. Call sig_send without wait. Call auto_release.
(timer_tracker::settime): Reorganize logic to avoid race. Call gettime to
recover old value.
(timer_tracker::gettime): New method.
(timer_create): Properly set errno on invalid timerid. Use new
lock_timer_tracker method.
(timer_delete): Ditto. Simplify code slightly.
(timer_gettime): New function.
(fixup_timers_after_fork): Reinit ttstart.
(getitimer): New implementation.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
* cygwin.din: Export timer_gettime.
* winsup.h: Remove has has_visible_window_station declaration.
* Makefile.in (DLL_OFILES): Add lsearch.o.
* cygthread.h (cygthread::notify_detached): New element.
(cygthread::cygthread): Take optional fourth argument signifying event to
signal on thread completion.
* cygthread.cc (cygthread::stub): Signal notify_detached event, if it exists.
(cygthread::cygthread): Initialize notify_detached from fourth argument.
(cygthread::detach): Wait for notify_detached field is present.
* lsearch.cc: New file.
* search.h: Ditto.
* include/cygwin/version.h: Bump API minor number to 126.
* cygwin.din: Export lsearch, lfind.
2005-03-27 09:57:38 +08:00
|
|
|
lsearch NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
lseek SIGFE
|
|
|
|
_lseek = lseek SIGFE
|
|
|
|
_lseek64 = lseek64 SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
lsetxattr SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
lstat SIGFE
|
|
|
|
_lstat = lstat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
_lstat64 = lstat64 SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
lutimes SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__main NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
mallinfo SIGFE
|
|
|
|
malloc SIGFE
|
|
|
|
_malloc = malloc SIGFE
|
|
|
|
malloc_stats SIGFE
|
|
|
|
malloc_trim SIGFE
|
|
|
|
malloc_usable_size SIGFE
|
|
|
|
mallopt SIGFE
|
|
|
|
matherr NOSIGFE
|
|
|
|
_matherr = matherr NOSIGFE
|
|
|
|
mblen NOSIGFE
|
|
|
|
_mblen = mblen NOSIGFE
|
|
|
|
mbrlen NOSIGFE
|
|
|
|
mbrtowc NOSIGFE
|
|
|
|
mbsinit NOSIGFE
|
2009-02-19 17:22:51 +08:00
|
|
|
mbsnrtowcs NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
mbsrtowcs NOSIGFE
|
|
|
|
mbstowcs NOSIGFE
|
|
|
|
_mbstowcs = mbstowcs NOSIGFE
|
|
|
|
mbtowc NOSIGFE
|
|
|
|
_mbtowc = mbtowc NOSIGFE
|
|
|
|
memalign SIGFE
|
|
|
|
memccpy NOSIGFE
|
|
|
|
_memccpy = memccpy NOSIGFE
|
|
|
|
memchr NOSIGFE
|
|
|
|
_memchr = memchr NOSIGFE
|
|
|
|
memcmp NOSIGFE
|
|
|
|
_memcmp = memcmp NOSIGFE
|
|
|
|
memcpy NOSIGFE
|
|
|
|
_memcpy = memcpy NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
memmem NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
memmove NOSIGFE
|
|
|
|
_memmove = memmove NOSIGFE
|
|
|
|
mempcpy NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__mempcpy = mempcpy NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
memset NOSIGFE
|
|
|
|
_memset = memset NOSIGFE
|
|
|
|
mkdir SIGFE
|
|
|
|
_mkdir = mkdir SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
mkdirat SIGFE
|
2005-05-25 11:40:07 +08:00
|
|
|
mkdtemp SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
mkfifo SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
mkfifoat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
mknod SIGFE
|
|
|
|
_mknod = mknod SIGFE
|
|
|
|
_mknod32 = mknod32 SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
mknodat SIGFE
|
2010-07-20 02:22:40 +08:00
|
|
|
mkostemp SIGFE
|
|
|
|
mkostemps SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
mkstemp SIGFE
|
|
|
|
_mkstemp = mkstemp SIGFE
|
2009-07-03 21:01:17 +08:00
|
|
|
mkstemps SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
mktemp SIGFE
|
|
|
|
_mktemp = mktemp SIGFE
|
|
|
|
mktime SIGFE
|
|
|
|
_mktime = mktime SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
mlock SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
mmap SIGFE
|
|
|
|
_mmap64 = mmap64 SIGFE
|
|
|
|
modf NOSIGFE
|
|
|
|
_modf = modf NOSIGFE
|
|
|
|
modff NOSIGFE
|
|
|
|
_modff = modff NOSIGFE
|
|
|
|
mount SIGFE
|
|
|
|
_mount = mount SIGFE
|
|
|
|
mprotect SIGFE
|
2007-02-14 18:06:46 +08:00
|
|
|
mq_close SIGFE
|
|
|
|
mq_getattr SIGFE
|
|
|
|
mq_notify SIGFE
|
|
|
|
mq_open SIGFE
|
|
|
|
mq_receive SIGFE
|
|
|
|
mq_send SIGFE
|
|
|
|
mq_setattr SIGFE
|
|
|
|
mq_timedreceive SIGFE
|
|
|
|
mq_timedsend SIGFE
|
|
|
|
mq_unlink SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
mrand48 NOSIGFE
|
2003-11-29 05:39:08 +08:00
|
|
|
msgctl SIGFE
|
|
|
|
msgget SIGFE
|
|
|
|
msgrcv SIGFE
|
|
|
|
msgsnd SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
msync SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
munlock SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
munmap SIGFE
|
|
|
|
nan NOSIGFE
|
|
|
|
_nan = nan NOSIGFE
|
|
|
|
nanf NOSIGFE
|
|
|
|
_nanf = nanf NOSIGFE
|
|
|
|
nanosleep SIGFE
|
|
|
|
_nanosleep = nanosleep SIGFE
|
|
|
|
nearbyint NOSIGFE
|
|
|
|
nearbyintf NOSIGFE
|
|
|
|
nextafter NOSIGFE
|
|
|
|
_nextafter = nextafter NOSIGFE
|
|
|
|
nextafterf NOSIGFE
|
|
|
|
_nextafterf = nextafterf NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
nftw SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
nice SIGFE
|
|
|
|
_nice = nice SIGFE
|
|
|
|
nl_langinfo SIGFE
|
|
|
|
_nl_langinfo = nl_langinfo SIGFE
|
|
|
|
nrand48 NOSIGFE
|
|
|
|
_nrand48 = nrand48 NOSIGFE
|
|
|
|
ntohl NOSIGFE
|
|
|
|
_ntohl = ntohl NOSIGFE
|
|
|
|
ntohs NOSIGFE
|
|
|
|
_ntohs = ntohs NOSIGFE
|
|
|
|
on_exit SIGFE
|
|
|
|
open SIGFE
|
|
|
|
_open = open SIGFE
|
2003-03-10 05:51:00 +08:00
|
|
|
_open64
|
2008-04-23 19:13:52 +08:00
|
|
|
open_memstream SIGFE
|
2009-02-19 01:38:16 +08:00
|
|
|
open_wmemstream SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
openat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
opendir SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__opendir_with_d_ino SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
openlog SIGFE
|
|
|
|
_openlog = openlog SIGFE
|
|
|
|
openpty SIGFE
|
|
|
|
pathconf SIGFE
|
|
|
|
_pathconf = pathconf SIGFE
|
|
|
|
pause SIGFE
|
|
|
|
pclose SIGFE
|
|
|
|
_pclose = pclose SIGFE
|
|
|
|
perror SIGFE
|
|
|
|
_perror = perror SIGFE
|
|
|
|
pipe SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_pipe SIGFE
|
2010-01-15 02:46:02 +08:00
|
|
|
pipe2 SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
poll SIGFE
|
|
|
|
_poll = poll SIGFE
|
|
|
|
popen SIGFE
|
|
|
|
_popen = popen SIGFE
|
2006-08-08 03:29:14 +08:00
|
|
|
posix_fadvise SIGFE
|
|
|
|
posix_fallocate SIGFE
|
2007-02-08 01:22:40 +08:00
|
|
|
posix_madvise SIGFE
|
|
|
|
posix_memalign SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
posix_openpt SIGFE
|
2008-07-29 18:40:37 +08:00
|
|
|
posix_regcomp = regcomp SIGFE
|
|
|
|
posix_regerror = regerror SIGFE
|
|
|
|
posix_regexec = regexec SIGFE
|
|
|
|
posix_regfree = regfree SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pow NOSIGFE
|
|
|
|
_pow = pow NOSIGFE
|
2007-06-21 15:22:16 +08:00
|
|
|
pow10 NOSIGFE
|
|
|
|
pow10f NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
powf NOSIGFE
|
|
|
|
_powf = powf NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
pread SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
printf SIGFE
|
|
|
|
_printf = printf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
pselect SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_atfork SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_attr_destroy SIGFE
|
|
|
|
pthread_attr_getdetachstate SIGFE
|
|
|
|
pthread_attr_getinheritsched SIGFE
|
|
|
|
pthread_attr_getschedparam SIGFE
|
|
|
|
pthread_attr_getschedpolicy SIGFE
|
|
|
|
pthread_attr_getscope SIGFE
|
|
|
|
pthread_attr_getstacksize SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_attr_init SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_attr_setdetachstate SIGFE
|
|
|
|
pthread_attr_setinheritsched SIGFE
|
|
|
|
pthread_attr_setschedparam SIGFE
|
|
|
|
pthread_attr_setschedpolicy SIGFE
|
|
|
|
pthread_attr_setscope SIGFE
|
|
|
|
pthread_attr_setstacksize SIGFE
|
|
|
|
pthread_cancel SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_pthread_cleanup_pop SIGFE
|
|
|
|
_pthread_cleanup_push SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_cond_broadcast SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_cond_destroy SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_cond_init SIGFE
|
|
|
|
pthread_cond_signal SIGFE
|
|
|
|
pthread_cond_timedwait SIGFE
|
|
|
|
pthread_cond_wait SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_condattr_destroy SIGFE
|
|
|
|
pthread_condattr_getpshared SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_condattr_init SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_condattr_setpshared SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_continue SIGFE
|
|
|
|
pthread_create SIGFE
|
|
|
|
pthread_detach SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_equal SIGFE
|
|
|
|
pthread_exit SIGFE
|
|
|
|
pthread_getconcurrency SIGFE
|
|
|
|
pthread_getschedparam SIGFE
|
|
|
|
pthread_getsequence_np SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
pthread_getspecific SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_join SIGFE
|
|
|
|
pthread_key_create SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_key_delete SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_kill SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_mutex_destroy SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_mutex_getprioceiling SIGFE
|
|
|
|
pthread_mutex_init SIGFE
|
|
|
|
pthread_mutex_lock SIGFE
|
|
|
|
pthread_mutex_setprioceiling SIGFE
|
|
|
|
pthread_mutex_trylock SIGFE
|
|
|
|
pthread_mutex_unlock SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_mutexattr_destroy SIGFE
|
|
|
|
pthread_mutexattr_getprioceiling SIGFE
|
|
|
|
pthread_mutexattr_getprotocol SIGFE
|
|
|
|
pthread_mutexattr_getpshared SIGFE
|
|
|
|
pthread_mutexattr_gettype SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_mutexattr_init SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_mutexattr_setprioceiling SIGFE
|
|
|
|
pthread_mutexattr_setprotocol SIGFE
|
|
|
|
pthread_mutexattr_setpshared SIGFE
|
|
|
|
pthread_mutexattr_settype SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_once SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_rwlock_destroy SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_rwlock_init SIGFE
|
|
|
|
pthread_rwlock_rdlock SIGFE
|
|
|
|
pthread_rwlock_tryrdlock SIGFE
|
|
|
|
pthread_rwlock_trywrlock SIGFE
|
|
|
|
pthread_rwlock_unlock SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
pthread_rwlock_wrlock SIGFE
|
|
|
|
pthread_rwlockattr_destroy SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_rwlockattr_getpshared SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
pthread_rwlockattr_init SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_rwlockattr_setpshared SIGFE
|
|
|
|
pthread_self SIGFE
|
|
|
|
pthread_setcancelstate SIGFE
|
|
|
|
pthread_setcanceltype SIGFE
|
|
|
|
pthread_setconcurrency SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_setschedparam SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
pthread_setspecific SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
pthread_sigmask SIGFE
|
|
|
|
pthread_suspend SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
pthread_testcancel SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ptsname SIGFE
|
|
|
|
putc SIGFE
|
|
|
|
_putc = putc SIGFE
|
|
|
|
putc_unlocked SIGFE
|
|
|
|
_putc_unlocked = putc_unlocked SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
putchar SIGFE
|
|
|
|
_putchar = putchar SIGFE
|
|
|
|
putchar_unlocked SIGFE
|
|
|
|
_putchar_unlocked = putchar_unlocked SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
putenv SIGFE
|
|
|
|
_putenv = putenv SIGFE
|
|
|
|
puts SIGFE
|
|
|
|
_puts = puts SIGFE
|
|
|
|
pututline SIGFE
|
|
|
|
_pututline = pututline SIGFE
|
2004-12-16 01:29:01 +08:00
|
|
|
pututxline SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
putw SIGFE
|
|
|
|
_putw = putw SIGFE
|
2008-12-15 20:40:29 +08:00
|
|
|
putwc SIGFE
|
|
|
|
putwchar SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
pwrite SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
qsort NOSIGFE
|
|
|
|
_qsort = qsort NOSIGFE
|
|
|
|
raise SIGFE
|
|
|
|
_raise = raise SIGFE
|
|
|
|
rand NOSIGFE
|
|
|
|
_rand = rand NOSIGFE
|
2004-04-14 17:12:04 +08:00
|
|
|
rand_r NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
random NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
rcmd = cygwin_rcmd SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
rcmd_af = cygwin_rcmd_af SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
read SIGFE
|
|
|
|
_read = read SIGFE
|
|
|
|
readdir SIGFE
|
|
|
|
_readdir = readdir SIGFE
|
2005-08-29 01:30:34 +08:00
|
|
|
readdir_r SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
readlink SIGFE
|
|
|
|
_readlink = readlink SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
readlinkat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
readv SIGFE
|
|
|
|
_readv = readv SIGFE
|
|
|
|
realloc SIGFE
|
|
|
|
_realloc = realloc SIGFE
|
2009-02-17 04:22:38 +08:00
|
|
|
reallocf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
realpath SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
recv = cygwin_recv SIGFE
|
|
|
|
recvfrom = cygwin_recvfrom SIGFE
|
|
|
|
recvmsg = cygwin_recvmsg SIGFE
|
2008-07-29 18:40:37 +08:00
|
|
|
regcomp SIGFE
|
|
|
|
regerror SIGFE
|
|
|
|
regexec SIGFE
|
|
|
|
regfree SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
remainder NOSIGFE
|
|
|
|
_remainder = remainder NOSIGFE
|
|
|
|
remainderf NOSIGFE
|
|
|
|
_remainderf = remainderf NOSIGFE
|
|
|
|
remove SIGFE
|
|
|
|
_remove = remove SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
removexattr SIGFE
|
2007-06-12 23:24:46 +08:00
|
|
|
remque NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
remquo NOSIGFE
|
|
|
|
remquof NOSIGFE
|
|
|
|
rename SIGFE
|
|
|
|
_rename = rename SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
renameat SIGFE
|
2006-12-12 03:59:06 +08:00
|
|
|
res_close = __res_close SIGFE
|
|
|
|
__res_close SIGFE
|
|
|
|
res_init = __res_init SIGFE
|
|
|
|
__res_init SIGFE
|
|
|
|
res_mkquery = __res_mkquery SIGFE
|
|
|
|
__res_mkquery SIGFE
|
|
|
|
res_nclose = __res_nclose SIGFE
|
|
|
|
__res_nclose SIGFE
|
|
|
|
res_ninit = __res_ninit SIGFE
|
|
|
|
__res_ninit SIGFE
|
|
|
|
res_nmkquery = __res_nmkquery SIGFE
|
|
|
|
__res_nmkquery SIGFE
|
|
|
|
res_nquery = __res_nquery SIGFE
|
|
|
|
__res_nquery SIGFE
|
|
|
|
res_nquerydomain = __res_nquerydomain SIGFE
|
|
|
|
__res_nquerydomain SIGFE
|
|
|
|
res_nsearch = __res_nsearch SIGFE
|
|
|
|
__res_nsearch SIGFE
|
|
|
|
res_nsend = __res_nsend SIGFE
|
|
|
|
__res_nsend SIGFE
|
|
|
|
res_query = __res_query SIGFE
|
|
|
|
__res_query SIGFE
|
|
|
|
res_querydomain = __res_querydomain SIGFE
|
|
|
|
__res_querydomain SIGFE
|
|
|
|
res_search = __res_search SIGFE
|
|
|
|
__res_search SIGFE
|
|
|
|
res_send = __res_send SIGFE
|
|
|
|
__res_send SIGFE
|
|
|
|
__res_state SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
revoke SIGFE
|
|
|
|
rewind SIGFE
|
|
|
|
_rewind = rewind SIGFE
|
|
|
|
rewinddir SIGFE
|
|
|
|
_rewinddir = rewinddir SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
rexec = cygwin_rexec SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
rindex NOSIGFE
|
|
|
|
_rindex = rindex NOSIGFE
|
* cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
_f_lrintl, _f_rint, _f_rintf, _f_rintl): Export fast *rint* functions.
(lrint, lrintf, rint, rintf): Redirect exports to alias _f_ versions.
(llrint, llrintf, llrintl, lrintl, rintl): Add exports aliasing _f_*
versions likewise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2007-12-31 05:12:08 +08:00
|
|
|
rint = _f_rint NOSIGFE
|
|
|
|
rintf = _f_rintf NOSIGFE
|
|
|
|
rintl = _f_rintl NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
rmdir SIGFE
|
|
|
|
_rmdir = rmdir SIGFE
|
|
|
|
round NOSIGFE
|
|
|
|
roundf NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
rresvport = cygwin_rresvport SIGFE
|
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h: Bump DLL version to 1.7.0.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* select.h: Remove.
* fhandler_socket.cc: Don't include select.h.
* select.cc: Ditto.
2006-07-25 Corinna Vinschen <corinna@vinschen.de>
* cygtls.h: Drop socket related includes.
(struct _local_storage): Remove exitsock and exitsock_sin. Add
select_sockevt.
* cygtls.cc: Accomodate above change throughout.
* fhandler.h (class fhandler_socket): Make wsock_evt public.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate
reordering members.
(fhandler_socket::evaluate_events): Drop FD_CONNECT event as soon as
it gets read once. Never remove FD_WRITE event here.
(fhandler_socket::wait_for_events): Wait 50 ms instead of INFINITE for
socket events.
(fhandler_socket::accept): Fix conditional. Set wsock_events members
of accepted socket to useful start values.
(fhandler_socket::recv_internal): Always drop FD_READ/FD_OOB events from
wsock_events after the call to WSARecvFrom.
(fhandler_socket::send_internal): Drop FD_WRITE event from wsock_events
if the call to WSASendTo fails with WSAEWOULDBLOCK. Fix return value
condition.
* select.cc (struct socketinf): Change to accomodate using socket event
handling.
(peek_socket): Use event handling for peeking socket.
(thread_socket): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Same here.
* tlsoffsets.h: Regenerate.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Rearrange slightly to keep
event handling methods and members together. Drop owner status flag.
Split wait method. Rename event handling methods for readability.
* fhandler_socket.cc (struct wsa_event): Add owner field.
(LOCK_EVENTS): New macro.
(UNLOCK_EVENTS): Ditto.
(fhandler_socket::init_events): rename from prepare.
(fhandler_socket::evaluate_events): First half of former wait method.
Do everything but wait. Allow specifiying whether or not events from
event_mask should be erased from wsock_events->events. Simplify
OOB handling. Allow sending SIGURG to any process (group).
(fhandler_socket::wait_for_events): Second half of former wait method.
Call evaluate_events and wait in a loop if socket is blocking.
(fhandler_socket::release_events): Rename from release.
(fhandler_socket::connect): Accomodate above name changes.
(fhandler_socket::accept): Ditto.
(fhandler_socket::recv_internal): Ditto.
(fhandler_socket::send_internal): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::fcntl): Always set owner to given input value on
F_SETOWN. Handle F_GETOWN.
* net.cc (fdsock): Accomodate above name changes.
2006-07-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Set Winsock errno to
WSAEWOULDBLOCK instead of WSAEINPROGRESS.
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
* winsup.h (mmap_region_status): New enum.
(mmap_is_attached_or_noreserve_page): Adjust prototype and rename
as below.
* mmap.cc (mmap_is_attached_or_noreserve_page): Rename
mmap_is_attached_or_noreserve. Add region length parameter.
Return enum above.
* exceptions.cc (_cygtls::handle_exceptions): Accomodate above.
* fhandler.cc (fhandler_base::raw_read): Call above for NOACCESS
errors and retry on success to allow reads into untouched
MAP_NORESERVE buffers.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (posix_openpt): Export.
* tty.cc (posix_openpt): New function.
* include/cygwin/stdlib.h (posix_openpt): Declare.
* include/cygwin/version.h: Bump API minor number.
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_token_group_sidlist): Always add the interactive
group to the token. Add comment. Create logon_id group SID by
copying it from incoming group list.
(create_token): Add subauth_token parameter. Use information in
subauth_token if present. Tweak SourceIdentifier if subauth_token
is present for debugging purposes.
* security.h (create_token): Add subauth_token parameter in declaration.
* syscalls.cc (seteuid32): Call subauth first. Call create_token
regardless. Use subauth token in call to create_token if subauth
succeeded.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/in.h: Update copyright.
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Rework function so that
WaitForMultipleObjects is really only called when necessary.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* include/netdb.h: Declare rcmd, rcmd_af, rexec, rresvport,
rresvport_af, iruserok, iruserok_sa, ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Drop iruserok.o. Add rcmd.o.
* autoload.cc (rcmd): Drop definition.
* cygwin.din: Export bindresvport, bindresvport_sa, iruserok_sa,
rcmd_af, rresvport_af.
* net.cc (cygwin_rcmd): Remove.
(last_used_bindresvport): Rename from last_used_rrecvport.
(cygwin_bindresvport_sa): New function implementing bindresvport_sa.
(cygwin_bindresvport): New function implementing bindresvport.
(cygwin_rresvport): Remove.
* include/cygwin/version.h: Bump API minor number.
* include/netinet/in.h: Declare bindresvport and bindresvport_sa.
* libc/iruserok.c: Remove file.
* libc/rcmd.cc: New file implementing rcmd, rcmd_af, rresvport,
rresvport_af, iruserok_sa, iruserok and ruserok.
2006-07-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::getsockname): Return valid
result for unbound sockets.
2006-07-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
2006-07-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Add wsock_mtx, wsock_evt
and wsock_events members. Remove closed status flag, add listener
status flag. Accomodate new implementation of socket event handling
methods. Declare recv* and send* functions ssize_t as the POSIX
equivalents.
(fhandler_socket::recv_internal): Declare.
(fhandler_socket::send_internal): Ditto.
* fhandler_socket.cc (EVENT_MASK): Define mask of selected events.
(fhandler_socket::fhandler_socket): Initialize new members.
(fhandler_socket::af_local_setblocking): Don't actually set the
socket to blocking mode. Keep sane event selection.
(fhandler_socket::af_local_unsetblocking): Don't actually set the
socket to previous blocking setting, just remember it.
(struct wsa_event): New structure to keep event data per shared
socket.
(NUM_SOCKS): Define number of shared sockets concurrently handled by
all active Cygwin processes.
(wsa_events): New shared datastructure keeping all wsa_event records.
(socket_serial_number): New shared variable to identify shared sockets.
(wsa_slot_mtx): Global mutex to serialize wsa_events access.
(search_wsa_event_slot): New static function to select a new wsa_event
slot for a new socket.
(fhandler_socket::prepare): Rewrite. Prepare event selection
per new socket.
(fhandler_socket::wait): Rewrite. Wait for socket events in thread
safe and multiple process safe.
(fhandler_socket::release): Rewrite. Close per-socket descriptor
mutex handle and event handle.
(fhandler_socket::dup): Duplicate wsock_mtx and wsock_evt. Fix
copy-paste error in debug output.
(fhandler_socket::connect): Accomodate new event handling.
(fhandler_socket::listen): Set listener flag on successful listen.
(fhandler_socket::accept): Accomodate new event handling.
(fhandler_socket::recv_internal): New inline method centralizing
common recv code.
(fhandler_socket::recvfrom): Call recv_internal now.
(fhandler_socket::recvmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::send_internal): New inline method centralizing
common send code.
(fhandler_socket::sendto): Call send_internal now.
(fhandler_socket::sendmsg): Ditto. Streamline copying from iovec
to WSABUF.
(fhandler_socket::close): Call release now.
(fhandler_socket::ioctl): Never actually switch to blocking mode.
Just keep track of the setting.
* net.cc (fdsock): Call prepare now.
(cygwin_connect): Revert again to event driven technique.
(cygwin_accept): Ditto.
* poll.cc (poll): Don't call recvfrom on a listening socket.
Remove special case for failing recvfrom.
* include/sys/socket.h: Declare recv* and send* functions ssize_t as
requested by POSIX.
2006-07-07 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/in6.h (struct in6_addr): Fix typo.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export in6addr_any, in6addr_loopback, freeaddrinfo,
gai_strerror, getaddrinfo, getnameinfo.
* fhandler_socket.cc: Include cygwin/in6.h.
(get_inet_addr): Accomodate AF_INET6 usage.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::sendto): Ditto.
* net.cc: Include cygwin/in6.h.
(in6addr_any): Define.
(in6addr_loopback): Define.
(cygwin_socket): Accomodate AF_INET6 usage.
(socketpair): Bind socketpairs only to loopback for security.
(inet_pton4): New static function.
(inet_pton6): Ditto.
(cygwin_inet_pton): New AF_INET6 aware inet_pton implementation.
(inet_ntop4): New static function.
(inet_ntop6): Ditto.
(cygwin_inet_ntop): New AF_INET6 aware inet_ntop implementation.
(ga_aistruct): New static function.
(ga_clone): Ditto.
(ga_echeck): Ditto.
(ga_nsearch): Ditto.
(ga_port): Ditto.
(ga_serv): Ditto.
(ga_unix): Ditto.
(gn_ipv46): Ditto.
(ipv4_freeaddrinfo): Ditto.
(ipv4_getaddrinfo): Ditto.
(ipv4_getnameinfo): Ditto.
(gai_errmap_t): New structure holding error code - error string mapping.
(cygwin_gai_strerror): New function implementing gai_strerror.
(w32_to_gai_err): New static function.
(get_ipv6_funcs): Ditto.
(load_ipv6_funcs): Ditto.
(cygwin_freeaddrinfo): New function implementing freeaddrinfo.
(cygwin_getaddrinfo): New function implementing getaddrinfo.
(cygwin_getnameinfo): New function implementing getnameinfo.
* include/netdb.h: Include stdint.h and cygwin/socket.h. Define
data types and macros used by getaddrinfo and friends. Declare
freeaddrinfo, gai_strerror, getaddrinfo and getnameinfo.
* include/cygwin/in.h: Add IPv6 related IPPROTOs. Remove definition
of struct sockaddr_in6. Include cygwin/in6.h instead.
* include/cygwin/in6.h: New header file defining IPv6 releated
data types and macros.
* include/cygwin/socket.h: Enable AF_INET6 and PF_INET6. Add
IPv6 related socket options.
* include/cygwin/version.h: Bump API minor number.
2006-07-06 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (DsGetDcNameA): Define.
(NetGetAnyDCName): Define.
* security.cc: Include dsgetdc.h.
(DsGetDcNameA): Declare.
(DS_FORCE_REDISCOVERY): Define.
(get_logon_server): Add bool parameter to control rediscovery of DC.
Use DsGetDcNameA function if supported, NetGetDCName/NetGetAnyDCName
otherwise.
(get_server_groups): Rediscover DC if get_user_groups fails and
try again.
(get_reg_security): Use correct error code macro when testing
RegGetKeySecurity return value.
* security.h (get_logon_server): Remove default vaue from wserver
parameter. Add rediscovery parameter.
* uinfo.cc (cygheap_user::env_logsrv): Accomodate rediscovery parameter
in call to get_logon_server.
2006-07-26 03:23:23 +08:00
|
|
|
rresvport_af = cygwin_rresvport_af SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
ruserok SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sbrk SIGFE
|
|
|
|
_sbrk = sbrk SIGFE
|
|
|
|
scalb NOSIGFE
|
|
|
|
_scalb = scalb NOSIGFE
|
|
|
|
scalbf NOSIGFE
|
|
|
|
_scalbf = scalbf NOSIGFE
|
|
|
|
scalbln NOSIGFE
|
|
|
|
scalblnf NOSIGFE
|
|
|
|
scalbn NOSIGFE
|
|
|
|
_scalbn = scalbn NOSIGFE
|
|
|
|
scalbnf NOSIGFE
|
|
|
|
_scalbnf = scalbnf NOSIGFE
|
|
|
|
scandir SIGFE
|
|
|
|
_scandir = scandir SIGFE
|
|
|
|
scanf SIGFE
|
|
|
|
_scanf = scanf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
scanf_r = _scanf_r SIGFE
|
|
|
|
_scanf_r SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sched_get_priority_max SIGFE
|
|
|
|
sched_get_priority_min SIGFE
|
|
|
|
sched_getparam SIGFE
|
|
|
|
sched_getscheduler NOSIGFE
|
|
|
|
sched_rr_get_interval SIGFE
|
|
|
|
sched_setparam SIGFE
|
|
|
|
sched_setscheduler SIGFE
|
|
|
|
sched_yield SIGFE
|
|
|
|
seed48 NOSIGFE
|
|
|
|
_seed48 = seed48 NOSIGFE
|
|
|
|
seekdir SIGFE
|
|
|
|
_seekdir = seekdir SIGFE
|
|
|
|
_seekdir64 = seekdir64 SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
select = cygwin_select SIGFE
|
|
|
|
_select = cygwin_select SIGFE
|
2003-11-29 05:39:08 +08:00
|
|
|
sem_close SIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
sem_destroy SIGFE
|
2003-11-29 05:39:08 +08:00
|
|
|
sem_getvalue SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sem_init SIGFE
|
2003-11-29 05:39:08 +08:00
|
|
|
sem_open SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sem_post SIGFE
|
2003-11-29 05:39:08 +08:00
|
|
|
sem_timedwait SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sem_trywait SIGFE
|
2007-02-20 23:48:04 +08:00
|
|
|
sem_unlink SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sem_wait SIGFE
|
2003-11-29 05:39:08 +08:00
|
|
|
semctl SIGFE
|
|
|
|
semget SIGFE
|
|
|
|
semop SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
send = cygwin_send SIGFE
|
|
|
|
sendmsg = cygwin_sendmsg SIGFE
|
|
|
|
sendto = cygwin_sendto SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
setbuf SIGFE
|
|
|
|
_setbuf = setbuf SIGFE
|
|
|
|
setbuffer SIGFE
|
|
|
|
setdtablesize SIGFE
|
|
|
|
_setdtablesize = setdtablesize SIGFE
|
|
|
|
setegid SIGFE
|
|
|
|
_setegid = setegid SIGFE
|
|
|
|
_setegid32 = setegid32 SIGFE
|
|
|
|
setenv SIGFE
|
|
|
|
_setenv = setenv SIGFE
|
|
|
|
seteuid SIGFE
|
|
|
|
_seteuid = seteuid SIGFE
|
|
|
|
_seteuid32 = seteuid32 SIGFE
|
|
|
|
setgid SIGFE
|
|
|
|
_setgid = setgid SIGFE
|
|
|
|
_setgid32 = setgid32 SIGFE
|
|
|
|
setgrent NOSIGFE
|
|
|
|
_setgrent = setgrent NOSIGFE
|
|
|
|
setgroups SIGFE
|
|
|
|
_setgroups = setgroups SIGFE
|
|
|
|
_setgroups32 = setgroups32 SIGFE
|
|
|
|
sethostent NOSIGFE
|
|
|
|
setitimer SIGFE
|
|
|
|
setjmp NOSIGFE
|
|
|
|
_setjmp = setjmp NOSIGFE
|
|
|
|
setlinebuf SIGFE
|
|
|
|
setlocale NOSIGFE
|
|
|
|
_setlocale = setlocale NOSIGFE
|
|
|
|
setlogmask NOSIGFE
|
|
|
|
setmntent SIGFE
|
|
|
|
_setmntent = setmntent SIGFE
|
2005-06-10 06:33:57 +08:00
|
|
|
setmode = cygwin_setmode SIGFE
|
|
|
|
_setmode = cygwin_setmode SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
setpassent NOSIGFE
|
|
|
|
_setpassent = setpassent NOSIGFE
|
|
|
|
setpgid SIGFE
|
|
|
|
_setpgid = setpgid SIGFE
|
|
|
|
setpgrp SIGFE
|
|
|
|
_setpgrp = setpgrp SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
setpriority SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
setprogname NOSIGFE
|
|
|
|
setprotoent = cygwin_setprotoent SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
setpwent NOSIGFE
|
|
|
|
_setpwent = setpwent NOSIGFE
|
|
|
|
setregid SIGFE
|
|
|
|
_setregid = setregid SIGFE
|
|
|
|
setregid32 SIGFE
|
|
|
|
_setregid32 = setregid32 SIGFE
|
|
|
|
setreuid SIGFE
|
|
|
|
_setreuid = setreuid SIGFE
|
|
|
|
setreuid32 SIGFE
|
|
|
|
_setreuid32 = setreuid32 SIGFE
|
|
|
|
setrlimit SIGFE
|
|
|
|
_setrlimit = setrlimit SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
setservent = cygwin_setservent SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
setsid SIGFE
|
|
|
|
_setsid = setsid SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
setsockopt = cygwin_setsockopt SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
setstate NOSIGFE
|
|
|
|
settimeofday SIGFE
|
|
|
|
_settimeofday = settimeofday SIGFE
|
|
|
|
setuid SIGFE
|
|
|
|
_setuid = setuid SIGFE
|
|
|
|
_setuid32 = setuid32 SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
setusershell SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
setutent SIGFE
|
|
|
|
_setutent = setutent SIGFE
|
2004-12-16 01:29:01 +08:00
|
|
|
setutxent SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
setvbuf SIGFE
|
|
|
|
_setvbuf = setvbuf SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
setxattr SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sexecl = sexecve_is_bad SIGFE
|
|
|
|
sexecle = sexecve_is_bad SIGFE
|
|
|
|
sexeclp = sexecve_is_bad SIGFE
|
|
|
|
sexeclpe = sexecve_is_bad SIGFE
|
|
|
|
sexecp = sexecve_is_bad SIGFE
|
|
|
|
sexecv = sexecve_is_bad SIGFE
|
|
|
|
sexecve = sexecve_is_bad SIGFE
|
|
|
|
sexecvpe = sexecve_is_bad SIGFE
|
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
2008-02-10 23:43:04 +08:00
|
|
|
shm_open SIGFE
|
|
|
|
shm_unlink SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
shmat SIGFE
|
|
|
|
shmctl SIGFE
|
|
|
|
shmdt SIGFE
|
|
|
|
shmget SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
shutdown = cygwin_shutdown SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sigaction SIGFE
|
|
|
|
sigaddset SIGFE
|
|
|
|
sigdelset SIGFE
|
|
|
|
sigemptyset NOSIGFE
|
|
|
|
sigfillset NOSIGFE
|
2004-02-26 13:10:49 +08:00
|
|
|
sighold SIGFE
|
2006-02-17 02:21:49 +08:00
|
|
|
sigignore SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
siginterrupt SIGFE
|
|
|
|
sigismember SIGFE
|
|
|
|
signal SIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__signbitd NOSIGFE
|
|
|
|
__signbitf NOSIGFE
|
|
|
|
__signgam NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
significand NOSIGFE
|
|
|
|
significandf NOSIGFE
|
|
|
|
sigpause SIGFE
|
|
|
|
sigpending SIGFE
|
|
|
|
sigprocmask SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
sigqueue SIGFE
|
2005-04-15 01:34:03 +08:00
|
|
|
sigrelse SIGFE
|
2006-02-17 02:21:49 +08:00
|
|
|
sigset SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sigsuspend SIGFE
|
|
|
|
sigwait SIGFE
|
2004-01-19 13:46:54 +08:00
|
|
|
sigwaitinfo SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sin NOSIGFE
|
|
|
|
_sin = sin NOSIGFE
|
|
|
|
sincos NOSIGFE
|
|
|
|
sincosf NOSIGFE
|
|
|
|
sinf NOSIGFE
|
|
|
|
_sinf = sinf NOSIGFE
|
|
|
|
sinh NOSIGFE
|
|
|
|
_sinh = sinh NOSIGFE
|
|
|
|
sinhf NOSIGFE
|
|
|
|
_sinhf = sinhf NOSIGFE
|
|
|
|
siprintf SIGFE
|
|
|
|
_siprintf = siprintf SIGFE
|
|
|
|
sleep SIGFE
|
|
|
|
_sleep = sleep SIGFE
|
|
|
|
snprintf SIGFE
|
|
|
|
_snprintf = snprintf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
socket = cygwin_socket SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
socketpair SIGFE
|
|
|
|
spawnl SIGFE
|
|
|
|
_spawnl = spawnl SIGFE
|
|
|
|
spawnle SIGFE
|
|
|
|
_spawnle = spawnle SIGFE
|
|
|
|
spawnlp SIGFE
|
|
|
|
_spawnlp = spawnlp SIGFE
|
|
|
|
spawnlpe SIGFE
|
|
|
|
_spawnlpe = spawnlpe SIGFE
|
|
|
|
spawnv SIGFE
|
|
|
|
_spawnv = spawnv SIGFE
|
|
|
|
spawnve SIGFE
|
|
|
|
_spawnve = spawnve SIGFE
|
|
|
|
spawnvp SIGFE
|
|
|
|
_spawnvp = spawnvp SIGFE
|
|
|
|
spawnvpe SIGFE
|
|
|
|
_spawnvpe = spawnvpe SIGFE
|
|
|
|
sprintf SIGFE
|
|
|
|
_sprintf = sprintf SIGFE
|
|
|
|
sqrt NOSIGFE
|
|
|
|
_sqrt = sqrt NOSIGFE
|
|
|
|
sqrtf NOSIGFE
|
|
|
|
_sqrtf = sqrtf NOSIGFE
|
|
|
|
srand NOSIGFE
|
|
|
|
_srand = srand NOSIGFE
|
|
|
|
srand48 NOSIGFE
|
|
|
|
_srand48 = srand48 NOSIGFE
|
|
|
|
srandom NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__srget SIGFE
|
|
|
|
__srget_r SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sscanf SIGFE
|
|
|
|
_sscanf = sscanf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
sscanf_r = _sscanf_r SIGFE
|
|
|
|
_sscanf_r SIGFE
|
|
|
|
stat SIGFE
|
|
|
|
_stat = stat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
_stat64 = stat64 SIGFE
|
|
|
|
statfs SIGFE
|
|
|
|
_statfs = statfs SIGFE
|
2005-02-23 21:12:43 +08:00
|
|
|
statvfs SIGFE
|
2007-06-29 01:55:01 +08:00
|
|
|
stpcpy NOSIGFE
|
|
|
|
stpncpy NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
strcasecmp NOSIGFE
|
|
|
|
_strcasecmp = strcasecmp NOSIGFE
|
2007-06-21 15:22:16 +08:00
|
|
|
strcasestr NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
strcat NOSIGFE
|
|
|
|
_strcat = strcat NOSIGFE
|
|
|
|
strchr NOSIGFE
|
|
|
|
_strchr = strchr NOSIGFE
|
|
|
|
strcmp NOSIGFE
|
|
|
|
_strcmp = strcmp NOSIGFE
|
|
|
|
strcoll NOSIGFE
|
|
|
|
_strcoll = strcoll NOSIGFE
|
|
|
|
strcpy NOSIGFE
|
|
|
|
_strcpy = strcpy NOSIGFE
|
|
|
|
strcspn NOSIGFE
|
|
|
|
_strcspn = strcspn NOSIGFE
|
|
|
|
strdup SIGFE
|
|
|
|
_strdup = strdup SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
strerror SIGFE
|
|
|
|
_strerror = strerror SIGFE
|
|
|
|
strerror_r SIGFE
|
|
|
|
_strerror_r = strerror_r SIGFE
|
2010-01-23 06:31:31 +08:00
|
|
|
strfmon SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
strftime SIGFE
|
|
|
|
_strftime = strftime SIGFE
|
|
|
|
strlcat NOSIGFE
|
|
|
|
_strlcat = strlcat NOSIGFE
|
|
|
|
strlcpy NOSIGFE
|
|
|
|
_strlcpy = strlcpy NOSIGFE
|
|
|
|
strlen NOSIGFE
|
|
|
|
_strlen = strlen NOSIGFE
|
|
|
|
strlwr NOSIGFE
|
|
|
|
_strlwr = strlwr NOSIGFE
|
|
|
|
strncasecmp NOSIGFE
|
|
|
|
_strncasecmp = strncasecmp NOSIGFE
|
|
|
|
strncat NOSIGFE
|
|
|
|
_strncat = strncat NOSIGFE
|
|
|
|
strncmp NOSIGFE
|
|
|
|
_strncmp = strncmp NOSIGFE
|
|
|
|
strncpy NOSIGFE
|
|
|
|
_strncpy = strncpy NOSIGFE
|
|
|
|
strndup SIGFE
|
|
|
|
strnlen NOSIGFE
|
|
|
|
strpbrk NOSIGFE
|
|
|
|
_strpbrk = strpbrk NOSIGFE
|
|
|
|
strptime SIGFE
|
|
|
|
_strptime = strptime SIGFE
|
|
|
|
strrchr NOSIGFE
|
|
|
|
_strrchr = strrchr NOSIGFE
|
|
|
|
strsep NOSIGFE
|
|
|
|
_strsep = strsep NOSIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
strsignal SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
strspn NOSIGFE
|
|
|
|
_strspn = strspn NOSIGFE
|
|
|
|
strstr NOSIGFE
|
|
|
|
_strstr = strstr NOSIGFE
|
|
|
|
strtod SIGFE
|
|
|
|
_strtod = strtod SIGFE
|
|
|
|
strtodf = strtof SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_strtodf = strtof SIGFE
|
|
|
|
strtof SIGFE
|
|
|
|
strtoimax = strtoll NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
strtok NOSIGFE
|
|
|
|
_strtok = strtok NOSIGFE
|
|
|
|
strtok_r NOSIGFE
|
|
|
|
_strtok_r = strtok_r NOSIGFE
|
|
|
|
strtol NOSIGFE
|
|
|
|
_strtol = strtol NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
_strtold SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
strtoll NOSIGFE
|
|
|
|
_strtoll = strtoll NOSIGFE
|
2004-02-06 03:57:03 +08:00
|
|
|
strtosigno NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
strtoul NOSIGFE
|
|
|
|
_strtoul = strtoul NOSIGFE
|
|
|
|
strtoull NOSIGFE
|
|
|
|
_strtoull = strtoull NOSIGFE
|
2005-06-10 20:11:35 +08:00
|
|
|
strtoumax = strtoull NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
strupr NOSIGFE
|
|
|
|
_strupr = strupr NOSIGFE
|
|
|
|
strxfrm NOSIGFE
|
|
|
|
_strxfrm = strxfrm NOSIGFE
|
|
|
|
swab NOSIGFE
|
|
|
|
_swab = swab NOSIGFE
|
2006-07-06 00:06:50 +08:00
|
|
|
__swbuf SIGFE
|
|
|
|
__swbuf_r SIGFE
|
2009-03-06 18:09:55 +08:00
|
|
|
swprintf SIGFE
|
2009-03-11 20:03:44 +08:00
|
|
|
swscanf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
symlink SIGFE
|
|
|
|
_symlink = symlink SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
symlinkat SIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
sync SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
sysconf SIGFE
|
|
|
|
_sysconf = sysconf SIGFE
|
|
|
|
syslog SIGFE
|
|
|
|
_syslog = syslog SIGFE
|
|
|
|
system SIGFE
|
|
|
|
_system = system SIGFE
|
|
|
|
tan NOSIGFE
|
|
|
|
_tan = tan NOSIGFE
|
|
|
|
tanf NOSIGFE
|
|
|
|
_tanf = tanf NOSIGFE
|
|
|
|
tanh NOSIGFE
|
|
|
|
_tanh = tanh NOSIGFE
|
|
|
|
tanhf NOSIGFE
|
|
|
|
_tanhf = tanhf NOSIGFE
|
|
|
|
tcdrain SIGFE
|
|
|
|
_tcdrain = tcdrain SIGFE
|
|
|
|
tcflow SIGFE
|
|
|
|
_tcflow = tcflow SIGFE
|
|
|
|
tcflush SIGFE
|
|
|
|
_tcflush = tcflush SIGFE
|
|
|
|
tcgetattr SIGFE
|
|
|
|
_tcgetattr = tcgetattr SIGFE
|
|
|
|
tcgetpgrp SIGFE
|
|
|
|
_tcgetpgrp = tcgetpgrp SIGFE
|
|
|
|
tcsendbreak SIGFE
|
|
|
|
_tcsendbreak = tcsendbreak SIGFE
|
|
|
|
tcsetattr SIGFE
|
|
|
|
_tcsetattr = tcsetattr SIGFE
|
|
|
|
tcsetpgrp SIGFE
|
|
|
|
_tcsetpgrp = tcsetpgrp SIGFE
|
|
|
|
tdelete SIGFE
|
|
|
|
tdestroy NOSIGFE
|
|
|
|
telldir SIGFE
|
|
|
|
_telldir = telldir SIGFE
|
|
|
|
_telldir64 = telldir64 SIGFE
|
|
|
|
tempnam SIGFE
|
|
|
|
_tempnam = tempnam SIGFE
|
|
|
|
tfind NOSIGFE
|
|
|
|
tgamma NOSIGFE
|
|
|
|
tgammaf NOSIGFE
|
|
|
|
time SIGFE
|
|
|
|
_time = time SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
timegm NOSIGFE
|
|
|
|
timelocal SIGFE
|
2004-01-19 13:46:54 +08:00
|
|
|
timer_create SIGFE
|
|
|
|
timer_delete SIGFE
|
* wininfo.h (wininfo::timer_active): Delete.
(wininfo::itv): Ditto.
(wininfo::start_time): Ditto.
(wininfo::window_started): Ditto.
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(wininfo::wininfo): Ditto.
(wininfo::lock): New method.
(wininfo::release): Ditto.
* window.cc: Use new lock/acquire wininfo methods throughout.
(wininfo::wininfo): Delete
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(getitimer): Ditto.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
(wininfo::lock): Define new function.
(wininfo::release): Ditto.
(wininfo::process): Delete WM_TIMER handling.
* timer.cc (struct timetracker): Delete it, flags. Add it_interval,
interval_us, sleepto_us, running, init_muto(), syncthread, and gettime().
(ttstart): Make NO_COPY.
(lock_timer_tracker): New class.
(timer_tracker::timer_tracker): Distinguish ttstart case.
(timer_tracker::~timer_tracker): New destructor. Clean out events, and reset
magic.
(timer_tracker::init_muto): New method.
(to_us): Round up as per POSIX.
(timer_thread): Reorganize to match timer_tracker::settime and
timer_tracker::gettime. Call sig_send without wait. Call auto_release.
(timer_tracker::settime): Reorganize logic to avoid race. Call gettime to
recover old value.
(timer_tracker::gettime): New method.
(timer_create): Properly set errno on invalid timerid. Use new
lock_timer_tracker method.
(timer_delete): Ditto. Simplify code slightly.
(timer_gettime): New function.
(fixup_timers_after_fork): Reinit ttstart.
(getitimer): New implementation.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
* cygwin.din: Export timer_gettime.
* winsup.h: Remove has has_visible_window_station declaration.
* Makefile.in (DLL_OFILES): Add lsearch.o.
* cygthread.h (cygthread::notify_detached): New element.
(cygthread::cygthread): Take optional fourth argument signifying event to
signal on thread completion.
* cygthread.cc (cygthread::stub): Signal notify_detached event, if it exists.
(cygthread::cygthread): Initialize notify_detached from fourth argument.
(cygthread::detach): Wait for notify_detached field is present.
* lsearch.cc: New file.
* search.h: Ditto.
* include/cygwin/version.h: Bump API minor number to 126.
* cygwin.din: Export lsearch, lfind.
2005-03-27 09:57:38 +08:00
|
|
|
timer_gettime SIGFE
|
2004-01-19 13:46:54 +08:00
|
|
|
timer_settime SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
times SIGFE
|
|
|
|
_times = times SIGFE
|
|
|
|
timezone SIGFE
|
|
|
|
tmpfile SIGFE
|
|
|
|
_tmpfile = tmpfile SIGFE
|
|
|
|
_tmpfile64 = tmpfile64 SIGFE
|
|
|
|
tmpnam SIGFE
|
|
|
|
_tmpnam = tmpnam SIGFE
|
|
|
|
toascii NOSIGFE
|
|
|
|
_toascii = toascii NOSIGFE
|
|
|
|
tolower NOSIGFE
|
|
|
|
_tolower = tolower NOSIGFE
|
|
|
|
toupper NOSIGFE
|
|
|
|
_toupper = toupper NOSIGFE
|
|
|
|
towctrans NOSIGFE
|
|
|
|
towlower NOSIGFE
|
|
|
|
towupper NOSIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
trunc NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
truncate SIGFE
|
|
|
|
_truncate = truncate SIGFE
|
|
|
|
_truncate64 = truncate64 SIGFE
|
|
|
|
truncf NOSIGFE
|
|
|
|
tsearch SIGFE
|
|
|
|
ttyname SIGFE
|
|
|
|
_ttyname = ttyname SIGFE
|
2004-04-14 17:12:04 +08:00
|
|
|
ttyname_r SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
ttyslot NOSIGFE
|
|
|
|
twalk NOSIGFE
|
|
|
|
tzset SIGFE
|
|
|
|
_tzset = tzset SIGFE
|
|
|
|
ualarm SIGFE
|
|
|
|
_ualarm = ualarm SIGFE
|
|
|
|
umask NOSIGFE
|
|
|
|
_umask = umask NOSIGFE
|
|
|
|
umount SIGFE
|
|
|
|
_umount = umount SIGFE
|
|
|
|
uname SIGFE
|
|
|
|
_uname = uname SIGFE
|
|
|
|
ungetc SIGFE
|
|
|
|
_ungetc = ungetc SIGFE
|
2008-12-15 20:40:29 +08:00
|
|
|
ungetwc SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
unlink SIGFE
|
|
|
|
_unlink = unlink SIGFE
|
2008-04-23 19:13:52 +08:00
|
|
|
unlinkat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
unlockpt NOSIGFE
|
2006-03-02 05:31:24 +08:00
|
|
|
unsetenv SIGFE
|
|
|
|
_unsetenv = unsetenv SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
updwtmp SIGFE
|
|
|
|
updwtmpx SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
usleep SIGFE
|
|
|
|
_usleep = usleep SIGFE
|
|
|
|
utime SIGFE
|
|
|
|
_utime = utime SIGFE
|
2008-04-24 17:59:54 +08:00
|
|
|
utimensat SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
utimes SIGFE
|
|
|
|
_utimes = utimes SIGFE
|
|
|
|
utmpname SIGFE
|
|
|
|
_utmpname = utmpname SIGFE
|
2005-03-04 06:08:12 +08:00
|
|
|
utmpxname SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
valloc SIGFE
|
2007-05-15 09:23:30 +08:00
|
|
|
vasnprintf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
vasprintf SIGFE
|
|
|
|
_vasprintf = vasprintf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
vasprintf_r = _vasprintf_r SIGFE
|
|
|
|
_vasprintf_r SIGFE
|
2007-05-15 09:23:30 +08:00
|
|
|
vdprintf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
verr SIGFE
|
|
|
|
verrx SIGFE
|
|
|
|
vfiprintf SIGFE
|
|
|
|
_vfiprintf = vfiprintf SIGFE
|
|
|
|
vfork SIGFE
|
|
|
|
_vfork = vfork SIGFE
|
|
|
|
vfprintf SIGFE
|
|
|
|
_vfprintf = vfprintf SIGFE
|
|
|
|
vfscanf SIGFE
|
|
|
|
_vfscanf = vfscanf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
vfscanf_r = _vfscanf_r SIGFE
|
|
|
|
_vfscanf_r SIGFE
|
2009-03-06 18:09:55 +08:00
|
|
|
vfwprintf SIGFE
|
2009-03-11 20:03:44 +08:00
|
|
|
vfwscanf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
vhangup SIGFE
|
|
|
|
_vhangup = vhangup SIGFE
|
|
|
|
vprintf SIGFE
|
|
|
|
_vprintf = vprintf SIGFE
|
|
|
|
vscanf SIGFE
|
|
|
|
_vscanf = vscanf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
vscanf_r = _vscanf_r SIGFE
|
|
|
|
_vscanf_r SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
vsnprintf SIGFE
|
|
|
|
_vsnprintf = vsnprintf SIGFE
|
|
|
|
vsprintf SIGFE
|
|
|
|
_vsprintf = vsprintf SIGFE
|
|
|
|
vsscanf SIGFE
|
|
|
|
_vsscanf = vsscanf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
vsscanf_r = _vsscanf_r SIGFE
|
|
|
|
_vsscanf_r SIGFE
|
2009-03-06 18:09:55 +08:00
|
|
|
vswprintf SIGFE
|
2009-03-11 20:03:44 +08:00
|
|
|
vswscanf SIGFE
|
2006-07-05 23:59:39 +08:00
|
|
|
vsyslog SIGFE
|
|
|
|
vwarn SIGFE
|
|
|
|
vwarnx SIGFE
|
2009-03-06 18:09:55 +08:00
|
|
|
vwprintf SIGFE
|
2009-03-11 20:03:44 +08:00
|
|
|
vwscanf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wait SIGFE
|
|
|
|
_wait = wait SIGFE
|
|
|
|
wait3 SIGFE
|
|
|
|
wait4 SIGFE
|
|
|
|
waitpid SIGFE
|
|
|
|
_waitpid = waitpid SIGFE
|
|
|
|
warn SIGFE
|
|
|
|
warnx SIGFE
|
2007-12-20 01:38:18 +08:00
|
|
|
wcpcpy NOSIGFE
|
|
|
|
wcpncpy NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wcrtomb NOSIGFE
|
2009-03-11 21:00:28 +08:00
|
|
|
wcscasecmp NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wcscat NOSIGFE
|
|
|
|
wcschr NOSIGFE
|
|
|
|
wcscmp NOSIGFE
|
|
|
|
_wcscmp = wcscmp NOSIGFE
|
|
|
|
wcscoll NOSIGFE
|
|
|
|
wcscpy NOSIGFE
|
|
|
|
wcscspn NOSIGFE
|
2009-03-15 21:45:02 +08:00
|
|
|
wcsdup NOSIGFE
|
2009-03-09 21:22:37 +08:00
|
|
|
wcsftime SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wcslcat NOSIGFE
|
|
|
|
wcslcpy NOSIGFE
|
|
|
|
wcslen NOSIGFE
|
|
|
|
_wcslen = wcslen NOSIGFE
|
2009-03-11 21:00:28 +08:00
|
|
|
wcsncasecmp NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wcsncat NOSIGFE
|
|
|
|
wcsncmp NOSIGFE
|
|
|
|
wcsncpy NOSIGFE
|
2009-02-14 02:39:37 +08:00
|
|
|
wcsnlen NOSIGFE
|
2009-02-19 17:22:51 +08:00
|
|
|
wcsnrtombs NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wcspbrk NOSIGFE
|
|
|
|
wcsrchr NOSIGFE
|
|
|
|
wcsrtombs NOSIGFE
|
|
|
|
wcsspn NOSIGFE
|
|
|
|
wcsstr NOSIGFE
|
2009-02-13 16:33:11 +08:00
|
|
|
wcstod NOSIGFE
|
|
|
|
wcstof NOSIGFE
|
2009-02-16 23:36:01 +08:00
|
|
|
wcstoimax = wcstoll NOSIGFE
|
|
|
|
wcstok NOSIGFE
|
2007-07-07 04:05:44 +08:00
|
|
|
wcstol NOSIGFE
|
|
|
|
wcstoll NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wcstombs NOSIGFE
|
|
|
|
_wcstombs = wcstombs NOSIGFE
|
2007-07-07 04:05:44 +08:00
|
|
|
wcstoul NOSIGFE
|
|
|
|
wcstoull NOSIGFE
|
2009-02-16 23:36:01 +08:00
|
|
|
wcstoumax = wcstoull NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wcswidth NOSIGFE
|
2007-07-07 04:05:44 +08:00
|
|
|
wcsxfrm NOSIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
wctob NOSIGFE
|
|
|
|
wctomb NOSIGFE
|
|
|
|
_wctomb = wctomb NOSIGFE
|
|
|
|
wctrans NOSIGFE
|
|
|
|
wctype NOSIGFE
|
|
|
|
wcwidth NOSIGFE
|
|
|
|
wmemchr NOSIGFE
|
|
|
|
wmemcmp NOSIGFE
|
|
|
|
wmemcpy NOSIGFE
|
|
|
|
wmemmove NOSIGFE
|
|
|
|
wmemset NOSIGFE
|
2009-03-23 17:46:38 +08:00
|
|
|
wordexp NOSIGFE
|
|
|
|
wordfree NOSIGFE
|
2009-03-06 18:09:55 +08:00
|
|
|
wprintf SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
write SIGFE
|
|
|
|
_write = write SIGFE
|
|
|
|
writev SIGFE
|
|
|
|
_writev = writev SIGFE
|
2009-03-11 20:03:44 +08:00
|
|
|
wscanf SIGFE
|
2010-03-03 23:05:19 +08:00
|
|
|
xdr_array SIGFE
|
|
|
|
xdr_bool SIGFE
|
|
|
|
xdr_bytes SIGFE
|
|
|
|
xdr_char SIGFE
|
|
|
|
xdr_double SIGFE
|
|
|
|
xdr_enum SIGFE
|
|
|
|
xdr_float SIGFE
|
|
|
|
xdr_free SIGFE
|
|
|
|
xdr_hyper SIGFE
|
|
|
|
xdr_int SIGFE
|
|
|
|
xdr_int16_t SIGFE
|
|
|
|
xdr_int32_t SIGFE
|
|
|
|
xdr_int64_t SIGFE
|
|
|
|
xdr_int8_t SIGFE
|
|
|
|
xdr_long SIGFE
|
|
|
|
xdr_longlong_t SIGFE
|
|
|
|
xdr_netobj SIGFE
|
|
|
|
xdr_opaque SIGFE
|
|
|
|
xdr_pointer SIGFE
|
|
|
|
xdr_reference SIGFE
|
|
|
|
xdr_short SIGFE
|
|
|
|
xdr_sizeof SIGFE
|
|
|
|
xdr_string SIGFE
|
|
|
|
xdr_u_char SIGFE
|
|
|
|
xdr_u_hyper SIGFE
|
|
|
|
xdr_u_int SIGFE
|
|
|
|
xdr_u_int16_t SIGFE
|
|
|
|
xdr_u_int32_t SIGFE
|
|
|
|
xdr_u_int64_t SIGFE
|
|
|
|
xdr_u_int8_t SIGFE
|
|
|
|
xdr_u_long SIGFE
|
|
|
|
xdr_u_longlong_t SIGFE
|
|
|
|
xdr_u_short SIGFE
|
|
|
|
xdr_uint16_t SIGFE
|
|
|
|
xdr_uint32_t SIGFE
|
|
|
|
xdr_uint64_t SIGFE
|
|
|
|
xdr_uint8_t SIGFE
|
|
|
|
xdr_union SIGFE
|
|
|
|
xdr_vector SIGFE
|
|
|
|
xdr_void SIGFE
|
|
|
|
xdr_wrapstring SIGFE
|
|
|
|
xdrmem_create SIGFE
|
|
|
|
xdrrec_create SIGFE
|
|
|
|
xdrrec_endofrecord SIGFE
|
|
|
|
xdrrec_eof SIGFE
|
|
|
|
xdrrec_skiprecord SIGFE
|
2010-03-04 17:37:52 +08:00
|
|
|
__xdrrec_getrec SIGFE
|
|
|
|
__xdrrec_setnonblock SIGFE
|
2010-03-03 23:05:19 +08:00
|
|
|
xdrstdio_create SIGFE
|
2003-11-29 04:55:59 +08:00
|
|
|
y0 NOSIGFE
|
|
|
|
y0f NOSIGFE
|
|
|
|
y1 NOSIGFE
|
|
|
|
y1f NOSIGFE
|
|
|
|
yn NOSIGFE
|
|
|
|
ynf NOSIGFE
|
winsup/ChangeLog:
* Makefile.common (COMPILE_CXX): Add support for per-file overrides
to exclude $(nostdinc) and $(nostdincxx) from compiler flags.
(COMPILE_CC): Likewise for $(nostdinc).
winsup/cygwin/ChangeLog:
* Makefile.in (DLL_OFILES): Add libstdcxx_wrapper.o
(libstdcxx_wrapper_CFLAGS): Add flags for new module.
(_cygwin_crt0_common_STDINCFLAGS): Define per-file override.
(libstdcxx_wrapper_STDINCFLAGS, cxx_STDINCFLAGS): Likewise.
* cxx.cc: Include "cygwin-cxx.h".
(operator new): Tweak prototype for full standards compliance.
(operator new[]): Likewise.
(operator new (nothrow)): New fallback function.
(operator new[] (nothrow), operator delete (nothrow),
operator delete[] (nothrow)): Likewise.
(default_cygwin_cxx_malloc): New struct of pointers to the above,
for final last-resort fallback default.
* cygwin-cxx.h: New file.
(struct per_process_cxx_malloc): Define.
(default_cygwin_cxx_malloc): Declare extern.
* cygwin.din (__wrap__ZdaPv): Export new wrapper.
(__wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv,
__wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj,
__wrap__ZnajRKSt9nothrow_t, __wrap__Znwj,
__wrap__ZnwjRKSt9nothrow_t): Likewise.
* globals.cc (__cygwin_user_data): Init newly-repurposed 'forkee'
field (now 'cxx_malloc') to point to default_cygwin_cxx_malloc.
* libstdcxx_wrapper.cc: New file.
(__wrap__ZdaPv, __wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv,
__wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj,
__wrap__ZnajRKSt9nothrow_t, __wrap__Znwj,
__wrap__ZnwjRKSt9nothrow_t): Define wrapper functions for libstdc++
malloc operators and their overrides.
* winsup.h (default_cygwin_cxx_malloc): Declare extern.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* include/sys/cygwin.h (struct per_process_cxx_malloc): Forward
declare here.
(struct per_process::forkee): Rename and repurpose from this ...
(struct per_process::cxx_malloc): ... to this.
* lib/_cygwin_crt0_common.cc: Include cygwin-cxx.h.
(WEAK): Define shorthand helper macro.
(__cygwin_cxx_malloc): Define and populate with weak references
to whatever libstdc++ malloc operators will be visible at final
link time for Cygwin apps and dlls.
(_cygwin_crt0_common): Always look up cygwin DLL's internal
per_process data, and don't test for (impossible) failure. Inherit
any members of __cygwin_cxx_malloc that we don't have overrides
for from the DLL's default and store the resulting overall set of
overrides back into the DLL's global per_process data.
2009-07-08 04:12:44 +08:00
|
|
|
__wrap__ZdaPv NOSIGFE # void operator delete[](void *p) throw()
|
|
|
|
__wrap__ZdaPvRKSt9nothrow_t NOSIGFE # void operator delete[](void *p, const std::nothrow_t &nt) throw()
|
|
|
|
__wrap__ZdlPv NOSIGFE # void operator delete(void *p) throw()
|
|
|
|
__wrap__ZdlPvRKSt9nothrow_t NOSIGFE # void operator delete(void *p, const std::nothrow_t &nt) throw()
|
|
|
|
__wrap__Znaj NOSIGFE # void *operator new[](std::size_t sz) throw (std::bad_alloc)
|
|
|
|
__wrap__ZnajRKSt9nothrow_t NOSIGFE # void *operator new[](std::size_t sz, const std::nothrow_t &nt) throw()
|
|
|
|
__wrap__Znwj NOSIGFE # void *operator new(std::size_t sz) throw (std::bad_alloc)
|
|
|
|
__wrap__ZnwjRKSt9nothrow_t NOSIGFE # void *operator new(std::size_t sz, const std::nothrow_t &nt) throw()
|