summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-07-24__ntapi_tty_join_session(): for primary sessions, also set rtdata->hsession.midipix1-0/+3
2016-07-20tty session information: support free-standing session spawning.midipix2-2/+2
With matching support in the tty/pty server, passing the syspid of a child process should allow for child session initialization from within a multi-threaded parent as part of a fork-less, native process creation.
2016-07-19__ntapi_pty_inherit(): re-set client info, free context upon failure.midipix1-1/+12
2016-07-18pty layer: __ntapi_pty_inherit(): obtain hpty from the server.midipix1-0/+1
2016-07-06__ntapi_pty_open(): properly set the context's hpty member when opening a pts.midipix1-0/+1
2016-07-03__ntapi_tt_port_name_from_attributes(): removed excess array elements.midipix1-8/+8
2016-07-03native ipc: added definitions for 'symlnk' and 'ntproc'.midipix1-3/+7
2016-06-30whitespace meditation.midipix2-5/+5
2016-06-30nt_string.h, ntapi_vtbl: added vsprintf and vsnprintf (via ntdll).midipix1-1/+3
2016-06-30ntapi_vtbl: string functions: code maintenance.midipix3-4/+4
2016-06-30nt_string.h, ntapi_vtbl: added snprintf (via ntdll).midipix1-1/+2
2016-06-30__ntapi_init_completed: as in __ntapi_init_once, return address of shadow vtbl.midipix1-1/+1
2016-06-29__ntapi_pty_open: refactor, explicit string comparison.midipix1-6/+11
2016-06-29__ntapi_tt_istat: refactor, explicit string comparison.midipix1-48/+44
2016-06-29__ntapi_tt_statfs: refactor, explicit string comparison.midipix1-57/+54
2016-06-29__ntapi_tt_dev_mount_points_to_statfs: refactor, explicit string comparison.midipix1-20/+34
2016-06-29free-standing environment: remove fluff from the argv/envp parsing facility.midipix5-543/+28
2016-06-28string functions: added __ntapi_tt_strncmp_utf16().midipix3-0/+24
2016-06-28string functions: added __ntapi_tt_strncmp_multibyte().midipix3-0/+24
2016-06-28string functions: added __ntapi_tt_strcmp_utf16().midipix3-0/+20
2016-06-28string functions: added __ntapi_tt_strcmp_multibyte().midipix3-0/+20
2016-06-24process tokens: added __ntapi_tt_[enable/disable]_token_privilege().midipix3-0/+73
2016-06-24internals: added handle to the process's primary token.midipix2-0/+8
2016-06-20__ntapi_tt_create_pipe_v2(): refactor, always close hdevpipes.midipix1-17/+15
2016-06-20__ntapi_uc_validate_unicode_stream_utf16(): preserve callback fn return value.midipix1-2/+5
2016-06-20__ntapi_uc_validate_unicode_stream_utf8(): preserve callback fn return value.midipix1-2/+5
2016-06-17__ntapi_sc_accept(): fix handling of ipv6 addresses.midipix1-0/+11
2016-06-16ntapi_sc_listen(): properly support backlog and afd flags.midipix1-3/+4
2016-06-16ntapi_sc_bind(): properly support afd (port-sharing) flags.midipix2-8/+11
2016-06-16__ntapi_sc_getsockopt(): initial implementation and integration.midipix3-0/+52
2016-06-16__ntapi_sc_setsockopt(): initial implementation and integration.midipix3-0/+52
2016-06-16nt_socket.h: struct _nt_afd_listen_info: fix definition.midipix1-3/+3
2016-06-14__ntapi_sc_bind_v2(): fix handling of ipv6 addresses.midipix1-8/+20
2016-06-14__ntapi_sc_connect_v2(): always initialize the entire afd_connect_req struct.midipix1-0/+3
2016-05-28code maintenance: debug: change type of 'char *' parameters to 'const char *'.midipix1-5/+5
2016-05-27__ntapi_tt_create_thread(): strictly align thread context and stack params.midipix1-2/+2
2016-05-23__tt_fork_v1(): nt32: add missing _v1 suffixes to internal symbols.midipix1-3/+3
2016-05-14__ntapi_sc_wait(): fix return value assignment after a successful wait.midipix1-3/+1
2016-05-14__ntapi_tt_sync_block_lock(): properly handle signedness.midipix1-1/+2
2016-05-14__ntapi_tt_generic_memset(): properly handle signedness.midipix1-1/+1
2016-05-14__ntapi_log_write(): properly handle signedness.midipix1-2/+2
2016-05-14__ntapi_tt_get_argv_envp_utf16(): properly handle signedness.midipix1-1/+1
2016-05-14__blt_popcount(): properly handle signedness.midipix1-1/+2
2016-05-14__ntapi_pty_query(), __ntapi_pty_set(): remove an always-false comparison.midipix2-2/+2
2016-05-14__is_bmp_code_point(): remove an always-true comparison, add readability.midipix1-3/+2
2016-05-14ntapi_tt_get_option(): properly declare static inlined functions.midipix1-2/+2
2016-05-14code maintenance: properly initialize struct entities.midipix4-8/+16
2016-05-14code maintenance: mark unused parameters.midipix24-0/+82
2016-05-14code maintenance: remove unused variables.midipix1-1/+0
2016-05-14__ntapi_pty_connect(): added resilience.midipix1-1/+17
This patch accounts for zw_map_view_of_section() returning NT_STATUS_CONFLICTING_ADDRESSES (0xC0000018) due to third-party software thread creation upon process initialization. The conflict occurs when the address of the stack that is allocated for the third-party thread happens to coincide with the internal section address which was derived from the parent. As should be noted, and while we could decide to always reset ctx->section_addr prior to mapping the internal section, the advantage of the current solution (when acocmpanied by the wrapping calls to __ntapi_log_write) consists in the indication as to whether third-party thread creation had interfered with internal process initialization routines.