am 21f7ef9e: am d8450043: Merge "Update MS_ mount flags, define unshare() syscall." into jb-mr1-dev

* commit '21f7ef9eb269f75d7c291b4c574eabc865bf4362':
  Update MS_ mount flags, define unshare() syscall.
This commit is contained in:
Jeff Sharkey 2012-08-14 12:11:01 -07:00 committed by Android Git Automerger
commit 0febe091a5
2 changed files with 5 additions and 1 deletions

View File

@ -71,6 +71,7 @@ extern int sched_rr_get_interval(pid_t pid, struct timespec *tp);
#ifdef _GNU_SOURCE
extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
extern int unshare(int);
#endif
/* Support for cpu thread affinity */

View File

@ -51,7 +51,10 @@ __BEGIN_DECLS
#define MS_REC 16384
#define MS_VERBOSE 32768
#define MS_POSIXACL (1<<16) /* VFS does not apply the umask */
#define MS_ONE_SECOND (1<<17) /* fs has 1 sec a/m/ctime resolution */
#define MS_UNBINDABLE (1<<17) /* change to unbindable */
#define MS_PRIVATE (1<<18) /* change to private */
#define MS_SLAVE (1<<19) /* change to slave */
#define MS_SHARED (1<<20) /* change to shared */
#define MS_ACTIVE (1<<30)
#define MS_NOUSER (1<<31)