From 426f7fcc02530edc6eea69052a0d81f2734b94e0 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Wed, 21 Apr 2004 21:11:21 +0000 Subject: * include/apr_file_info.h, file_io/unix/fileacc.c (apr_unix_mode2perms, apr_unix_perms2mode): Support setuid, setgid and sticky bits. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Submitted by: Andr�� Malo git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65074 13f79535-47bb-0310-9956-ffa450edef68 --- include/apr_file_info.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/apr_file_info.h') diff --git a/include/apr_file_info.h b/include/apr_file_info.h index c608fb878..6ec130d79 100644 --- a/include/apr_file_info.h +++ b/include/apr_file_info.h @@ -75,14 +75,17 @@ typedef enum { * @{ */ +#define APR_USETID 0x0800 /**< Set user id */ #define APR_UREAD 0x0400 /**< Read by user */ #define APR_UWRITE 0x0200 /**< Write by user */ #define APR_UEXECUTE 0x0100 /**< Execute by user */ +#define APR_GSETID 0x0080 /**< Set group id */ #define APR_GREAD 0x0040 /**< Read by group */ #define APR_GWRITE 0x0020 /**< Write by group */ #define APR_GEXECUTE 0x0010 /**< Execute by group */ +#define APR_WSTICKY 0x0008 /**< Sticky bit */ #define APR_WREAD 0x0004 /**< Read by others */ #define APR_WWRITE 0x0002 /**< Write by others */ #define APR_WEXECUTE 0x0001 /**< Execute by others */ -- cgit v1.2.1