aboutsummaryrefslogtreecommitdiffstats
path: root/guts
diff options
context:
space:
mode:
authorPeter Seebach <seebs@eee12.(none)>2010-05-17 15:51:36 -0500
committerPeter Seebach <seebs@eee12.(none)>2010-05-17 15:51:36 -0500
commit0c52672c99b98ab0e4b9d12c78d3b0ddadbdf3c5 (patch)
tree741d202d2274b5384c856b4dd358874f0128b46a /guts
parentf50c532107b1401d2ebb05c8dd03fbd655f16e6a (diff)
downloadpseudo-0c52672c99b98ab0e4b9d12c78d3b0ddadbdf3c5.tar.gz
pseudo-0c52672c99b98ab0e4b9d12c78d3b0ddadbdf3c5.tar.bz2
pseudo-0c52672c99b98ab0e4b9d12c78d3b0ddadbdf3c5.zip
Add getxattr/lgetxattr. Note that we don't need to support
fgetxattr, since it doesn't use a path name.
Diffstat (limited to 'guts')
-rw-r--r--guts/getxattr.c14
-rw-r--r--guts/lgetxattr.c14
2 files changed, 28 insertions, 0 deletions
diff --git a/guts/getxattr.c b/guts/getxattr.c
new file mode 100644
index 0000000..ce2a618
--- /dev/null
+++ b/guts/getxattr.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2010 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * static ssize_t
+ * wrap_getxattr(const char *path, const char *name, void *value, size_t size) {
+ * ssize_t rc = -1;
+ */
+
+ rc = real_getxattr(path, name, value, size);
+
+/* return rc;
+ * }
+ */
diff --git a/guts/lgetxattr.c b/guts/lgetxattr.c
new file mode 100644
index 0000000..f503bde
--- /dev/null
+++ b/guts/lgetxattr.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2010 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * static ssize_t
+ * wrap_lgetxattr(const char *path, const char *name, void *value, size_t size) {
+ * ssize_t rc = -1;
+ */
+
+ rc = real_lgetxattr(path, name, value, size);
+
+/* return rc;
+ * }
+ */