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/libc | |
parent | 446acde84c7f244792bf412996678254ee296356 (diff) |
Diffstat (limited to 'src/libc')
-rw-r--r-- | src/libc/include/__errno.h | 1 | ||||
-rw-r--r-- | src/libc/syscall.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/libc/include/__errno.h b/src/libc/include/__errno.h index 56bd64a..6f971e1 100644 --- a/src/libc/include/__errno.h +++ b/src/libc/include/__errno.h @@ -32,4 +32,5 @@ E(214, "EADDRNOTAVAIL") E(215, "EADDRINUSE") E(216, "ENOSPC") E(217, "ECONNREFUSED") +E(218, "E2BIG") #endif diff --git a/src/libc/syscall.c b/src/libc/syscall.c index 6577141..2366a9f 100644 --- a/src/libc/syscall.c +++ b/src/libc/syscall.c @@ -110,6 +110,10 @@ ssize_t _sys_getxattr(hid_t h, const char __user *name, void __user *buf, size_t return (ssize_t)_syscall(_SYS_GETXATTR, (long)h, (long)name, (long)buf, (long)len, (long)flags); } +ssize_t _sys_setxattr(hid_t h, const char __user *name, const void __user *buf, size_t len, int flags) { + return (ssize_t)_syscall(_SYS_SETXATTR, (long)h, (long)name, (long)buf, (long)len, (long)flags); +} + long _sys_execbuf(void __user *buf, size_t len) { return _syscall(_SYS_EXECBUF, (long)buf, (long)len, 0, 0, 0); } |