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

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



This series depends on:
1) "build: smarter dependencies"
2) "build: isolate symbols inside libraries"

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()

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                   | 100 +++++++++++++++++++++++++++++
 lib/vfscore/file.c                 |  93 +++++++++++++++++++++++++++
 lib/vfscore/include/vfscore/file.h |  60 +++++++++++++++++
 lib/vfscore/stdio.c                |  79 +++++++++++++++++++++++
 8 files changed, 398 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®.