mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:05:08 +00:00
Kernel: Move all code into the Kernel namespace
This commit is contained in:
parent
d42f0f4661
commit
a356e48150
201 changed files with 907 additions and 111 deletions
|
@ -54,6 +54,8 @@
|
|||
#include <LibBareMetal/StdLib.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
enum ProcParentDirectory {
|
||||
PDI_AbstractRoot = 0,
|
||||
PDI_Root,
|
||||
|
@ -1219,7 +1221,7 @@ bool ProcFSInode::traverse_as_directory(Function<bool(const FS::DirectoryEntry&)
|
|||
dbgprintf("ProcFS: traverse_as_directory %u\n", index());
|
||||
#endif
|
||||
|
||||
if (!::is_directory(identifier()))
|
||||
if (!Kernel::is_directory(identifier()))
|
||||
return false;
|
||||
|
||||
auto pid = to_pid(identifier());
|
||||
|
@ -1622,3 +1624,5 @@ KResult ProcFSInode::chown(uid_t, gid_t)
|
|||
{
|
||||
return KResult(-EPERM);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue