From 764e1235da28b2aeeb79c946d7a71bda2b4b9eb5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 3 Sep 2014 13:48:38 -0600 Subject: [PATCH] Add a flag to group structure: If the group is created by a kernel thread, then all resources in the group must be priviliged --- include/nuttx/sched.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h index 4b5d6b5a5d9..9d1cfbe9451 100644 --- a/include/nuttx/sched.h +++ b/include/nuttx/sched.h @@ -134,6 +134,7 @@ #define GROUP_FLAG_NOCLDWAIT (1 << 0) /* Bit 0: Do not retain child exit status */ #define GROUP_FLAG_ADDRENV (1 << 1) /* Bit 1: Group has an address environment */ +#define GROUP_FLAG_PRIVILEGED (1 << 2) /* Bit 2: Group is privileged */ /* Values for struct child_status_s ch_flags */