X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fmissing.h;h=df3fd0e839d59ef47882041e638bce112f7809f1;hb=e627440b41bb0284e4892f7aa9d84c77972487e2;hp=0cf7949d2cbde548c854af630c4fc2cd6a4720ce;hpb=48ac500bb65f1f2eb09704f15104eeebb9330d47;p=elogind.git diff --git a/src/shared/missing.h b/src/shared/missing.h index 0cf7949d2..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. @@ -188,4 +187,10 @@ static inline pid_t gettid(void) { #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