6 Commits
Author SHA1 Message Date
Adin ScannellandgVisor bot 1ceb814544 Add default_applicable_licenses rules to packages.
PiperOrigin-RevId: 513581243
2023-03-02 10:50:04 -08:00
Ayush RanjanandgVisor bot 1fa3c06f1e Delete VFS1 completely.
- Delete pkg/sentry/fs/*.
- Move pkg/sentry/fs/fsutil out of VFS1 directory and remove VFS1 components.
- Remove remaining unused references to VFS1 from remaining codebase.
- Rename/refactor code to avoid even referencing VFS2, unless necessary.
- Rewrite VFS1-only tests to VFS2.

Updates #1624

PiperOrigin-RevId: 490064269
2022-11-21 13:57:52 -08:00
Zyad A. Ali 13d36561b8 Return FDs in RegistryImpl functions and use Views.
Update RegistryImpl functions to return file descriptions, instead of
queues, and use Views in queue inodes.

Updates #136
2021-09-28 20:43:52 +02:00
Zyad A. Ali e452ecd495 Create mq.Registry and mqfs.RegistryImpl.
Define a POSIX message queue Registry and RegistryImpl in mq package,
implement RegistryImpl in mqfs, and add a Registry object to
IPCNamespace initialized at filesystem creation.

Updates #136
2021-09-17 11:16:07 +02:00
Zyad A. Ali 0061d0e4e5 Implement queueInode and queueFD in mqfs.
Implement inode and file description representing a POSIX message queue,
and other utilities needed to implement file operations.

Updates #136
2021-09-15 21:56:35 +02:00
Zyad A. Ali 1c8a014e7e Create mq package.
Create package mq to implement POSIX message queues, and define initial
struct definitions.

Updates #136
2021-09-15 21:56:35 +02:00