| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
| |
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
|
| |
|
|
|
|
|
|
| |
* include/cygwin/types.h: Include <sys/_timespec.h>
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
|
| |
|
|
|
|
| |
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
| |
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
| |
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
|
| |
|
|
|
|
| |
* libc/include/wchar.h: Ditto.
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* sem.cc: Ditto.
* shm.cc: Ditto.
|
| |
|
|
|
|
|
|
| |
* glob.cc (issetugid): Drop macro.
* sec_auth.cc (issetugid): New exported function.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
|
|
|
|
| |
into group permissions if owner SID == group SID.
(alloc_sd): Add parenthesis for clarity.
|
| |
|
| |
|
|
|
|
|
| |
Align text to output of Linux tool.
(longopts): Add --access and --default options.
|
|
|
|
|
| |
(pwdgrp::add_account_post_fetch): Check return value from add_line and
return NULL if add_line returns NULL.
|
| |
|
|
|
|
| |
inheritable to better follow POSIX 1003.1e rules.
|
|
|
|
| |
permissions are 0.
|
|
|
|
| |
for SidTypeUser.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
|
|
|
|
| |
* libc/machine/mips/memcpy.S: Fix macro indentation and typos in
comments.
|
|
|
|
|
| |
and with cw_sig_restart instead of cw_sig_eintr. Drop useless
_my_tls.call_signal_handler call. Return EIO if cygwait failed.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
for writing remaining bytes in readahead buffer in non-canonical mode.
|
|
|
|
| |
STANDARD_RIGHTS_ALL and FILE_WRITE_ATTRIBUTES access, too.
|
| |
|
|
|
|
|
|
|
| |
throughout.
(enum_unix_groups): Introduce numeric_psid and rearrange code to avoid
potential heap corruption.
* mkpasswd.c: Ditto.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
item about SSH keys not working in 1.7.34+.
|
|
|
|
| |
to DEF_USER_OBJ, DEF_GROUP_OBJ, and DEF_OTHER_OBJ ACEs.
|