Skip to content

Commit 98e6c32

Browse files
committed
sysdeps/managarm: Stub sys_listxattr
1 parent 90d42bc commit 98e6c32

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sysdeps/managarm/generic/file.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3227,4 +3227,10 @@ int sys_getgroups(size_t size, gid_t *list, int *ret) {
32273227
return 0;
32283228
}
32293229

3230+
int sys_listxattr(const char *, char *, size_t, ssize_t *) {
3231+
// Valid return if the underlying filesystem does not support xattrs, or if they are disabled.
3232+
// As we don't implement them at all, we return ENOTSUP.
3233+
return ENOTSUP;
3234+
}
3235+
32303236
} // namespace mlibc

0 commit comments

Comments
 (0)