mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
Kernel: Rename /sys/kernel/variables => /sys/kernel/conf
The name "variables" is a bit awkward and what the directory entries are really about is kernel configuration so let's make it clear with the new name.
This commit is contained in:
parent
3151099b21
commit
751aae77bc
24 changed files with 99 additions and 99 deletions
|
@ -29,7 +29,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::unveil("/bin/keymap", "x"));
|
||||
TRY(Core::System::unveil("/bin/sysctl", "x"));
|
||||
TRY(Core::System::unveil("/sys/kernel/keymap", "r"));
|
||||
TRY(Core::System::unveil("/sys/kernel/variables/caps_lock_to_ctrl", "r"));
|
||||
TRY(Core::System::unveil("/sys/kernel/conf/caps_lock_to_ctrl", "r"));
|
||||
TRY(Core::System::unveil("/etc/Keyboard.ini", "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue