mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:18:12 +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
|
@ -501,7 +501,7 @@ static ErrorOr<void> create_tmp_coredump_directory()
|
|||
static ErrorOr<void> set_default_coredump_directory()
|
||||
{
|
||||
dbgln("Setting /tmp/coredump as the coredump directory");
|
||||
auto sysfs_coredump_directory_variable_fd = TRY(Core::System::open("/sys/kernel/variables/coredump_directory"sv, O_RDWR));
|
||||
auto sysfs_coredump_directory_variable_fd = TRY(Core::System::open("/sys/kernel/conf/coredump_directory"sv, O_RDWR));
|
||||
ScopeGuard close_on_exit([&] {
|
||||
close(sysfs_coredump_directory_variable_fd);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue