Re: [PATCH V5 08/13] sched: add a macro to ref all CLONE_NEW* flags

From: Serge E. Hallyn
Date: Mon Oct 13 2014 - 09:15:12 EST


Quoting Richard Guy Briggs (rgb@xxxxxxxxxx):
> ---

Acked-by: Serge Hallyn <serge.hallyn@xxxxxxxxxxxxx>

> include/uapi/linux/sched.h | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h
> index 34f9d73..5aceba2 100644
> --- a/include/uapi/linux/sched.h
> +++ b/include/uapi/linux/sched.h
> @@ -28,6 +28,12 @@
> #define CLONE_NEWUSER 0x10000000 /* New user namespace */
> #define CLONE_NEWPID 0x20000000 /* New pid namespace */
> #define CLONE_NEWNET 0x40000000 /* New network namespace */
> +#define CLONE_NEW_MASK ( CLONE_NEWNS \
> + | CLONE_NEWUTS \
> + | CLONE_NEWIPC \
> + | CLONE_NEWUSER \
> + | CLONE_NEWPID \
> + | CLONE_NEWNET) /* mask of all namespace type flags */
> #define CLONE_IO 0x80000000 /* Clone io context */
>
> /*
> --
> 1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/