git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'interrupt-rework' into prog-loader
[lunaix-os.git]
/
lunaix-os
/
kernel
/
fs
/
xattr.c
diff --git
a/lunaix-os/kernel/fs/xattr.c
b/lunaix-os/kernel/fs/xattr.c
index 94f85b76dce7489708124e87a8a34f7988e4451d..6fdb300727f574972c5c3b99d104956681111efd 100644
(file)
--- a/
lunaix-os/kernel/fs/xattr.c
+++ b/
lunaix-os/kernel/fs/xattr.c
@@
-1,7
+1,11
@@
#include <klibc/string.h>
#include <lunaix/fs.h>
#include <lunaix/mm/valloc.h>
#include <klibc/string.h>
#include <lunaix/fs.h>
#include <lunaix/mm/valloc.h>
+#include <lunaix/process.h>
#include <lunaix/syscall.h>
#include <lunaix/syscall.h>
+#include <lunaix/syscall_utils.h>
+
+#define DO_STATUS(errno) SYSCALL_ESTATUS(__current->k_status = errno)
struct v_xattr_entry*
xattr_new(struct hstr* name)
struct v_xattr_entry*
xattr_new(struct hstr* name)