summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2016-01-23annual chores.midipix107-107/+107
2015-12-17crc32 functions: add missing const qualifier.midipix1-6/+6
2015-09-26makefile replacement: step 2/2: use the midipix build template.midipix1-1/+1
2015-09-26oopsy daisy.midipix1-2/+2
2015-09-26__ntapi_tt_sync_block_unlock(): construct the 64-bit comparison value by way ↵midipix1-5/+8
of a union.
2015-09-26fix labels in the 32-bit fork assembly wrapper.midipix1-3/+3
2015-09-26__ntapi_pty_query(): explicitly cast return value from uintptr_t to uint32_t.midipix1-4/+4
2015-09-26fix comment format in asm file.midipix1-5/+5
2015-09-26oopsy daisy.midipix1-1/+1
2015-09-26pty inheritance: client-side implementation.midipix5-13/+98
2015-09-26fix incorrect logic (&& vs. &), remove unnecessary comparisons.midipix2-5/+4
2015-09-26remove dependency on compiler flags that supress generated calls to memcpy ↵midipix1-1/+8
and memset.
2015-07-27entered advanced internal development stage.midipix112-0/+14028