| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
taking WCHAR strings.
(reg_key::set_int): Ditto.
(reg_key::get_string): Ditto.
(reg_key::set_string): Ditto.
* registry.h (struct reg_key): Add prototypes for added methods.
|
|
|
|
| |
and allow empty strings.
|
|
|
|
| |
code STATUS_NOT_SUPPORTED. Add matching comment.
|
|
|
|
| |
$PATH.
|
| |
|
|
|
|
| |
Cygwin executables.
|
|
|
|
| |
not in a setuid condition.
|
|
|
|
| |
ld to preserve alignment. Some code was copied from ti.h.
|
| |
|
|
|
|
|
|
|
| |
using my_wcstombs.
(get_user_folder): Remove.
(do_sysfolders): Use get_special_folder instead of get_user_folder.
Fetch system paths as WCHAR and convert using my_wcstombs.
|
|
|
|
| |
clean_setup.pl script.
|
| |
|
|
|
|
| |
exception for KOI8 charsets.
|
|
|
|
|
|
|
|
|
|
| |
* bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from
bfd_link_common_skip_ar_aymbols.
(struct bfd_link_info): Here too.
bfd/
* aoutx.h (aout_link_check_ar_symbols): Typo fix.
ld/
* emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix.
|
|
|
|
|
|
|
|
| |
* external.cc (cygwin_internal): Use va_end.
* fork.cc (child_copy): Likewise.
* libc/bsdlib.cc (warn, warnx, err, errx): Likewise.
* pinfo.cc (commune_request): Likewise.
* strace.cc (strace::prntf, strace_printf): Likewise.
|
|
|
|
| |
new to POSIX 2008.
|
|
|
|
|
|
| |
* libc/include/sys/signal.h: Include <sys/types.h> always.
[__CYGWIN__, __rtems__]: Define kill first argument as pid_t per
standards.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CW_SET_EXTERNAL_TOKEN.
Add new enum CW_TOKEN_IMPERSONATION, CW_TOKEN_RESTRICTED.
* cygheap.h (cyguser): New flags ext_token_is_restricted,
curr_token_is_restricted and setuid_to_restricted.
* external.cc (cygwin_internal): Add CW_SET_EXTERNAL_TOKEN.
* sec_auth.cc (set_imp_token): New function.
(cygwin_set_impersonation_token): Call set_imp_token ().
* security.h (set_imp_token): New prototype.
* spawn.cc (spawn_guts): Use CreateProcessAsUserW if restricted token
was enabled by setuid(). Do not create new window station in this case.
* syscalls.cc (seteuid32): Add handling of restricted external tokens.
Set HANDLE_FLAG_INHERIT for primary token.
(setuid32): Set setuid_to_restricted flag.
* uinfo.cc (uinfo_init): Do not reimpersonate if restricted token was
enabled by setuid (). Initialize user.*_restricted flags.
|
|
|
|
|
|
|
| |
/:
* configure.ac: Add 'lto' to enable_languages, not
new_enable_languages, and only if not already present.
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* hires.h (hires_ms): Change initime_us to initime_ns, with 10x
more resolution.
(hires_ms::nsecs): New prototype.
(hires_ms::usecs, hires_ms::msecs, hires_ms::uptime): Adjust.
* times.cc (systime_ns): New helper function.
(hires_ms::prime): Use it for more resolution.
(hires_ms::usecs): Change to...
(hires_ms::nsecs): ...with more resolution.
(clock_gettime): Use more resolution.
(systime): Rewrite in terms of systime_ns.
(timespec_to_filetime): Rewrite math to reflect true operation.
* fhandler_disk_file.cc (utimens_fs): Use higher resolution.
|
|
|
|
| |
and CW_SETERRNO cases.
|
|
|
|
| |
negative pids there.
|
|
|
|
|
|
|
| |
if the original device had one, too. Add comment.
* fhandler_socket.cc (fhandler_socket::fstat): Always return a size of
0 on sockets.
|
|
|
|
|
| |
* libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when
defining struct timeval.
|
| |
|
|
|
|
| |
list. Explain backslash exception.
|
|
|
|
|
| |
ASCII NUL as well. Change layout to make the conversions more clear.
Add comment.
|
| |
|
|
|
|
|
| |
(__default_locale): New global variable set to the default locale.
(__get_locale_env): Return __default_locale rather than fixed "C".
|
|
|
|
|
|
| |
* configure.host: For RTEMS, define HAVE_ASSERT_FUNC.
* libc/stdlib/assert.c (_assert_func): Do not specify
__assert_func if HAVE_ASSERT_FUNC flag is set.
|
|
|
|
|
| |
* bfin/Makefile.in (basiccrt.o, basiccrts.o): Use
-mcpu=bf532-any for the default multilib.
|
|
|
|
|
|
| |
* libc/include/getopt.h (__getopt_r, __getopt_long_r)
(__getopt_long_only_r): Protect declarations, to avoid compiler
warning.
|
|
|
|
| |
if we're exiting.
|
| |
|
|
|
|
| |
charset on Cygwin.
|
| |
|
|
|
|
| |
as well.
|
|
|
|
|
|
|
|
| |
* fhandler_termios.cc (fhandler_termios::tcgetpgrp): Only return
valid pgid if tty is controlling tty. Set errno to ENOTTY and
return -1 otherwise.
(fhandler_pty_master::tcgetpgrp): New function. Return 0 for
master side of pty if it's not the controlling tty of the process.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* globals.cc: here.
* pinfo.cc (pinfo::maybe_set_exit_code_from_windows): Remove now unneeded
declaration.
|
| |
|
|
|
|
|
|
|
| |
_WIN32_WINNT >= 0x0500.
(DISABLE_MAX_PRIVILEGE, SANDBOX_INERT, LUA_TOKEN,
WRITE_RESTRICTED): Define.
(IsTokenRestricted): Declare for >= Win 2000.
|
| |
|
| |
|
|
|
|
|
|
| |
value encoding.
* libc/stdlib/wctomb_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
value decoding.
|