summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-03-29sid helper interfaces: added ntapi_tt_sid_compare().midipix3-0/+32
2018-03-29__ntapi_acl_init_common_descriptor(): assign owner perms. via OWNER_RIGHTS sid.midipix1-3/+2
2018-03-21daemon interfaces: ntapi_dsr_create_port(): allow passing a security desc.midipix1-1/+1
2018-03-20acl helper interfaces: added ntapi_acl_init_common_descriptor().midipix3-0/+97
2018-03-20ipc and keyed object directories: support multi-user env. via sec. descriptor.midipix1-3/+83
2018-03-20sysv semaphore: open ipc directory with minimally required access.midipix1-2/+6
2018-03-20sysv msgqueue: open ipc directory with minimally required access.midipix1-2/+6
2018-03-20internals: cache the process's token user sid.midipix2-0/+17
2018-03-20sid helper interfaces: added ntapi_tt_sid_copy().midipix3-0/+25
2018-03-20code maintenance: incorporate use of the __offsetof convenience macro.midipix5-6/+6
2018-03-14__ntapi_msq_send(): unmap the ad-hoc section as needed.midipix1-6/+23
2018-03-14__ntapi_msq_recv(): unmap the ad-hoc section as needed.midipix1-5/+20
2018-03-14__ntapi_sem_ioctl(): unmap the ad-hoc section as needed.midipix1-6/+23
2018-03-14__ntapi_sem_set(): unmap the ad-hoc section as needed.midipix1-5/+20
2018-03-14__ntapi_sem_query(): unmap the ad-hoc section as needed.midipix1-4/+22
2018-01-26struct _nt_spawn_process_params: foreign process creation: support passing cwd.midipix1-1/+1
2018-01-21struct _nt_thread_params: replace the thread_id member with a complete cid.midipix2-2/+3
2018-01-20__ntapi_tt_create_thread(): SP register: remove redundant pointer allocation.midipix1-2/+1
2018-01-20__ntapi_tt_create_thread(): support caller-provided thread stack.midipix1-43/+81
2018-01-20__ntapi_tt_create_local_thread(): use cached handle to running process.midipix1-39/+8
2018-01-20__ntapi_init(), fork: obtain and keep a handle to the running process.midipix3-31/+67
2018-01-20thread creation routines: refactor for readability and style.midipix1-104/+103
2018-01-11__ntapi_tt_spawn_native_process(): use sparams->hroot as needed.midipix1-2/+2
2017-12-27__ntapi_tt_spawn_foreign_process(): added interopflags support.midipix1-1/+1
2017-12-25nt_process.h: refactor: NT_PROCESS_CREATE_FLAGS_ --> NT_PROCESS_SPAWN_FLAG_.midipix1-1/+1
2017-12-25framework: port guids: replaced NT_PORT_GUID_SYMLNK with NT_PORT_GUID_BRIDGE.midipix1-2/+2
2017-12-22tt_array_copy_utf16(): properly implement the interp-optarg-script semantics.midipix1-23/+54
2017-12-22tt_array_copy_utf8(): properly implement the interp-optarg-script semantics.midipix2-23/+54
2017-12-22struct _nt_spawn_process_params: refactor (interp-optarg-script semantics).midipix1-2/+2
2017-12-11__ntapi_ldr_load_system_dll(): support 'downlevel' with greater compassion.midipix1-34/+60
2017-12-08__ntapi_ldr_load_system_dll(): added 'downlevel' support...midipix1-0/+33
2017-12-08__ntapi_ldr_load_system_dll(): use shell-style path for the system32 directory.midipix1-0/+4
2017-12-06__ntapi_tt_get_csr_port_handle_addr_by_logic_x86_64(): added missing braces.midipix1-1/+2
2017-12-06__ntapi_tt_fork_v2(): properly indent code block.midipix1-6/+6
2017-12-06internal foreign process creation: set process and thread creation flags.midipix1-0/+5
2017-11-13unicode: __utf8_to_utf16_handler_4bytes(): fix conversion logic.midipix1-12/+28
2017-11-11unicode: __utf16_to_utf8_handler_4bytes(): fix conversion logic.midipix1-21/+25
2017-10-29__ntapi_tt_spawn_native_process(): initial clean-up, fixed buflen-related bug.midipix1-22/+41
2017-10-29__ntapi_tt_array_convert_utf8_to_utf16(): fixed stub (must update ↵midipix1-1/+2
bytes_written).
2017-10-29__ntapi_tt_spawn_foreign_process(): optionally use kernel32 as the backend.midipix2-12/+105
2017-10-08process creation: added __ntapi_tt_spawn_foreign_process().midipix3-0/+318
2017-10-08__ntapi_tt_spawn_native_process(): properly handle a null sparams->patharg.midipix1-5/+7
2017-09-10envp primitives: re-implemented __ntapi_tt_get_env_var_meta_utf16().midipix1-23/+17
2017-09-10envp primitives: integrated __ntapi_tt_get_env_var_meta_utf8().midipix3-0/+36
2017-09-08subsystem interfaces: optimized struct _nt_sem_info.midipix1-1/+1
2017-09-08integrated msgqueue client side interfaces.midipix12-0/+947
2017-09-08subsystem interfaces: integrated sysv msgqueue definitions.midipix1-2/+6
2017-08-26__ntapi_sem_set(), __ntapi_sem_query(): handle hlock more elegantly.midipix2-15/+17
2017-08-18project: src/ipc: normalized source file names.midipix2-0/+0
2017-08-18__ntapi_ipc_create_pipe(): refine, change polling strategy.midipix2-20/+18
The canonical way of polling an i/o handle by requesting a zero-byte read/write operation and then waiting on the event (or apc routine) that was specified for that i/o operation fails to work on the writing end of a byte-stream pipe. Specifically, the request completes immediately, therefore not allowing us to employ it for a controlled poll operation. Following this patch, the writing end of the pipe is opened with the NT_FILE_SYNCHRONOUS_IO_ALERT flag set. With this flag set, zero-byte writes block, which makes them perfectly suitable for a polling operation, but less so for non-blocking i/o. With some effort, however, the latter can be achieved and be both robust and reliable.