kernel32: Add basic OpenProcess test, make it pass under Wine
Alexandre Julliard
julliard at winehq.org
Wed Nov 8 08:47:53 CST 2006
Dmitry Timoshkov <dmitry at codeweavers.com> writes:
> diff -up a/server/protocol.def b/server/protocol.def
> --- a/server/protocol.def 2006-11-06 18:35:52.000000000 +0800
> +++ b/server/protocol.def 2006-11-06 21:57:22.000000000 +0800
> @@ -335,6 +335,7 @@ struct token_groups
> /* Retrieve information about a process */
> @REQ(get_process_info)
> obj_handle_t handle; /* process handle */
> + unsigned int access; /* wanted access rights */
> @REPLY
> process_id_t pid; /* server process id */
> process_id_t ppid; /* server process id of parent */
Enforcing the proper access rights for a given operation is the
server's job, it doesn't make sense to allow the client to specify
its own access rights.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list