summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Let pty slave detect closure of last master handleTakashi Yano2015-03-122-3/+14
| | | | | | | * fhandler_tty.cc (fhandler_pty_master::close): Add code to make slave detect closure of master. Fix typo in error message. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Fix more typos in ntsec.xmlCorinna Vinschen2015-03-122-2/+7
| | | | Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Fix typos in ntsec.xmlCorinna Vinschen2015-03-122-4/+10
| | | | Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Add "tags" to .gitignoreCorinna Vinschen2015-03-111-0/+1
|
* Include sys/_timespec.h in cygwin/types.h to adjust to newlibCorinna Vinschen2015-03-112-1/+6
| | | | | | * include/cygwin/types.h: Include <sys/_timespec.h> Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Add and use latest <sys/timespec.h> from FreeBSDSebastian Huber2015-03-119-16/+130
| | | | | | | | | | | | | | * libc/include/sys/_timespec.h: Import from FreeBSD. * libc/include/sys/timespec.h: Likewise. * libc/include/time.h: Include <sys/timespec.h>. * libc/include/sys/types.h (timespec): Delete. (itimerspec): Likewise. * libc/include/machine/time.h: Include <sys/_timespec.h>. * libc/include/sys/sched.h: Likewise. * libc/include/sys/signal.h: Likewise. * libc/include/sys/stat.h: Likewise. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* * autoload.cc (CreateEnvironmentBlock): Make loading non-fatal.Corinna Vinschen2015-03-112-1/+5
| | | | Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Fix condition in DLL loading loopCorinna Vinschen2015-03-112-2/+7
|
* Fix a build problem running the newlib testsuite on targets that only have ↵Nick Clifton2015-03-112-1/+7
| | | | | | | | 32-bit doubles. * testsuite/newlib.stdio/swprintf.c (main): Change size of value used to initialise 'val' variable so that it will compile on targets with 32-bit doubles.
* cygwin: fix __x86_64__ conditional in stdint.hYaakov Selkowitz2015-03-102-1/+5
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* whitespace fixCorinna Vinschen2015-03-101-1/+0
|
* Change CVS->GIT in docsCorinna Vinschen2015-03-103-8/+14
| | | | Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Add .gitignoreCorinna Vinschen2015-03-091-0/+42
| | | | Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
* mv .cvsignore to .gitignoreCorinna Vinschen2015-03-091-0/+0
| | | | Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
* Add .gitattributesCorinna Vinschen2015-03-091-0/+20
|
* * libc/include/stdio.h (FILE): Protect typedef from redefinition.Corinna Vinschen2015-03-053-0/+11
| | | | * libc/include/wchar.h: Ditto.
* * tty.h (tty::set_master_ctl_closed): Rename from set_master_closed.Corinna Vinschen2015-03-054-24/+28
| | | | | | | | | | (tty::is_master_closed): Drop method. * fhandler_tty.cc (fhandler_pty_slave::open): Remove code prematurely bailing out if master control thread is not running. (fhandler_pty_slave::read): Don't generate SIGHUP if master control thread is not running. (fhandler_pty_master::close): Rearrange code to avoid stopping master control thread twice in multi-threaded scenarios.
* * fhandler.h (fhandler_base::get_echo_handle): New virtual method.Corinna Vinschen2015-03-055-11/+71
| | | | | | | | | | | | | | | | (class fhandler_pty_master): Add echo_r and echo_w handles constituting read and write side of new echo pipe. * select.cc (peek_pipe): On pty masters, check additionally if input from the echo pipe is available. * fhandler_tty.cc (fhandler_pty_master::doecho): Drop output_mutex locking. Write output to echo pipe. (fhandler_pty_master::process_slave_output): Check if input is available in echo pipe and prefer to read from it, if so. (fhandler_pty_slave::write): Drop output_mutex locking. (fhandler_pty_master::fhandler_pty_master): Initialize echo pipe handles to NULL. (fhandler_pty_master::close): Close and NULL echo pipe handles. (fhandler_pty_master::setup): Create echo pipe, close in case of error.
* * v850/sim.ld: Add a .note.renesas section.Nick Clifton2015-03-052-0/+7
|
* merge from gccDJ Delorie2015-03-044-0/+33
|
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 36.Corinna Vinschen2015-03-042-1/+5
|
* * posix.xml (std-bsd): Add issetugid.Corinna Vinschen2015-03-042-0/+5
|
* 2015-02-25 Gedare Bloom <gedare@rtems.org>Joel Sherrill2015-03-032-4/+6
| | | | * libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS.
* * libc/machine/mips/memset.S: Add support for mips32r6/mips64r6.Steve Ellcey2015-03-032-0/+62
|
* * libc/machine/mips/memcpy.S: Add support for mips32r6/mips64r6.Steve Ellcey2015-03-032-14/+169
|
* * new-features.xml (ov-new1.7.35): Add SIGSYS change.Corinna Vinschen2015-03-032-0/+9
|
* * msg.cc: Throughout, drop raising SIGSYS if cygserver is not running.Corinna Vinschen2015-03-035-26/+13
| | | | | * sem.cc: Ditto. * shm.cc: Ditto.
* * new-features.xml (ov-new1.7.35): Add new section.Corinna Vinschen2015-03-032-0/+54
|
* * common.din (issetugid): Export.Corinna Vinschen2015-03-036-2/+20
| | | | | | * glob.cc (issetugid): Drop macro. * sec_auth.cc (issetugid): New exported function. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * security.cc (get_attribute_from_acl): Don't spill Everyone permissionsCorinna Vinschen2015-03-022-5/+12
| | | | | into group permissions if owner SID == group SID. (alloc_sd): Add parenthesis for clarity.
* * utils.xml (getfacl): Adjust options to option nmame change.Corinna Vinschen2015-02-282-6/+8
|
* *** empty log message ***Corinna Vinschen2015-02-281-0/+3
|
* * getfacl.c (usage): Change --all to --access, --dir to --default.Corinna Vinschen2015-02-282-6/+12
| | | | | Align text to output of Linux tool. (longopts): Add --access and --default options.
* * uinfo.cc (pwdgrp::add_line): Return NULL if parsing a line failed.Corinna Vinschen2015-02-282-7/+14
| | | | | (pwdgrp::add_account_post_fetch): Check return value from add_line and return NULL if add_line returns NULL.
* *** empty log message ***Corinna Vinschen2015-02-271-0/+18
|
* * security.cc (alloc_sd): For directories, mark inherited ACEsCorinna Vinschen2015-02-272-0/+11
| | | | inheritable to better follow POSIX 1003.1e rules.
* * sec_acl.cc (getacl): Add mask even if all group and secondary accountCorinna Vinschen2015-02-272-4/+17
| | | | permissions are 0.
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop redundant testCorinna Vinschen2015-02-272-1/+6
| | | | for SidTypeUser.
* * sec_acl.cc (setacl): Fix bug which leads to ACE duplication inCorinna Vinschen2015-02-274-52/+93
| | | | | | | | | | | | | | | | case owner SID == group SID. (getacl): Reverse order of SID test against group or owner sid to prefer owner attributes over group attributes. Disable setting group permissions equivalent to owner permissions if owner == group. Add comment to explain why. Fix indentation. * security.cc (get_attribute_from_acl): Change type of local variables containing permission to mode_t. Apply deny mask to group if group SID == owner SID to avoid Everyone permissions to spill over into group permissions. Disable setting group permissions equivalent to owner permissions if owner == group. Add comment to explain why. * uinfo.cc (pwdgrp::fetch_account_from_windows): Allow user SID as group account if user is a "Microsoft Account". Explain why. Drop workaround enforcing primary group "Users" for "Microsoft Accounts".
* 2015-02-26 Steve Ellcey <sellcey@imgtec.com>Steve Ellcey2015-02-262-108/+113
| | | | | * libc/machine/mips/memcpy.S: Fix macro indentation and typos in comments.
* * ldap.cc (cyg_ldap::wait): Call cygwait with cw_infinite timeout valueCorinna Vinschen2015-02-262-3/+8
| | | | | and with cw_sig_restart instead of cw_sig_eintr. Drop useless _my_tls.call_signal_handler call. Return EIO if cygwait failed.
* * posix_ipc.cc (ipc_mutex_lock): Revert unneeded call to signal handler.Corinna Vinschen2015-02-262-1/+4
|
* * posix_ipc.cc (ipc_mutex_lock): Add bool parameter to influence ifCorinna Vinschen2015-02-262-8/+21
| | | | | | | | | | cygwait should be in EINTR or in restart mode. Call signal handler if in EINTR mode. (mq_getattr): Call ipc_mutex_lock in restart mode. (mq_setattr): Ditto. (mq_notify): Ditto. (_mq_send): Call ipc_mutex_lock in EINTR mode. (_mq_receive): Ditto.
* * fhandler_termios.cc (fhandler_termios::line_edit): Fix conditionCorinna Vinschen2015-02-263-7/+20
| | | | for writing remaining bytes in readahead buffer in non-canonical mode.
* * sec_acl.cc (setacl): Always grant default owner entryCorinna Vinschen2015-02-252-0/+7
| | | | STANDARD_RIGHTS_ALL and FILE_WRITE_ATTRIBUTES access, too.
* *** empty log message ***Corinna Vinschen2015-02-251-0/+3
|
* * mkgroup.c (MAX_SID_LEN): Remove. Instead, use SECURITY_MAX_SID_SIZECorinna Vinschen2015-02-253-49/+61
| | | | | | | throughout. (enum_unix_groups): Introduce numeric_psid and rearrange code to avoid potential heap corruption. * mkpasswd.c: Ditto.
* * fhandler_tape.cc (fhandler_dev_tape::_lock): Add cw_sig_restart toCorinna Vinschen2015-02-254-15/+19
| | | | | | | | | | cygwait call. * thread.cc (pthread_mutex::lock): Ditto. (semaphore::_timedwait): Fix formatting. (semaphore::_wait): Ditto. * thread.h (fast_mutex::lock): Ditto. ...and fix ChangeLog accordingly.
* Applied the "chgrp `id -g`" improvements suggested by Corinna for the FAQWarren Young2015-02-252-0/+21
| | | | item about SSH keys not working in 1.7.34+.
* * security.cc (alloc_sd): Don't apply temporary workaround for chmodCorinna Vinschen2015-02-252-8/+18
| | | | to DEF_USER_OBJ, DEF_GROUP_OBJ, and DEF_OTHER_OBJ ACEs.