summaryrefslogtreecommitdiffstats
path: root/common/os_calls.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2011-07-07 09:09:03 -0700
committerJay Sorg <jay.sorg@gmail.com>2011-07-07 09:09:03 -0700
commitc5b1b0fe454f5f9ff797b6b68ae3abe6cda49404 (patch)
tree01c1b7d28c02b34c5c550f80bbcb5886e6e3cfb3 /common/os_calls.c
parent6343a1ae3dc31ca41693eb918777bd20e54c3435 (diff)
downloadxrdp-proprietary-c5b1b0fe454f5f9ff797b6b68ae3abe6cda49404.tar.gz
xrdp-proprietary-c5b1b0fe454f5f9ff797b6b68ae3abe6cda49404.zip
added g_chown
Diffstat (limited to 'common/os_calls.c')
-rw-r--r--common/os_calls.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c
index 4004fdfc..0993b650 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -1196,6 +1196,14 @@ g_chmod_hex(const char* filename, int flags)
}
/*****************************************************************************/
+/* returns error, zero is ok */
+int APP_CC
+g_chown(const char* name, int uid, int gid)
+{
+ return chown(name, uid, gid);
+}
+
+/*****************************************************************************/
/* returns error, always zero */
int APP_CC
g_mkdir(const char* dirname)