aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/lchown.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/lchown.c')
-rw-r--r--ports/linux/guts/lchown.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/linux/guts/lchown.c b/ports/linux/guts/lchown.c
new file mode 100644
index 0000000..4eb1202
--- /dev/null
+++ b/ports/linux/guts/lchown.c
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2008-2010 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * static int
+ * wrap_lchown(const char *path, uid_t owner, gid_t group) {
+ */
+
+ rc = wrap_fchownat(AT_FDCWD, path, owner, group, AT_SYMLINK_NOFOLLOW);
+
+/* return rc;
+ * }
+ */