diff options
author | dzwdz | 2024-08-18 23:06:26 +0200 |
---|---|---|
committer | dzwdz | 2024-08-18 23:06:26 +0200 |
commit | 8b4a2d50de67b746bcc472bd46c55d83eff668fc (patch) | |
tree | 21bcf9814b07bc54e7705f4e9ae93528d627e838 /src/libk/include | |
parent | 446acde84c7f244792bf412996678254ee296356 (diff) |
Diffstat (limited to 'src/libk/include')
-rw-r--r-- | src/libk/include/camellia/errno.h | 1 | ||||
-rw-r--r-- | src/libk/include/camellia/syscalls.h | 2 | ||||
-rw-r--r-- | src/libk/include/camellia/types.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/libk/include/camellia/errno.h b/src/libk/include/camellia/errno.h index eaeae38..8a424f2 100644 --- a/src/libk/include/camellia/errno.h +++ b/src/libk/include/camellia/errno.h @@ -35,3 +35,4 @@ #define EADDRINUSE 215 #define ENOSPC 216 #define ECONNREFUSED 217 +#define E2BIG 218 diff --git a/src/libk/include/camellia/syscalls.h b/src/libk/include/camellia/syscalls.h index b8dd52e..887d084 100644 --- a/src/libk/include/camellia/syscalls.h +++ b/src/libk/include/camellia/syscalls.h @@ -26,6 +26,7 @@ #define _SYS_DUPLEX 25 #define _SYS_INTR_RETURN 26 #define _SYS_GETXATTR 27 +#define _SYS_SETXATTR 28 #define _SYS_EXECBUF 100 #define _SYS_DEBUG_KLOG 101 @@ -97,6 +98,7 @@ long _sys_duplex(hid_t from, hid_t to, int flags); void _sys_intr_return(struct intr_data __user *intr, int flags); ssize_t _sys_getxattr(hid_t h, const char __user *name, void __user *buf, size_t len, int flags); +ssize_t _sys_setxattr(hid_t h, const char __user *name, const void __user *buf, size_t len, int flags); /* see shared/execbuf.h */ long _sys_execbuf(void __user *buf, size_t len); diff --git a/src/libk/include/camellia/types.h b/src/libk/include/camellia/types.h index 6864d4c..70af409 100644 --- a/src/libk/include/camellia/types.h +++ b/src/libk/include/camellia/types.h @@ -25,6 +25,7 @@ enum vfs_op { VFSOP_CLOSE, VFSOP_DUPLEX, VFSOP_GETXATTR, + VFSOP_SETXATTR, }; struct ufs_request { |