1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-15 00:11:00 +00:00
serenity/Kernel/FileSystem/SysFS/Subsystems/Kernel/Configuration/Directory.h
Liav A 751aae77bc 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.
2023-08-27 22:50:22 +02:00

24 lines
590 B
C++

/*
* Copyright (c) 2021-2023, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
#include <Kernel/FileSystem/SysFS/Component.h>
#include <Kernel/FileSystem/SysFS/RootDirectory.h>
namespace Kernel {
class SysFSKernelConfigurationDirectory : public SysFSDirectory {
public:
static NonnullRefPtr<SysFSKernelConfigurationDirectory> must_create(SysFSDirectory const&);
virtual StringView name() const override { return "conf"sv; }
private:
explicit SysFSKernelConfigurationDirectory(SysFSDirectory const&);
};
}