diff options
author | dzwdz | 2024-08-17 17:10:04 +0200 |
---|---|---|
committer | dzwdz | 2024-08-17 17:10:04 +0200 |
commit | 2ea826b428246eb62be81630f441a4367a675968 (patch) | |
tree | f2bb2c528f3e496efed741c5ecdfd4f922547067 /src/libc | |
parent | 3609248bab04e0d273bb58d2544034b3ed7c35e0 (diff) |
*: getxattr
Diffstat (limited to 'src/libc')
-rw-r--r-- | src/libc/syscall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libc/syscall.c b/src/libc/syscall.c index 023a7bb..6577141 100644 --- a/src/libc/syscall.c +++ b/src/libc/syscall.c @@ -106,6 +106,10 @@ void _sys_intr_return(struct intr_data __user *intr, int flags) { return (void)_syscall(_SYS_INTR_RETURN, (long)intr, (long)flags, 0, 0, 0); } +ssize_t _sys_getxattr(hid_t h, const char __user *name, void __user *buf, size_t len, int flags) { + return (ssize_t)_syscall(_SYS_GETXATTR, (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); } |