mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 07:22:22 +00:00
Kernel+LibC: Implement setregid(2)
This copies and adapts the setresgid syscall, following in the footsteps of setreuid and setresuid.
This commit is contained in:
parent
2a502fe232
commit
70337f3a4b
Notes:
sideshowbarker
2024-07-17 16:23:55 +09:00
Author: https://github.com/sin-ack
Commit: 70337f3a4b
Pull-request: https://github.com/SerenityOS/serenity/pull/15428
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/timschumi
5 changed files with 43 additions and 0 deletions
|
@ -369,6 +369,7 @@ public:
|
|||
ErrorOr<FlatPtr> sys$setgid(GroupID);
|
||||
ErrorOr<FlatPtr> sys$setreuid(UserID, UserID);
|
||||
ErrorOr<FlatPtr> sys$setresuid(UserID, UserID, UserID);
|
||||
ErrorOr<FlatPtr> sys$setregid(GroupID, GroupID);
|
||||
ErrorOr<FlatPtr> sys$setresgid(GroupID, GroupID, GroupID);
|
||||
ErrorOr<FlatPtr> sys$alarm(unsigned seconds);
|
||||
ErrorOr<FlatPtr> sys$faccessat(Userspace<Syscall::SC_faccessat_params const*>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue