Commit Graph

135 Commits

Author SHA1 Message Date
Mike Hearn ef7fce8490 kernel: Don't enforce process handle access rights in Win98 mode. 2006-04-04 12:08:50 +02:00
Alexandre Julliard f5d3adaf59 ntdll: Process --help and --version args earlier on during startup. 2006-04-03 12:07:20 +02:00
Robert Shearman 1fd711c192 kernel: Add some documentation for simple process functions. 2006-03-31 17:38:12 +02:00
James Hawkins 61c3bb03a0 kernel: Error out of CreateProcess if the specified current directory
doesn't exist.
2006-03-27 11:54:32 +02:00
Alexandre Julliard a401f3c4bb kernel: Better support for detached processes.
Call setsid() in the new process to create a new Unix process group
when CREATE_NEW_PROCESS_GROUP, CREATE_NEW_CONSOLE, or DETACHED_PROCESS
are specified.
2006-03-06 22:22:30 +01:00
Mike McCormack a7e36dd27e kernel32: Add a stub implementation for CmdBatNotification. 2006-02-22 17:02:56 +01:00
Alexandre Julliard 3229e293d3 kernel: Initialize the dll path from the main exe name explicitly
since ImagePathName is not always set at that point.
2006-02-22 17:02:25 +01:00
Alexandre Julliard a877fdc4dc kernel: Don't bother checking load order of the exe in the parent process. 2006-02-22 16:21:12 +01:00
Alexandre Julliard 477b3bf566 kernel: Moved the get_startup_info call to ntdll. 2006-02-22 09:57:19 +01:00
Alexandre Julliard 2df3ad64eb kernel: Use LoadLibrary to load the main exe in all cases. 2006-02-21 19:48:18 +01:00
Alexandre Julliard 9dffd134dd libwine: Try the current load path in priority before the
WINELOADER/WINESERVER environment variables in wine_exec_wine_binary.
2006-02-16 20:26:55 +01:00
Eric Pouech c67bc2260c A couple of new valgrind instrumentations for better support. 2006-02-14 13:06:29 +01:00
Alexandre Julliard 9669ff8de4 ntdll: Get rid of the main_file argument in LdrInitializeThunk. 2006-02-08 15:22:24 +01:00
Alexandre Julliard e65b8d925a kernel: Use a standard LoadLibrary call to load the main exe. 2006-02-08 15:11:19 +01:00
Alexandre Julliard 2a36dd239c server: Remove no longer used create_flags from get_startup_info request. 2006-02-05 12:33:24 +01:00
Alexandre Julliard 626669e1e3 kernel: Use a magic ConsoleHandle value instead of create flag to pass
the CREATE_NEW_CONSOLE flag to the child.
2006-02-05 12:24:43 +01:00
Alexandre Julliard 645c0cc63c kernel: Set the console flag in the parent for CREATE_NEW_PROCESS_GROUP. 2006-02-05 12:20:40 +01:00
Alexandre Julliard a2a29e22a0 kernel: Fail more gracefully when loading a builtin exe didn't work. 2006-01-24 11:05:11 +01:00
Hans Leidekker fa57544a46 kernel: Some documentation improvements. 2005-12-21 20:44:49 +01:00
Alexandre Julliard 68df918282 kernel32: Check for tabs too when extracting the program name
(reported by Vitaliy Margolen).
2005-12-19 21:25:23 +01:00
Alexandre Julliard efffa66330 ntdll: Don't use a real guard page at the bottom of the stack.
A no-access page is enough, we can't properly raise an overflow
exception anyway.
2005-12-17 18:47:03 +01:00
Alexandre Julliard f3dad37ba2 TEB.StackLimit should not include the guard page. 2005-12-12 17:28:32 +01:00
Alexandre Julliard 8a8a94aecb kernel: Moved main stack initialization to process.c. 2005-12-12 17:20:29 +01:00
Alexandre Julliard f2d7dd645e server: Use attributes instead of inherit flag in process and thread requests. 2005-12-09 12:13:11 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alex Villacís Lasso efb290b2f0 Initialize file_exists to 0 at exe load test, prevents mistaking of
UTF-8 encoded exenames as builtins.
2005-11-28 10:35:10 +01:00
Marcus Meissner 4a7666190f Pass characters to get_file_name() helper, not bytes. 2005-10-10 10:28:48 +00:00
Alexandre Julliard ce1196a84b Copy WINEDEBUG from the Windows environment to allow passing a
modified value to a child process.
2005-10-04 18:09:51 +00:00
Alexandre Julliard 7ddab75619 Declare debug channels as static variables so that we don't need to
generate an external .dbg.c file to define them.
2005-09-28 18:34:00 +00:00
Eric Pouech b09582a890 Implemented kernel32 process affinity handling on top on ntdll. 2005-09-27 10:52:10 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard f367051afe Parameters to virtual memory functions need to be SIZE_T. 2005-09-12 15:35:04 +00:00
Eric Pouech b3badc7dd3 - rewrite kernel32:{Set|Get}PriorityClass on top of ntdll equivalent
- priority for process in wineserver is now the NTDLL form (no longer
  the kernel32 one)
2005-09-06 10:25:11 +00:00
Ivan Leo Puoti 6e508761bf Get ExitProcess to call NtTerminateProcess. 2005-09-06 09:25:19 +00:00
Alexandre Julliard 73cb76542f Rewrote Get/SetHandleInformation to call the corresponding ntdll
functions.
2005-08-23 18:20:59 +00:00
Alexandre Julliard 19c1af5b01 Set the default system dir to windows/system32. 2005-08-15 14:53:35 +00:00
Alexandre Julliard 915aebb852 Moved the version initialization to ntdll.
Properly set the version fields in the PEB.
Removed some no longer used structures.
2005-08-10 13:12:27 +00:00
Alexandre Julliard 3be8cb8b02 Moved initialization of the default user process parameters to ntdll. 2005-07-14 12:33:30 +00:00
Alexandre Julliard 9ad5628639 Moved the server start time to the init_thread request and got rid of
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00
Alexandre Julliard 11ad6a0ac4 Return the startup info size in the init_thread request, and allocate
the process parameters structure in ntdll instead of kernel.
2005-07-13 19:43:35 +00:00
Alexandre Julliard 4391be583e Get rid of the boot_done request. 2005-07-13 14:20:13 +00:00
Alexandre Julliard 0424f38169 Already initialize the process in the first init_thread request
instead of waiting for the init_process request.
2005-07-13 12:12:43 +00:00
Alexandre Julliard 01caa5e645 Moved the fields that depends on startup info from the init_process
request to get_startup_info.
2005-07-12 20:27:09 +00:00
Eric Pouech 6d68a03d4f Implemented OpenProcess on top of NtOpenProcess. 2005-06-27 11:12:11 +00:00
Mike McCormack 405ac7a80c - don't include winreg.h
- include kernel_private.h to get declaration for convert_old_config()
2005-06-20 10:40:37 +00:00
Mike McCormack 5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Mike McCormack 0f36d124a2 Fix warnings from -Wmissing-declarations. 2005-06-14 11:42:34 +00:00
Alexandre Julliard bd000a0203 Removed some unnecessary inclusions of thread.h 2005-06-06 20:13:08 +00:00
Alexandre Julliard 4a334aed3c Move all the old config conversion code to a new oldconfig.c file, and
get rid of misc/registry.c and the misc directory.
2005-04-20 15:43:36 +00:00
Alexandre Julliard f1020bc6e0 Added support for the TLS expansion slots, adding an extra 1024
entries.
2005-03-19 17:14:12 +00:00