Add extended attribute (xattr) syscalls: setxattr, getxattr, listxattr and removexattr

This commit is contained in:
Shaowei Song
2025-03-28 05:58:37 +00:00
committed by Tate, Hongliang Tian
parent 8b5a6f0d58
commit a47eda413c
11 changed files with 649 additions and 15 deletions

View File

@ -15,7 +15,7 @@ support the loading of Linux kernel modules.
## System Calls
At the time of writing,
Asterinas implements 190 out of the 336 system calls
Asterinas implements 204 out of the 336 system calls
provided by Linux on x86-64 architecture.
| Numbers | Names | Is Implemented |
@ -208,18 +208,18 @@ provided by Linux on x86-64 architecture.
| 185 | security | ❌ |
| 186 | gettid | ✅ |
| 187 | readahead | ❌ |
| 188 | setxattr | |
| 189 | lsetxattr | |
| 190 | fsetxattr | |
| 191 | getxattr | |
| 192 | lgetxattr | |
| 193 | fgetxattr | |
| 194 | listxattr | |
| 195 | llistxattr | |
| 196 | flistxattr | |
| 197 | removexattr | |
| 198 | lremovexattr | |
| 199 | fremovexattr | |
| 188 | setxattr | |
| 189 | lsetxattr | |
| 190 | fsetxattr | |
| 191 | getxattr | |
| 192 | lgetxattr | |
| 193 | fgetxattr | |
| 194 | listxattr | |
| 195 | llistxattr | |
| 196 | flistxattr | |
| 197 | removexattr | |
| 198 | lremovexattr | |
| 199 | fremovexattr | |
| 200 | tkill | ❌ |
| 201 | time | ✅ |
| 202 | futex | ✅ |