History log of /fuchsia/zircon/system/utest/fs/wrap.c
Revision Date Author Comments
# 379f22fa 06-Jun-2018 Adam Barth <abarth@google.com>

[fdio] Move headers into lib/fdio/...

Change-Id: Ie8d74e716da913bf6e2672c4acf8cd67b4962b7f


# d32fedf3 10-May-2018 Sean Klein <smklein@google.com>

[fs] Execute fs integration tests on mount point in local namespace

This patch reduces the dependency on global "/tmp".

ZX-1722 #comment Done
ZX-1939 #comment In Progress

Change-Id: Ic0ec2e1fe52fafc0e0edb65fa2884af970d9571f


# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 99ed13b3 10-Jul-2017 Sean Klein <smklein@google.com>

[fs] Add test for remove

Not checking for a distinction between 'rmdir' and
'unlink', since they currently send the same request to the
filesystem server.

Change-Id: If57cbbb8b92d4cdc9667d15bd9fb774d23a4a4a2


# 9c455646 16-Jun-2017 George Kulakowski <kulakowski@google.com>

[utest][status] Use the MX_OK and MX_ERR_* mx_status_t names

Change-Id: Ia395c985d6d13cdad97e66d92933d13ddb75c8b8


# 1a5f6c8a 12-Jun-2017 Sean Klein <smklein@google.com>

[mxio][fs][musl] Add support for realpath

Non-traditional POSIX gotchas:
- Magenta cannot rely on proc
- Magenta does not support symlinks

Magenta-specific implementation:
- For absolute paths, open / canonicalize / verify
- For relative paths, copy cwd, append relative path,
and canonicalize.

MG-839 #done

Change-Id: I66949074ee76eea79d54bc3e11f3ebec02d167d9


# 5e9f0203 09-May-2017 Petr Hosek <phosek@google.com>

[build] Support for LTO and ThinLTO in userland

This adds support for LTO and ThinLTO; currently it's only supported
by userland applications and libraries, the kernel still has some
issues which should be ironed out in the future.

Change-Id: I097f0e7f1ea1a35044077e0a1bd90e88d94faefd


# d8cb440f 10-May-2017 Haowei Wu <haowei@google.com>

[fs] Fix an out-of-bound arrary access issue

- 'PATH_MAX' is declared as 4096
- 'WPATH_MAX' is declared as 4096*2
- In wrap_path fuction, data from an array with 'WPATH_MAX' will be copied
to an array with 'PATH_MAX', causing buffer overflow.

Change-Id: I64845d84c07aa8116671e9e9cd8c1702ece83232


# ee4921e3 09-Apr-2017 Sean Klein <smklein@google.com>

[mxio] Implement renameat, test it.

- Refactor "two_path_op" into "two_path_op_at", similar
to the unistd implementation of unlinkat.
- Remove an error case for "two_path_op", where a stack-based
buffer isn't large enough to hold two names, since we can
statically assert that the name will fit.

Change-Id: Ib47e2bf3bc433fb3b1d9f7e80b42929d07d5df4c


# dee420e5 01-Apr-2017 Sean Klein <smklein@google.com>

[fs] Add rename test for mixed absolute / relative paths

Change-Id: I1d0e0a2e7286330ac83cd0fcd9f4970678108f3c


# 4f55788a 10-Apr-2017 Sean Klein <smklein@google.com>

[fs][utest] Fix path wrapping bug for opendir

By wrapping opendir in "wrap.c", the DIR* return argument
was smashed into an int, when it really should be kept
as a pointer.

Change-Id: Ieee5b9830d8c01c1a1f413ded5a1ba803a139e4c


# f28ade15 22-Mar-2017 Sean Klein <smklein@google.com>

[fs][minfs][memfs] Add support for unlinking open directories

- Update tests to allow these "empty, unlinked" directories.
- Update test suite to use "rmdir" instead of "unlink".
Exclusively for clarity; they functionally identical at the
moment.

MG-629 #done

Change-Id: I37024b873471639a83562fe9dfb68e18e4e1d3ee


# d6d2faf2 10-Mar-2017 Sean Klein <smklein@google.com>

[fs] Converted filesystem test suite from uapp --> utest

- This is possible now that we can identify "large" tests,
and prevent them from executing by default.

While I was there...
- I also fixed up the "test random op" condvar race contition
that previously plagued the concurrent "rw workers" test.
- Stdout spam reduced for the maxfile test.

Change-Id: I87fd25b6312d3490fa7842b9de22826646743d2a