summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2016-06-16nt_socket.h: add ipv6 sockopt constants.midipix1-0/+31
2016-06-16nt_socket.h: struct _nt_afd_listen_info: fix definition.midipix2-5/+5
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-29nt_object.h: nt_io_apc_routine function signature: fix linkage.midipix1-1/+1
2016-05-28code maintenance: debug: change type of 'char *' parameters to 'const char *'.midipix2-10/+10
2016-05-28build system: support project-specific overrides of OS and toolchain defs.midipix2-0/+2
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-23nt_atomic.h: i386: implement at_store_64() in terms or at_locked_cas_64.midipix1-7/+3
2016-05-22nt_atomic.h: i386: implement at_locked_cas_64 as inline asm (distilled pain).midipix1-9/+19
2016-05-19project: added support for [C|LD]FLAGS_LAST and [C|LD]FLAGS_ONCE.midipix1-0/+4
2016-05-19build system: added support for [C|LD]FLAGS_LAST and [C|LD]FLAGS_ONCE.midipix4-4/+29
2016-05-19build system: when building from a git repo, explicitly depend on .git/index.midipix2-4/+4
2016-05-15build system: remove generic dependency on version.tag.midipix1-2/+2
Since git-status touches several files (including .git/index), a generic object file dependency on version.tag means that all objects get recompiled whenever git-status is invoked. This patch works around this problem at the cost of ad-hoc dependency rules for specific objects.
2016-05-15nt_socket.h: added NT_AFD_POLL_CONNECT_FAIL.midipix1-0/+1
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-14nt_sync.h: union _nt_sync_block: changed type of lock_tries to int32_t.midipix1-1/+1
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-14build system: PE targets: handle subsystem setting in pe.mk.midipix2-3/+3
2016-05-14project: remove direct linker invocation sysroot assignment (no longer needed).midipix1-3/+0
2016-05-14project: free-standing environment: LDFLAGS_SHARED: add missing -nostdlib.midipix1-1/+1
2016-05-14build system: upgrade build system, eliminate differences in core definitions.midipix30-161/+751
Prior to this patch, there were several differences between this project's build system and the one from which it was derived (sofort). Although the differences were very minor and for the most part related to this project being part of a free-standing, midipix-specific development framework, they still added an extra maintenance burden, specifically by requiring that common changes be applied via patch(1) rather than git-am(1). Following recent improvements to the common build system, it is now possible to have a free-standing, midipix-specific project without any changes to the core build system files, hence the current upgrade.
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.midipix2-0/+67
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-21build system: remove syslibdir support, fix related typo in config.usage.midipix3-10/+1
2016-04-21build system: added empty --prefix and --exec-prefix support.midipix1-2/+8
2016-04-21build system: set proper defaults to the various directory variables.midipix2-21/+10
2016-04-21build system: added --exec-prefix support.midipix4-0/+11
2016-04-21build system: properly use DESTDIR in conjunction with individual variables.midipix3-16/+16
2016-04-21build system: remove erroneous build-time references to LIBDIR.midipix2-8/+8
2016-04-01socket interfaces: added afd poll-related definitions.midipix1-0/+25
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.midipix2-8/+31
2016-03-23socket interfaces: __ntapi_sc_send(): added connectionless datagram support.midipix2-8/+41
2016-03-22socket interfaces: sc_shutdown(): remove non-native code path and constants.midipix2-29/+5
2016-03-22struct nt_socket: split the client reserved member into 'state' and 'iomode'.midipix1-1/+2
2016-03-22socket interfaces: sc_getpeername: initial integration.midipix7-0/+134
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.