[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v5 0/2] introduce vfscore



The series provides an initial implementation of the vfs abstraction layer.

Changes since v1:
1) Fix a silly mistake at blocking access to std(in|out|err) files -
   the check have to be "fd < 2", not "fd <= 2"
2) Add fops for std(out|err). This makes it a series, not just a single patch

Changes since v2:
1) Fix compiler warrning about droping 'const'
2) Export get_file() - needed for functions like accept()

Changes since v3:
1) Protect file descriptors bitmap with crytical section
2) Use coutk() functions for both stderr and stdout
3) fix copy-paste mistakes

Changes since v4:
1) get_file return -ENFILE on error

Yuri Volchkov (2):
  lib/vfscore: introduce vfscore
  lib/vfscore: implement fops for std(out|err)

 lib/Makefile.uk                    |   1 +
 lib/nolibc/include/unistd.h        |  51 +++++++++++++
 lib/vfscore/Makefile.uk            |   7 ++
 lib/vfscore/export.syms            |   7 ++
 lib/vfscore/fd.c                   | 117 +++++++++++++++++++++++++++++
 lib/vfscore/file.c                 |  97 ++++++++++++++++++++++++
 lib/vfscore/include/vfscore/file.h |  60 +++++++++++++++
 lib/vfscore/stdio.c                |  66 ++++++++++++++++
 8 files changed, 406 insertions(+)
 create mode 100644 lib/nolibc/include/unistd.h
 create mode 100644 lib/vfscore/Makefile.uk
 create mode 100644 lib/vfscore/export.syms
 create mode 100644 lib/vfscore/fd.c
 create mode 100644 lib/vfscore/file.c
 create mode 100644 lib/vfscore/include/vfscore/file.h
 create mode 100644 lib/vfscore/stdio.c

-- 
2.17.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.