1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Kernel+LibC+LibCore: Add lchown and fchownat functions

This modifies sys$chown to allow specifying whether or not to follow
symlinks and in which directory.

This was then used to implement lchown and fchownat in LibC and LibCore.
This commit is contained in:
circl 2021-12-31 19:20:17 +01:00 committed by Andreas Kling
parent 344cfa0db4
commit 63760603f3
8 changed files with 64 additions and 7 deletions

View file

@ -400,6 +400,8 @@ struct SC_chown_params {
StringArgument path;
u32 uid;
u32 gid;
int dirfd;
int follow_symlinks;
};
struct SC_mknod_params {