X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fexternal%2Fheimdal%2Froken%2Froken.h.in;h=598ff241b863f8a5f4c15af903177d03ccf0b158;hp=52a786c757a435fe5d8ff8d0197ffb22ac8784bc;hb=6c6e01a87fd58d09c1b8f6022e43b6d2bb9f4f73;hpb=50fa08813b0fa68135e292fa76ce50ee75142884 diff --git a/src/external/heimdal/roken/roken.h.in b/src/external/heimdal/roken/roken.h.in index 52a786c..598ff24 100644 --- a/src/external/heimdal/roken/roken.h.in +++ b/src/external/heimdal/roken/roken.h.in @@ -39,6 +39,7 @@ #include #endif #include +#include #include #ifndef ROKEN_LIB_FUNCTION @@ -259,6 +260,10 @@ struct sockaddr_dl; #include #endif +#ifdef HAVE_DIRECT_H +#include +#endif + #ifdef BACKSLASH_PATH_DELIM #define rk_PATH_DELIM '\\' #endif @@ -352,6 +357,21 @@ rk_vsnprintf (char *str, size_t sz, const char *format, va_list args); S_ISBLK(m) */ +/* The following symbolic constants are provided for rk_mkdir mode */ + +#define S_IRWXU 00700 /* user (file owner) has read, write and execute permission */ +#define S_IRUSR 00400 /* user has read permission */ +#define S_IWUSR 00200 /* user has write permission */ +#define S_IXUSR 00100 /* user has execute permission */ +#define S_IRWXG 00070 /* group has read, write and execute permission */ +#define S_IRGRP 00040 /* group has read permission */ +#define S_IWGRP 00020 /* group has write permission */ +#define S_IXGRP 00010 /* group has execute permission */ +#define S_IRWXO 00007 /* others have read, write and execute permission */ +#define S_IROTH 00004 /* others have read permission */ +#define S_IWOTH 00002 /* others have write permission */ +#define S_IXOTH 00001 /* others have execute permission */ + #if !defined(ROKEN_NO_DEFINE_ALLOCATORS) /* Ensure that a common memory allocator is used by all */ #define calloc rk_calloc