summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * fhandler_tty.cc (fhandler_pty_slave::read): Having no input is not anCorinna Vinschen2015-02-252-2/+15
| | | | error condition for tcflush.
* * libc/include/sys/cdefs.h (_GNU_SOURCE): Move check so it has anJon TURNEY2015-02-252-6/+13
| | | | effect when _XOPEN_SOURCE is also defined.
* * ntsec.xml (ntsec-mapping): Match the description of the defaultCorinna Vinschen2015-02-252-35/+14
| | | | values for db_home, db_shell, and db_gecos to the latest changes.
* *** empty log message ***Corinna Vinschen2015-02-251-0/+10
|
* * security.cc (alloc_sd): Fix comment style. Remove code unused forCorinna Vinschen2015-02-252-26/+8
| | | | years.
* * security.cc (alloc_sd): Add temporary workaround which disallowsCorinna Vinschen2015-02-252-1/+16
| | | | | any secondary user to have more permissions than the primary group in calls to chmod. Add comment to explain why.
* * uinfo.cc (client_request_pwdgrp::client_request_pwdgrp): Add missingCorinna Vinschen2015-02-252-0/+6
| | | | break in switch statement.
* Added chgrp None ~/.ssh/* hack to FAQ item 4.40Warren Young2015-02-252-0/+25
|
* * ldap.h: Remove index macros.Corinna Vinschen2015-02-248-102/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (class cyg_ldap): Remove members srch_msg and srch_entry. (cyg_ldap::get_string_attribute): Remove private method taking index argument. (cyg_ldap::get_num_attribute): Ditto. Add method taking attribute name. (cyg_ldap::get_primary_gid): Adjust to aforementioned change. (cyg_ldap::get_unix_uid): Ditto. (cyg_ldap::get_unix_gid): Ditto. * ldap.cc: Throughout, use msg and entry in place of srch_msg and srch_entry. (std_user_attr): Add sAMAccountName and objectSid. (group_attr): Ditto. (cyg_ldap::close): Drop handling of srch_msg and srch_entry. (cyg_ldap::get_string_attribute): Move earlier in file. (cyg_ldap::get_num_attribute): Ditto. (cyg_ldap::enumerate_ad_accounts): Add comments for clarity. Use group_attr or user_attr rather than sid_attr to fetch all desired attributes for an account right away. (cyg_ldap::next_account): Store found SID in last_fetched_sid to skip calls to fetch_ad_account from fetch_account_from_windows. (cyg_ldap::get_string_attribute): Remove method taking index argument. (cyg_ldap::get_num_attribute): Ditto. * pwdgrp.h (class pg_ent): Fix formatting. Add member dom. * passwd.cc (pg_ent::enumerate_ad): Store current flat domain name in dom. Construct fetch_acc_t argument from LDAP attributes and call fetch_account_from_windows with that. * userinfo.h (enum fetch_user_arg_type_t): Rename FULL_grp_arg to FULL_acc_arg. Change throughout. (struct fetch_acc_t): Rename from fetch_full_grp_t. Change throughout. (struct fetch_user_arg_t): Rename full_grp to full_acc. Change throughout.
* * fhandler.h (class fhandler_base): Add was_nonblocking status flag.Corinna Vinschen2015-02-244-4/+33
| | | | | | | | | * fhandler.cc (fhandler_base::set_flags): Set was_nonblocking if the O_NONBLOCK flag has been specified. (fhandler_base_overlapped::close): Check for was_nonblocking instead of for is_nonblocking. Explain why. (fhandler_base::set_nonblocking): Set was_nonblocking if noblocking mode gets enabled.
* * include/sys/socket.h (sockatmark): Add prototype.Corinna Vinschen2015-02-242-1/+6
|