| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
(gethostby_specials): New function.
(gethostby_helper): Change returned addrtype in 4-to-6 case.
(gethostbyname2): Call gethostby_specials.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fhandler_process.cc (process_tab): Fix indentation.
(fhandler_process::exists): Rely on format_process_fd returning file
type in fd_type.
(struct process_fd_t): Add fd_type member.
(fhandler_process::fill_filebuf): Allow format_process_fd to set
this->fd_type member.
(format_process_fd): Fix path evaluation to allow recognizing trailing
path components. Fix check for file descriptor path component. Return
virt_symlink in fd_type if no trailing path compenents exist, return
virt_fsdir otherwise and copy full resulting path into destbuf.
* path.cc (path_conv::check): If /proc/$PID/fd symlink has trailing
path components, reparse resulting path as if it's the incoming path.
Add comment to wail over the outdated and hackish check method, and to
explain what we do here.
|
|
|
|
| |
home, shell and gecos info from NT4 domain.
|
|
|
|
| |
* security.h (get_logon_server): Same in prototype.
|
| |
|
|
|
|
|
| |
* net.cc (sockatmark): New function.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bsd_mutex.cc (_msleep): Fetch signal_arrived handle from thread's
ipcblk.
* process.h (class process): Drop _signal_arrived and align methods.
(process_cache::process): Drop signal_arrived parameter.
* process.cc (process::process): Ditto. Drop related code.
(process::~process): Drop closing signal_arrived handle.
(process_cache::process): Drop signal_arrived parameter in call to
process::process.
(thread::dup_signal_arrived): New method duplicating thread's
signal_arrived handle.
(thread::close_signal_arrived): New method closing thread's
signal_arrived handle.
* msg.cc (client_request_msg::serve): Drop signal_arrived parameter from
call to process_cache::process. Use thread constructor to initialize td.
* sem.cc (client_request_sem::serve): Ditto.
* shm.cc (client_request_shm::serve): Ditto.
|
|
|
|
|
|
| |
(class thread): struct->class. Add prototypes for new private methods
dup_signal_arrived and close_signal_arrived. Implement constructor and
destructor.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* malloc_wrapper.cc (free): In malloc_printf, call caller_return_address
instead of __builtin_return_address.
(malloc): Ditto.
(realloc): Ditto.
(calloc): Ditto.
* miscfuncs.cc (__caller_return_address): New function.
* miscfuncs.h (caller_return_address): New macro calling
__caller_return_address.
(__caller_return_address): Add prototype.
|
| |
|
|
|
|
|
| |
(ntsec-mapping-nsswitch-home): Disable text explaining how the home
directory is fetched from the homeDrive attribute.
|
|
|
|
| |
usri3_home_dir_drive. Add comment.
|
|
|
|
| |
always uppercased Windows variables to latest change.
|
|
|
|
|
| |
environment and all variables being uppercase anyway. But keep
TMP and TEMP for paranoia.
|
|
|
|
|
| |
explicitely skip the variables needing conversion to avoid collisions.
Extend comment to explain.
|
|
|
|
|
|
| |
2014-11-17, always prepending domain to NT SERVICE accounts when
searching by name. Fix test expression to allow fully qualified
names for NT SERVICE accounts. Extend comment to explain a bit.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(cygheap_pwdgrp::get_gecos): Ditto.
* uinfo.cc (fetch_windows_home): Accept cyg_ldap and PUSER_INFO_3
arguments, and fetch db home dir values right here.
(fetch_from_path): Accept cyg_ldap, PUSER_INFO_3 pointers and sid
arguments. Add '%H' format specifier to fetch Windows home dir in
POSIX notation.
(cygheap_pwdgrp::get_home): Accommodate changes to fetch_windows_home
and fetch_from_path.
(cygheap_pwdgrp::get_shell): Ditto.
(cygheap_pwdgrp::get_gecos): Ditto.
(pwdgrp::fetch_account_from_windows): Accommodate sid argument to
cygheap_pwdgrp::get_shell and cygheap_pwdgrp::get_gecos.
|
| |
|
|
|
|
| |
size_t. Add comment to explain why.
|
|
|
|
|
| |
newlib.
(__cygwin_gettzname): Ditto.
|
|
|
|
|
|
| |
tzinfo from zoneinfo files. Add comment to explain what we do.
(tzparse): Add more comments to explain in case of loading timezone
offset from other sources.
|
| |
|
|
|
|
|
|
|
| |
functions and BSD/GNU unlocked stdio extensions.
* posix.xml (std-bsd): Add BSD unlocked stdio extensions.
(std-gnu): Add GNU unlocked stdio extensions.
(std-solaris): Add stdio_ext.h functions.
|
|
|
|
|
|
|
|
|
|
| |
__fsetlocking, __fwritable, __fwriting, clearerr_unlocked,
feof_unlocked, ferror_unlocked, fflush_unlocked, fgetc_unlocked,
fgets_unlocked, fgetwc_unlocked, fgetws_unlocked, fileno_unlocked,
fputc_unlocked, fputs_unlocked, fputwc_unlocked, fputws_unlocked,
fread_unlocked, fwrite_unlocked, getwc_unlocked, getwchar_unlocked,
putwc_unlocked, putwchar_unlocked): Export.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
|
|
|
| |
than to mailing list.
|
|
|
|
|
| |
(find_fast_cwd): Change warning message to urge an update before
reporting the problem.
|
| |
|
|
|
|
| |
* utils.xml (setfacl): Ditto.
|
|
|
|
|
|
|
|
|
|
| |
(delacl): Take new parameter to differe between DeleteAll and DeleteDef.
Extend conditional to handle DefaultDef. Change comment accordingly.
(setfacl): Call delacl in DefaultDef case as well.
(usage): Add and describe -k option. Add -k to require options.
(longopts): Add --remove-default option.
(opts): Add -k option.
(main): Handle -k option.
|
| |
|
| |
|
|
|
|
| |
BLODA list.
|
|
|
|
|
|
| |
(environ_init): Drop undocumented feature to read application-specific
environment variables from the registry.
* include/cygwin/version.h (CYGWIN_INFO_PROGRAM_OPTIONS_NAME): Remove.
|
| |
|
|
|
|
|
| |
* pathnames.xml (pathnames-mount-ex): Remove note about 1.5->1.7
registry mount point updates.
|
| |
|
|
|
|
|
| |
* ntsec.xml: Revamp account mapping documentation to account for the
new db_home, db_shell, db_gecos settings.
|
| |
|
|
|
|
|
|
| |
* posix.xml (std-bsd): Add qsort_r.
(std-gnu): Ditto.
(std-notes): Add section for qsort_r.
|
|
|
|
|
| |
(qsort_r): Add.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
|
|
|
| |
* tzmap.h: Regenerate.
|
|
|
|
|
|
|
| |
* tzmap-from-unicode.org: New script to create tzmap.h.
* tzmap.h: New auto-generated file.
* tzset.c: Drop tzmap from here and include tzmap.h instead. Drop
Windows 2000 considerations.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Explain why.
(lockf_t::create_lock_obj): Use FALSE, rather than 0 for BOOL argument.
(lockf_t::del_lock_obj): Check if NtSetEvent succeeded and print system
message if not.
|