diff options
author | Andreas Kling <awesomekling@gmail.com> | 2020-01-02 20:11:08 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-02 20:51:31 +0100 |
commit | 8eb20bdfa2f6e00307a5e7b8243c7eaeac2d245d (patch) | |
tree | a6872b91d7b753b51c5baac8512945ff6e2bddbb /Kernel/KSyms.cpp | |
parent | 51a9e31fb2b330c3f79ae2a5efad972a2cf5bb8f (diff) | |
download | serenity-8eb20bdfa2f6e00307a5e7b8243c7eaeac2d245d.zip |
Kernel: Move kernel symbols to /res/kernel.map and make it root-only
Let's lock down access to the kernel symbol table, since it trivializes
learning where the kernel functions are.
Of course, you can just build the same revision yourself locally and
learn the information, but we're taking one step at a time here. :^)
Diffstat (limited to 'Kernel/KSyms.cpp')
-rw-r--r-- | Kernel/KSyms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/KSyms.cpp b/Kernel/KSyms.cpp index 55464d3274..2ab5f84e70 100644 --- a/Kernel/KSyms.cpp +++ b/Kernel/KSyms.cpp @@ -151,7 +151,7 @@ void dump_backtrace() void load_ksyms() { - auto result = VFS::the().open("/kernel.map", 0, 0, VFS::the().root_custody()); + auto result = VFS::the().open("/res/kernel.map", 0, 0, VFS::the().root_custody()); ASSERT(!result.is_error()); auto description = result.value(); auto buffer = description->read_entire_file(); |