aboutsummaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)AuthorFilesLines
2015-01-21 * sec_auth.cc (get_logon_server): Constify domain parameter.Corinna Vinschen3-4/+9
* security.h (get_logon_server): Same in prototype.
2015-01-20 * posix.xml (std-susv4): Move sockatmark here from std-notimpl.Corinna Vinschen2-1/+5
2015-01-20 * common.din (sockatmark): Export.Corinna Vinschen5-3/+27
* net.cc (sockatmark): New function. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2015-01-20*** empty log message ***Corinna Vinschen1-0/+6
2015-01-19 * bsd_helper.h: Throughout, convert "struct thread" to "class thread".Corinna Vinschen8-48/+66
* 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.
2015-01-19 * cygserver_ipc.h (ipc_retval): Add default constructor.Corinna Vinschen2-2/+23
(class thread): struct->class. Add prototypes for new private methods dup_signal_arrived and close_signal_arrived. Implement constructor and destructor.
2015-01-16 * gendef: Export _sigbe on 64 bit as well.Corinna Vinschen5-9/+44
* 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.
2015-01-14*** empty log message ***Corinna Vinschen1-0/+3
2015-01-14 * ntsec.xml (ntsec-mapping-nsswitch-passwd): Document /path %H wildcard.Corinna Vinschen2-5/+25
(ntsec-mapping-nsswitch-home): Disable text explaining how the home directory is fetched from the homeDrive attribute.
2015-01-14 * uinfo.cc (fetch_windows_home): Disable fetching from homeDrive orCorinna Vinschen2-1/+14
usri3_home_dir_drive. Add comment.
2015-01-14 * cygwinenv.xml (cygwinenv-removed-options): Accommodate list ofCorinna Vinschen2-15/+5
always uppercased Windows variables to latest change.
2015-01-14 * environ.cc (renv_arr): Drop variables not usually in a WindowsCorinna Vinschen2-22/+14
environment and all variables being uppercase anyway. But keep TMP and TEMP for paranoia.
2015-01-14 * environ.cc (build_env): When merging the user's Windows environment,Corinna Vinschen2-3/+25
explicitely skip the variables needing conversion to avoid collisions. Extend comment to explain.
2015-01-13 * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop code fromCorinna Vinschen2-16/+15
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.
2015-01-13copyright fixCorinna Vinschen1-1/+1
2015-01-12 * minires-os-if.c (cygwin_query): Change questions into answers.Corinna Vinschen2-0/+11
2015-01-08 * cygheap.h (cygheap_pwdgrp::get_shell): Add sid to argument list.Corinna Vinschen3-42/+84
(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.
2015-01-08*** empty log message ***Corinna Vinschen1-0/+9
2015-01-08 * include/cygwin/socket.h (struct cmsghdr): Redefine cmsg_len as typeCorinna Vinschen2-2/+10
size_t. Add comment to explain why.
2015-01-08 * localtime.cc (__cygwin_gettzoffset): New function for access fromCorinna Vinschen2-0/+31
newlib. (__cygwin_gettzname): Ditto.
2015-01-07 * localtime.cc (tzload): Fix loading latest timezone offsets intoCorinna Vinschen3-2747/+2769
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.
2014-12-18* ntsec.xml (ntsec-logonuser): Fix spelling of pw_passwd field.Yaakov Selkowitz2-1/+5
2014-12-18* new-features.xml (ov-new1.7.34): Document Solaris stdio_ext.hYaakov Selkowitz3-0/+48
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.
2014-12-18* common.din (__fbufsize, __flbf, __fpending, __freadable, __freading,Yaakov Selkowitz4-1/+56
__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.
2014-12-16 * path.cc (find_fast_cwd): Point to problem reporting web site ratherCorinna Vinschen2-2/+7
than to mailing list.
2014-12-16 * path.cc (warn_msdos): Slightly reformat.Corinna Vinschen2-9/+21
(find_fast_cwd): Change warning message to urge an update before reporting the problem.
2014-12-15*** empty log message ***Corinna Vinschen1-0/+3
2014-12-15 * new-features.xml (ov-new1.7.34): Add setfacl -k option.Corinna Vinschen3-1/+16
* utils.xml (setfacl): Ditto.
2014-12-15 * setfacl.c (action_t): Add DeleteDef value.Corinna Vinschen2-7/+37
(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.
2014-12-10 * winver.rc (LegalCopyright): Fix belatedly (uh-oh).Corinna Vinschen2-1/+5
2014-12-10 * ntsec.xml (ntsec-mapping-samba): Clarify Samba file server setup.Corinna Vinschen2-4/+7
2014-12-10 * faq-using.xml (faq.using.bloda): Add Lenovo RapidBoot Shield toCorinna Vinschen2-0/+6
BLODA list.
2014-12-08 * environ.cc (regopt): Remove function.Corinna Vinschen3-44/+9
(environ_init): Drop undocumented feature to read application-specific environment variables from the registry. * include/cygwin/version.h (CYGWIN_INFO_PROGRAM_OPTIONS_NAME): Remove.
2014-12-08Fix date of latest entryCorinna Vinschen1-1/+1
2014-12-08 * faq-setup.xml (faq.setup.upgrade-mountpoints): Remove.Corinna Vinschen3-38/+8
* pathnames.xml (pathnames-mount-ex): Remove note about 1.5->1.7 registry mount point updates.
2014-12-06 * posix.xml (std-solaris): Point to libtirpc for xdr functions.Corinna Vinschen2-49/+53
2014-12-06 * cygwin.xsl (toc.section.depth): Set to 4.Corinna Vinschen3-392/+907
* ntsec.xml: Revamp account mapping documentation to account for the new db_home, db_shell, db_gecos settings.
2014-12-06 * environ.cc (build_env): Remove loquacious debug statements.Corinna Vinschen2-2/+4
2014-12-05* new-features.xml (ov-new1.7.34): Document qsort_r and __bsd_qsort_r.Yaakov Selkowitz3-0/+16
* posix.xml (std-bsd): Add qsort_r. (std-gnu): Ditto. (std-notes): Add section for qsort_r.
2014-12-05* common.din (__bsd_qsort_r): Add.Yaakov Selkowitz3-1/+10
(qsort_r): Add. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2014-12-05 * tzmap-from-unicode.org: Create tzmap as const.Corinna Vinschen3-2/+7
* tzmap.h: Regenerate.
2014-12-05 * Makefile.in: Add rules to create and depend on tzmap.h.Corinna Vinschen5-489/+627
* 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.
2014-12-03 * new-features.xml (ov-new1.7.34): Add latest changes.Corinna Vinschen2-0/+19
2014-12-03*** empty log message ***Corinna Vinschen1-0/+18
2014-12-02Revert accidental checkinCorinna Vinschen1-1/+0
2014-12-02 * flock.cc (create_lock_in_parent): Make lf_obj handle inheritable.Corinna Vinschen3-2/+19
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.
2014-12-02 * uinfo.cc (fetch_windows_home): New function fetching Windows-compliantCorinna Vinschen3-14/+57
home directory. Include longish comment to explain what we're doing. (cygheap_pwdgrp::get_home): Take additional sid parameter. In NSS_SCHEME_WINDOWS case, call fetch_windows_home to create home directory. (pwdgrp::fetch_account_from_windows): Call cygheap_pwdgrp::get_home with additional sid argument. * cygheap.h (cygheap_pwdgrp::get_home): Align declaration to above change.
2014-12-02 * uinfo.cc (cygheap_user::ontherange): Fix order of fallbacks creatingCorinna Vinschen2-25/+41
HOMEDRIVE/HOMEPATH values to be Windows-compliant. Add comments.
2014-12-02 * autoload.cc (CreateProfile): Import.Corinna Vinschen8-109/+145
(LoadUserProfileW): Import. * registry.cc (get_registry_hive_path): Move to sec_auth.cc. (load_registry_hive): Remove. * registry.h (get_registry_hive_path): Drop declaration. (load_registry_hive): Ditto. * sec_auth.cc (get_user_profile_directory): Moved from registry.cc and renamed. Take third parameter with buffer length. (load_user_profile): New function taking over for load_registry_hive. Use official functions to load profile. If profile is missing, create it on Vista and later. * security.h (get_user_profile_directory): Declare. (load_user_profile): Declare. * syscalls.cc (seteuid32): Replace call to load_registry_hive with call to load_user_profile. * uinfo.cc (cygheap_user::env_userprofile): Replace call to get_registry_hive_path with call to get_user_profile_directory.
2014-12-02 * uinfo.cc (fetch_from_description): Make static.Corinna Vinschen2-2/+7
(fetch_from_path): Ditto.