summaryrefslogtreecommitdiff
path: root/include/apr_file_info.h
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2004-04-21 21:11:21 +0000
committerJoe Orton <jorton@apache.org>2004-04-21 21:11:21 +0000
commit426f7fcc02530edc6eea69052a0d81f2734b94e0 (patch)
tree9b5951f92bfcdf11d669a851407501719aac83a9 /include/apr_file_info.h
parentcb5417236c722355bb571481cf859b8a67eb5d27 (diff)
downloadapr-426f7fcc02530edc6eea69052a0d81f2734b94e0.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: https://svn.apache.org/repos/asf/apr/apr/trunk@65074 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_file_info.h')
-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 */