summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-04-21 21:11:21 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-04-21 21:11:21 +0000
commitfced2150de6e1844a4958a5428f6b51d054c5233 (patch)
tree9b5951f92bfcdf11d669a851407501719aac83a9 /include
parent5eeea9ed8de3d91b7de1d2447e08101983d93f4d (diff)
downloadlibapr-fced2150de6e1844a4958a5428f6b51d054c5233.tar.gz
* include/apr_file_info.h, file_io/unix/fileacc.c (apr_unix_mode2perms,
apr_unix_perms2mode): Support setuid, setgid and sticky bits. Submitted by: Andr�� Malo <nd@perlig.de> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65074 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr_file_info.h3
1 files changed, 3 insertions, 0 deletions
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 */