From e0d712c6f7525f0872e161ab6f22bb31b49b49ec Mon Sep 17 00:00:00 2001 From: Liav A Date: Sat, 14 Aug 2021 05:04:56 +0300 Subject: Kernel+SystemServer: Defer creation of device nodes to userspace Don't create these device nodes in the Kernel, so we essentially enforce userspace (SystemServer) to take control of this operation and to decide how to create these device nodes. This makes the DevFS to resemble linux devtmpfs, and allows us to remove a bunch of unneeded overriding implementations of device name creation in the Kernel. --- Kernel/FileSystem/OpenFileDescription.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Kernel/FileSystem/OpenFileDescription.h') diff --git a/Kernel/FileSystem/OpenFileDescription.h b/Kernel/FileSystem/OpenFileDescription.h index 04c3c08e61..2c3f1b1cfa 100644 --- a/Kernel/FileSystem/OpenFileDescription.h +++ b/Kernel/FileSystem/OpenFileDescription.h @@ -119,6 +119,7 @@ public: OwnPtr& data() { return m_data; } void set_original_inode(Badge, NonnullRefPtr&& inode) { m_inode = move(inode); } + void set_original_custody(Badge, Custody& custody); KResult truncate(u64); -- cgit v1.2.3