summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2016-06-24process tokens: added __ntapi_tt_[enable/disable]_token_privilege().midipix7-0/+90
2016-06-24internals: added handle to the process's primary token.midipix2-0/+8
2016-06-24nt_token.h: added token privilege constants.midipix1-0/+43
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-17nt_socket.h: add definition for NT_AFD_DEFER_ACCEPT.midipix1-0/+3
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.midipix2-4/+6
2016-06-16nt_socket.h: add afd bind (port-sharing) constants.midipix1-0/+6
2016-06-16ntapi_sc_bind(): properly support afd (port-sharing) flags.midipix3-9/+13
2016-06-16__ntapi_sc_getsockopt(): initial implementation and integration.midipix6-0/+63
2016-06-16__ntapi_sc_setsockopt(): initial implementation and integration.midipix6-0/+63
2016-06-16nt_socket.h: add afd sockopt definitions.midipix1-0/+15
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