[systemd-devel] [PATCH] missing: define MS_REC and MS_SHARED if not defined already

Lennart Poettering lennart at poettering.net
Tue Feb 12 15:08:08 PST 2013


On Tue, 12.02.13 14:26, Aleksander Morgado (aleksander at lanedo.com) wrote:

Applied. Thanks!
> ---
>  src/shared/missing.h | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/src/shared/missing.h b/src/shared/missing.h
> index c53579f..d4ba0d3 100644
> --- a/src/shared/missing.h
> +++ b/src/shared/missing.h
> @@ -196,6 +196,14 @@ static inline pid_t gettid(void) {
>  #define MS_STRICTATIME (1<<24)
>  #endif
>  
> +#ifndef MS_REC
> +#define MS_REC 16384
> +#endif
> +
> +#ifndef MS_SHARED
> +#define MS_SHARED (1<<20)
> +#endif
> +
>  #ifndef PR_SET_NO_NEW_PRIVS
>  #define PR_SET_NO_NEW_PRIVS 38
>  #endif


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list