mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
Kernel: Fix cloning file descriptions on fork
After a fork, the parent and the child are supposed to share the same file description. For example, modifying the current offset of a file description is visible in both of them.
This commit is contained in:
parent
2396b2ed70
commit
1606261c58
3 changed files with 1 additions and 22 deletions
|
@ -26,8 +26,6 @@ public:
|
|||
static NonnullRefPtr<FileDescription> create(File&, SocketRole = SocketRole::None);
|
||||
~FileDescription();
|
||||
|
||||
NonnullRefPtr<FileDescription> clone();
|
||||
|
||||
int close();
|
||||
|
||||
off_t seek(off_t, int whence);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue