Seems that in Micro-kernel, fd/socket are in different name space natively because they go to different servers. But sometimes, a fd/socket may be valid for both FS and network. How do we differ them? Any comments about this?
-----邮件原件----- 发件人: wangjianjian (C) 发送时间: 2019年2月28日 15:58 收件人: [email protected] 主题: HelenOS socket(fd) management Hi all, In HelenOS, FS's fd is managed by VFS, from a fixed-size array. But for network, how socket, which we can see it as another kind of fd, comes from? For a single process, are they managed separately? I don't find socket from code. I glance at Minix3 's code, seems they manage FS fd and socket separately, which means they can be same for a process. Thanks for your help. Best, Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
