summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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