[NTOS:SE] Implement job case in PsImpersonateClient. CORE-8787

This commit is contained in:
Thomas Faber 2020-05-11 08:41:38 +02:00
parent 2d7f71c5b8
commit db180c29c7
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
2 changed files with 36 additions and 2 deletions

View file

@ -216,6 +216,14 @@ extern POBJECT_TYPE NTSYSAPI PsJobType;
#define JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK 0x1000
#define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x2000
//
// Job Security Limit Flags
//
#define JOB_OBJECT_SECURITY_NO_ADMIN 0x0001
#define JOB_OBJECT_SECURITY_RESTRICTED_TOKEN 0x0002
#define JOB_OBJECT_SECURITY_ONLY_TOKEN 0x0004
#define JOB_OBJECT_SECURITY_FILTER_TOKENS 0x0008
//
// Cross Thread Flags
//