+2003-02-08 Christopher Faylor <cgf@redhat.com>
+
+ * include/cygwin/version.h: Bump DLL minor number.
+
+2003-02-07 Christopher Faylor <cgf@redhat.com>
+
+ * malloc.cc (DEFAULT_MMAP_THRESHOLD): Bump down to 16MB thanks to below
+ changes.
+
+2003-02-07 Corinna Vinschen <corinna@vinschen.de>
+
+ * mmap.cc (mmap_record::alloc_map): De-inline. Add offset and length
+ parameter. Only protect pages actually unused currently. Do job
+ of map_map() when initializing a map.
+ (mmap_record::map_map): Reduce functionality for the reuse case
+ of private anonymous mapping.
+ (mmap_record::fixup_map): Format change.
+ (list::add_record): Add offset and length parameter to call
+ mmap_record::alloc_map() correctly.
+ (mmap64): Rename `l' variable to `map_list'. Accomodate above changes.
+ (munmap): Rename `l' variable to `map_list'.
+ (msync): Ditto.
+ (fhandler_disk_file::mmap): Streamline code.
+ (mprotect): Ditto.
+ (fixup_mmaps_after_fork): Rename `l' variable to `map_list'.
+
+2003-02-07 Vaclav Haisman <V.Haisman@sh.cvut.cz>
+ Christopher Faylor <cgf@redhat.com>
+
+ * exceptions.cc (try_to_debug): Set priority of current thread rather
+ than the main thread. Make busy waiting loop less busy. Restore
+ priority when function returns.
+
+2003-02-07 Christopher Faylor <cgf@redhat.com>
+
+ * malloc.cc (DEFAULT_MMAP_THRESHOLD): Set high to avoid mmaps.
+
+2003-02-07 Christopher Faylor <cgf@redhat.com>
+
+ * pipe.cc (fhandler_pipe::close): Avoid extraneous this->.
+
+2003-02-06 Christopher Faylor <cgf@redhat.com>
+
+ * heap.cc (heap_init): Remove debugging code.
+
+2003-02-06 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * security.h: Introduce names UNKNOWN_UID and UNKNOWN_GID and delete
+ declaration of is_grp_member.
+ * uinfo.cc (internal_getlogin): Use UNKNOWN_GID.
+ * passwd.cc (pwdgrp::read_passwd): Use UNKNOWN_UID.
+ * grp.cc (pwdgrp::read_group): Change group name to provide better
+ feedback.
+ (getgrgid): Use gid16togid32.
+ * sec_helper.cc (is_grp_member): Delete.
+
+2003-02-05 Christopher Faylor <cgf@redhat.com>
+
+ * path.cc: Change 'to_posix_p' to 'to_posix' throughout.
+ (conv_path_list_buf_size): Accommodate relative paths.
+
+2003-02-05 Christopher Faylor <cgf@redhat.com>
+
+ * path.cc (etc::dir_changed): Fix debug printf.
+
+2003-02-05 Corinna Vinschen <corinna@vinschen.de>
+
+ * sec_acl.cc (setacl): Move all permission settings to beginning of
+ loop. Set default rights to same values as in alloc_sd(). Set DELETE
+ for owner and default owner only if S_IWOTH is given.
+
+2003-02-05 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * sec_acl.cc: Change all __aclent16_t to __aclent32_t except in
+ wrapper function definitions. Replace call to the aclXYZ functions by
+ calls aclXYZ32.
+ (searchace): Change type of third argument to __uid32_t and use
+ ILLEGAL_UID instead of -1;
+ (setacl): Remove some initializations. Only give STANDARD_RIGHTS_WRITE
+ for S_IWOTH. Replace -1 by ILLEGAL_UID.
+ (getacl): Change type of owner_sid, group_sid and ace_sid to cygpsid.
+ In last else clause, suppress second call to ace_sid.get_id and use
+ TRUE in first call. Replace EqualSid by ==.
+ (acl_access): Call internal_getgroups in USER and GROUP cases.
+ (acecmp: Define static.
+ (acl32): Create from 16 bit type.
+ (facl32): Ditto.
+ (lacl32): Ditto.
+ (aclcheck32): Ditto.
+ (aclsort32): Ditto.
+ (acltomode32): Ditto.
+ (aclfrommode32): Ditto.
+ (acltopbits32): Ditto.
+ (aclfrompbits32): Ditto.
+ (acltotext32): Ditto.
+ (aclfromtext32): Ditto, and use strechr.
+ (acl16to32): Create.
+ (acl): Make it a wrapper function.
+ (facl): Ditto.
+ (lacl): Ditto.
+ (aclcheck): Ditto.
+ (aclsort): Ditto.
+ (acltomode): Ditto.
+ (aclfrommode): Ditto.
+ (acltopbits): Ditto.
+ (aclfrompbits): Ditto.
+ (acltotext): Ditto.
+ (aclfromtext): Ditto.
+ * security.cc (write_sd): Call set_process_privilege and check
+ ownership.
+ (alloc_sd): Remove call to set_process_privilege and the owner check.
+
+2003-02-05 Christopher Faylor <cgf@redhat.com>
+
+ * include/sys/cygwin.h: Use C-style comments.
+
+2003-02-05 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * sec_helper.cc (get_sids_info): New function.
+ * security.cc (extract_nt_dom_user): Simplify with strechr.
+ (get_user_groups): Initialize glen to MAX_SID_LEN.
+ (get_user_local_groups): Ditto.
+ (get_attribute_from_acl): Define ace_sid as cygpsid.
+ (get_nt_attribute): Define owner_sid and group_sid as cygpsid.
+ Call get_sids_info instead of cygsid.get_{u,g}id and is_grp_member.
+ (get_nt_object_attribute): Ditto.
+ (alloc_sd): Define ace_sid as cygpsid.
+
+2003-02-04 Thomas Pfaff <tpfaff@gmx.net>
+
+ * syscalls.cc (struct system_cleanup_args): New struct.
+ (system_cleanup): New function.
+ (system): Use pthread_cleanup_push and _pop to save and restore
+ signal handlers and sigprocmask.
+
+2003-02-04 Corinna Vinschen <corinna@vinschen.de>
+
+ * path.cc (symlink): Create security attributes so that only the
+ user can modify the symlink.
+ * security.cc (set_security_attribute): Remove symlink special
+ handling.
+
+2003-02-04 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * grp.cc (internal_getgroups): Do not return without closing
+ the process handle.
+
+2003-02-04 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * security.h (class cygpsid): New class.
+ (class cygsid): Use cygpsid as base. Remove members psid, get_id,
+ get_uid, get_gid, string, debug_printf and the == and != operators.
+ (cygsidlist::clear_supp): Only do work if setgroups has been called.
+ * sec_helper.cc: Define sid_auth NO_COPY.
+ (cygpsid::operator==): New operator.
+ (cygpsid::get_id): New function.
+ (cygpsid::string): New function.
+ (cygsid::string): Delete.
+ (cygsid::get_id): Delete.
+ * pwdgrp.h: Change arguments of internal_getpwsid,
+ internal_getgrsid and internal_getgroups to cygpsid.
+ * passwd.cc (internal_getpwsid): Change argument from cygsid to cygpsid.
+ * grp.cc (internal_getgrsid): Ditto.
+ (internal_getgroups): Ditto.
+
+2003-02-03 Christopher Faylor <cgf@redhat.com>
+
+ Eliminate most unneeded this-> pointers throughout.
+
+2003-02-03 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * security.h: Add third argument to set_process_privilege.
+ * autoload.cc: Add OpenThreadToken.
+ * sec_helper.cc (set_process_privilege): Add and use use_thread
+ argument.
+ * security.cc (alloc_sd): Modify call to set_process_privilege.
+ Remember the result in each process. If failed and file owner is not
+ the user, fail.
+
+2003-02-03 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler_socket.cc (fhandler_socket::recvfrom): Return buffer
+ length and don't set errno in case of WSAEMSGSIZE error.
+ (fhandler_socket::recvmsg): Ditto.
+
2003-02-01 Christopher Faylor <cgf@redhat.com>
* grp.cc (getgrent32): Only refresh group entries when at beginning.