Commit in reactos/ntoskrnl/ps on MAIN
job.c+4-41.5 -> 1.6
proper job access mapping

reactos/ntoskrnl/ps
job.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- job.c	22 Sep 2004 22:31:46 -0000	1.5
+++ job.c	23 Sep 2004 16:31:21 -0000	1.6
@@ -21,10 +21,10 @@
 LIST_ENTRY PsJobListHead;
 static KSPIN_LOCK PsJobListLock;
 
-static GENERIC_MAPPING PiJobMapping = {PROCESS_READ,
-                                       PROCESS_WRITE,
-                                       PROCESS_EXECUTE,
-                                       PROCESS_ALL_ACCESS};
+static GENERIC_MAPPING PiJobMapping = {STANDARD_RIGHTS_READ | JOB_OBJECT_QUERY,
+                                       STANDARD_RIGHTS_WRITE | JOB_OBJECT_ASSIGN_PROCESS | JOB_OBJECT_SET_ATTRIBUTES | JOB_OBJECT_TERMINATE | JOB_OBJECT_SET_SECURITY_ATTRIBUTES,
+                                       STANDARD_RIGHTS_EXECUTE | SYNCHRONIZE,
+                                       STANDARD_RIGHTS_ALL | JOB_OBJECT_ALL_ACCESS};
 
 /* FUNCTIONS *****************************************************************/
 
CVSspam 0.2.8