diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-18 16:45:26 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-18 16:47:01 -0400 |
commit | 341c360a90a6698a11ffada0feb1527eb1b46a53 (patch) | |
tree | cec4a26027ead84ac2b06925e97f8b2374cb0990 /src/sys/fs/tmpfs.c | |
parent | 67e666762e60080ee85b750220db4664d691fea2 (diff) |
kern: Implement skeleton for POSIX sockets
- Adds POSIX socket()
- Adds POSIX listen()
- Adds vnode socket type
- Adds tmpfs socket awareness
Much work is to be done but this commit provides a solid skeleton
to be built upon.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/fs/tmpfs.c')
-rw-r--r-- | src/sys/fs/tmpfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/fs/tmpfs.c b/src/sys/fs/tmpfs.c index 9046002..3048fb4 100644 --- a/src/sys/fs/tmpfs.c +++ b/src/sys/fs/tmpfs.c @@ -203,6 +203,7 @@ tmpfs_create(struct vop_create_args *args) /* Only accept the types we support */ switch (args->vtype) { case VTYPE_FILE: + case VTYPE_SOCK: break; default: return -ENOTSUP; |