summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.
2016-05-14internals: __ntapi_log_write(): initial implementation.midipix1-0/+66
2016-05-14debug: remove dead buffer.midipix1-3/+1
2016-05-07daemon init routine: internal client init: take a more robust code path.midipix2-10/+14
Following this change, the temporary internal client thread is created only after the daemon dedicated thread has signaled the daemon-is-ready event.
2016-04-01socket interfaces: ntapi_sc_connect_v2(): fix ipv6 support.midipix1-0/+11
2016-03-27socket interfaces: __ntapi_sc_recv(): added connectionless datagram support.midipix1-8/+23
2016-03-23socket interfaces: __ntapi_sc_send(): added connectionless datagram support.midipix1-8/+39
2016-03-22socket interfaces: sc_shutdown(): remove non-native code path and constants.midipix1-22/+4
2016-03-22socket interfaces: sc_getpeername: initial integration.midipix4-0/+126
Integration of this function into the library has been delayed since the AFD ioctl operation, while succeeding, seems to only memset the caller's address buffer, and accordingly to never copy the remote socket address to it. Callers of sc_getpeername() should therefore first check the return value for success -- which may be used as indication that the socket is connected -- and then test the returned address buffer for validity.
2016-03-02__ntapi_pty_read_write(): defer thread-based pty ownership to posix layer.midipix1-3/+0