mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 10:50:49 +00:00
Kernel: Added the ability to set the hostname via new syscall
Userland/hostname: Now takes parameter to set the hostname LibC/unistd: Added sethostname function
This commit is contained in:
parent
03f68a51af
commit
f191b84b50
Notes:
sideshowbarker
2024-07-19 07:17:18 +09:00
Author: https://github.com/lukepayne 🔰
Commit: f191b84b50
Pull-request: https://github.com/SerenityOS/serenity/pull/1963
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
7 changed files with 40 additions and 9 deletions
|
@ -36,7 +36,7 @@ struct GlobalState {
|
|||
String username;
|
||||
String home;
|
||||
char ttyname[32];
|
||||
char hostname[32];
|
||||
char hostname[64];
|
||||
uid_t uid;
|
||||
struct termios termios;
|
||||
struct termios default_termios;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue