| Issue |
166856
|
| Summary |
[libc] Implement fchown
|
| Labels |
libc
|
| Assignees |
|
| Reporter |
michaelrj-google
|
Described in POSIX: https://pubs.opengroup.org/onlinepubs/9799919799/functions/fchown.html
The chown is a syscall wrapper for updating the ownership of a file.
Here's a checklist for what you'll need to do for this:
- [ ] Add the implementation of `fchown` in [`/src/unistd`](https://github.com/llvm/llvm-project/tree/main/libc/src/unistd)
- [ ] Add tests for `fchown` in [`/test/src/unistd`](https://github.com/llvm/llvm-project/tree/main/libc/test/src/unistd) (they don't need to test much, just make sure the syscall wrapper passes and fails appropriately)
- [ ] Add `fchown` to [`entrypoints.txt`](https://github.com/llvm/llvm-project/blob/main/libc/config/linux/x86_64/entrypoints.txt) for at least x86_64 and whatever you're building on
- [ ] Add `fchown` to [`include/unistd.yaml`](https://github.com/llvm/llvm-project/blob/main/libc/include/unistd.yaml)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs