mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02: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:
committed by
Andreas Kling
parent
5f71925aa4
commit
182016d7c0
Notes:
sideshowbarker
2024-07-17 21:05:36 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/182016d7c00 Pull-request: https://github.com/SerenityOS/serenity/pull/11826 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/linusg
@@ -57,7 +57,7 @@ public:
|
||||
ErrorOr<void> unlink(StringView path, Custody& base);
|
||||
ErrorOr<void> symlink(StringView target, StringView linkpath, Custody& base);
|
||||
ErrorOr<void> rmdir(StringView path, Custody& base);
|
||||
ErrorOr<void> chmod(StringView path, mode_t, Custody& base);
|
||||
ErrorOr<void> chmod(StringView path, mode_t, Custody& base, int options = 0);
|
||||
ErrorOr<void> chmod(Custody&, mode_t);
|
||||
ErrorOr<void> chown(StringView path, UserID, GroupID, Custody& base, int options);
|
||||
ErrorOr<void> chown(Custody&, UserID, GroupID);
|
||||
|
||||
Reference in New Issue
Block a user