[systemd-devel] [PATCH 2/2] missing: add macros for OFD locks

David Herrmann dh.herrmann at gmail.com
Sat Jan 17 03:46:40 PST 2015


Hi

On Thu, Jan 15, 2015 at 10:25 PM, Michael Marineau
<michael.marineau at coreos.com> wrote:
> ---
>  src/shared/missing.h | 6 ++++++
>  1 file changed, 6 insertions(+)

I applied this patch, but left patch 1/2 for Tom to review.

Thanks
David

> diff --git a/src/shared/missing.h b/src/shared/missing.h
> index cdc38b2..d074405 100644
> --- a/src/shared/missing.h
> +++ b/src/shared/missing.h
> @@ -79,6 +79,12 @@
>  #define F_SEAL_WRITE    0x0008  /* prevent writes */
>  #endif
>
> +#ifndef F_OFD_GETLK
> +#define F_OFD_GETLK     36
> +#define F_OFD_SETLK     37
> +#define F_OFD_SETLKW    38
> +#endif
> +
>  #ifndef MFD_ALLOW_SEALING
>  #define MFD_ALLOW_SEALING 0x0002U
>  #endif
> --
> 2.0.5
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list