X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fmissing.h;h=df3fd0e839d59ef47882041e638bce112f7809f1;hb=ac6a4abed3e69daf6795e02fa4be1719ae6ae6ab;hp=ecedf72ab790a9e6a2b438fde3028bd77324f123;hpb=990478a0ef17c59a29a644c3b2efaca2db66021e;p=elogind.git diff --git a/src/shared/missing.h b/src/shared/missing.h index ecedf72ab..df3fd0e83 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foomissinghfoo -#define foomissinghfoo +#pragma once /*** This file is part of systemd. @@ -184,4 +183,14 @@ static inline pid_t gettid(void) { #define SCM_SECURITY 0x03 #endif +#ifndef MS_STRICTATIME +#define MS_STRICTATIME (1<<24) +#endif + +#ifndef PR_SET_NO_NEW_PRIVS +#define PR_SET_NO_NEW_PRIVS 38 +#endif + +#ifndef PR_SET_CHILD_SUBREAPER +#define PR_SET_CHILD_SUBREAPER 36 #endif