aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/lchmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/lchmod.c')
-rw-r--r--ports/linux/guts/lchmod.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/linux/guts/lchmod.c b/ports/linux/guts/lchmod.c
new file mode 100644
index 0000000..da330a7
--- /dev/null
+++ b/ports/linux/guts/lchmod.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2021 Linux Foundation
+ *
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ * static int
+ * wrap_lchmod(const char *path, mode_t mode) {
+ */
+
+ rc = wrap_fchmodat(AT_FDCWD, path, mode, AT_SYMLINK_NOFOLLOW);
+
+/* return rc;
+ * }
+ */