diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-03 13:48:38 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-03 13:48:38 -0600 |
commit | 587143ba2aaee90963c29e865ee1474ee3b76234 (patch) | |
tree | c4fd3d9523972952e04aa4604d11b9ebb8b0cf03 /nuttx | |
parent | a55e7019368fbea82399cfa6901a87920d295805 (diff) | |
download | nuttx-587143ba2aaee90963c29e865ee1474ee3b76234.tar.gz nuttx-587143ba2aaee90963c29e865ee1474ee3b76234.tar.bz2 nuttx-587143ba2aaee90963c29e865ee1474ee3b76234.zip |
Add a flag to group structure: If the group is created by a kernel thread, then all resources in the group must be priviliged
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/include/nuttx/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/sched.h b/nuttx/include/nuttx/sched.h index 4b5d6b5a5..9d1cfbe94 100644 --- a/nuttx/include/nuttx/sched.h +++ b/nuttx/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 */ |