mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 14:15:07 +00:00
Kernel+LibC+LibCore+UE: Implement fchmodat(2)
This function is an extended version of `chmod(2)` that lets one control whether to dereference symlinks, and specify a file descriptor to a directory that will be used as the base for relative paths.
This commit is contained in:
parent
5f71925aa4
commit
182016d7c0
10 changed files with 64 additions and 14 deletions
|
@ -478,6 +478,13 @@ struct SC_statvfs_params {
|
|||
struct statvfs* buf;
|
||||
};
|
||||
|
||||
struct SC_chmod_params {
|
||||
int dirfd;
|
||||
StringArgument path;
|
||||
u16 mode;
|
||||
int follow_symlinks;
|
||||
};
|
||||
|
||||
void initialize();
|
||||
int sync();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue