History log of /fuchsia/zircon/system/utest/vmo/rules.mk
Revision Date Author Comments
# 28b325b3 14-Aug-2018 Adam Barth <abarth@google.com>

[fbl] Remove libzx dependency from libfbl

Code that depends on the Zircon syscalls should be in fzl instead.
See <https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md#fzl>

Test: fzl-test
Change-Id: Ic65425fc51136edf4d401097f6b483d56923104e


# 30ac10bf 18-Jun-2018 Carlos Pizano <cpu@google.com>

[zircon] non-resizable VMOS

This CL introduces the first option for VMO creation
ZX_VMO_NOT_RESIZABLE that 'locks' the size of a root (non-clone) VMO

Also enables the same for COW clones via ZX_VMO_CLONE_NON_RESIZEABLE

This is meant to answer safety hazards of having a client pass
VMOs to servers which the client can resize while the server is
copying data into via a memory map.

Today this is done via ZX_INFO_HANDLE_COUNT but that turns out
is racy.

This CL also cleans up vmo-tests so they using proble_for_read
and probe_for_write instead of using unrelated syscalls to test
memory mappings.

TEST=added unittests in vmo_tests

ZX-2279 #comment progress

Change-Id: If69ce772dcccd92db83f5bda313ae2343ebb448e


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

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 59e644b1 07-Sep-2017 George Kulakowski <kulakowski@google.com>

[zircon][mxtl->fbl] Rename mxtl to fbl

Change-Id: Ie21b6498e1bfb0a7fa0315e40b9e5c3ee78646be


# 0d5ae8c9 12-May-2017 Dave Bort <dbort@google.com>

[ulib] Merge ulib/hexdump into ulib/pretty

Change-Id: I194595de04e83178121c455f31732d1046448850


# 91125e0a 23-Apr-2017 Roland McGrath <mcgrathr@google.com>

[ulib] Make mxtl, mxcpp, and mx libraries static-only

mxtl is actually a header-only library, so don't build a
shared object for it.

The mxtl and mx libraries are already built only as static
libraries in the Fuchsia GN build. Their code is very small.
Make the Magenta make build follow suit.

Change-Id: Ia79e5a996a981a8b046370d4ece9597f8e5bd1c2


# 16656ae0 05-Apr-2017 Brian Swetland <swetland@google.com>

[build] flatten the build

Previously we treated kernel/, system/, and third_party/ as
overlays on a shared namespace. This required the concept
of "canonical" module names, and a lot of complexity to ensure
that things didn't collide and the build worked.

This change gets rid of that, no longer passes -I to make,
so that include directives from our *.mk files do not magically
wildcard across various paths, etc.

The most user-visible change is that everywhere where a module
name is specified (MODULE_DEPS, MODULE_LIBS, etc), full module
names like kernel/lib/io or system/ulib/mxio must be used instead
of previously-allowed "short" names like lib/io and ulib/mxio.

The build output still has a similar shape, but the first segment
of the module path (kernel/, system/, or third_party/) is no
longer elided under $(BUILDDIR)

Change-Id: I525aba1da1c86eb7a86007bddc669f7eeebfedd5


# 99b8fde5 07-Mar-2017 Travis Geiselbrecht <travisg@google.com>

[kernel][vm] fix situation where demand faulting pages aren't cleaned up in shared mappings

If a vmo is mapped in two locations and one mapping has already mapped a read only page
(in this case the zero page) and a second mapping properly write faults in a new page
to back that section of the VMO, the first mapping must have that range shot down.

Change-Id: I87f9319fa9783207c43f665a4726b21768cef7f8


# 12242caa 07-Mar-2017 Brian Swetland <swetland@google.com>

[build][musl] refer to musl libc as ulib/c

This makes the build rules and the intermediate
output files easier to understand, without having
to modify the path where musl libc lives.

The biggest observeable difference is the build
intermediate files:

$ ls build-magenta-pc-x86-64/ulib/c
config-module.h libc.abi.h libc.abi.stamp libc.so libc.so.id libc.so.strip
libc.a libc.abi.o libc.a.opts libc.so.abi libc.so.opts third_party

which previously were at build-magenta-pc-x86/ulib/musl
and named libmusl.*

and the replacing of ulib/musl with ulib/c in the library
dependencies of all the rules.mk files (the vast bulk of
this change)

Change-Id: If9c5d522099d2c9ac5bdb666b8e67a2eb3d316ee


# cfce8de5 30-Sep-2016 Travis Geiselbrecht <travisg@google.com>

[utest][vmo] start a little user space benchmark for VMOs

Change-Id: I9849b80efe275139ff7303d23c7e20ddd898a17f


# 1c4e82f9 10-Sep-2016 Travis Geiselbrecht <travisg@google.com>

[utests][vmo] add a bunch of rights tests for the vmo object

Change-Id: Iaf981c4f7b3df3ea0be1216ec0ea430829815dfb


# 66a201f1 16-Aug-2016 Brian Swetland <swetland@frotz.net>

[system] align license and license banners with Fuchsia

This adjusts the Magenta userspace code to match the prevailing
license in Fuchsia (three-clause BSD), using the same banner
and license text.

Change-Id: I6b6d79435c5dbaa32027888874849e4f47aaa7be


# f358d68e 29-Jul-2016 Brian Swetland <swetland@google.com>

[build] make musl-static the exception rather than musl-shared

This makes the common uapp, ulib, or utest rules.mk much more
comprehensible. Some day we'll eliminate the need for -static
entirely, but that requires some deeper refactoring.

Change-Id: Ifcdb635e5af7bf0b033632358164c3042e7e6d4a


# 33d4a51b 29-Jul-2016 Brian Swetland <swetland@google.com>

[build] make dynamic linking the default

Now userapp/usertest modules are dynamic, and to build a static
binary userapp-static or usertest-static are used.

Change-Id: Ifd16f40a2bf23202ec17f3142f896abdec1c3271


# 1ba4b288 28-Jul-2016 Roland McGrath <mcgrathr@google.com>

[uapp] [utest] Switch most uapp and utest builds to dynamic linking

Nearly every uapp and utest that can be dynamically linked is now.
The mxr-tls test is omitted because it's broken when dynamically
linked; that will probably be moot after the forthcoming TLS revamp.

A few test helper programs cannot use dynamic linking as written
because they get run with a nonstandard bootstrap message that does
not include the magic required for the dynamic linker's startup.

I didn't touch anything using ulib/ddk because I didn't bother to
figure out how that fits together.

Change-Id: I93b08960d946e23cd4ac89216e6d32789f99405a


# 88e76180 27-Jul-2016 Roland McGrath <mcgrathr@google.com>

[build] Fix modname-check macro

The macro was in fact never doing its job, because it always
gets passed a string with some whitespace in it, and it was
checking only for a literally empty string.

Change-Id: I9cd20eb2906d826e5af1c1d4286dee3c68edd3cb


# 68fc0fce 16-Jun-2016 Yvonne Yip <yky@google.com>

[udev] cheesy ahci, sata, gpt driver

This set of drivers will match the AHCI controller, probes and identify
disks, read the partition table (GPT format) from any disks it
discovers, and create devices for each partition under /dev/protocol/block.

The 'lsblk' utility will dump info and read from block devices.

Also add hexdump to ulib/ddk and make the copy in ulib/unittest private
to unittest.

Change-Id: Iee7165bbb049325b2765a3aa33522d4cf8c04c61


# 3046c71b 13-Jul-2016 James Robinson <jamesr@google.com>

Put tests in /boot/test and use 'usertest' module type

This puts all tests in /boot/test instead of putting them in
/boot/bin with a '-test' suffix to clean up the 'bin' directory.
Anything in this directory is run by 'runtests'. This doesn't
add /boot/test to mxsh's PATH, but that will happen soon.

Change-Id: Ib135d923a5216dea56f51fb0c1aa1bcf35acf458


# 26cb269f 06-Jul-2016 George Kulakowski <kulakowski@google.com>

[ulib][unittest] Move unittest into its own library

Change-Id: I1586278e3bbb6ceacd26a1342985922dc8861cf7


# f0dbcd4e 29-Jun-2016 George Kulakowski <kulakowski@google.com>

[utest] Remove dependency on runtime/atomic.h in unittest

Change-Id: Ie3f1870a59312dc5f25355fbb07216111f21ffc0


# 0916e523 27-Jun-2016 Ankur Mittal <anmittal@google.com>

[mxu][utest] Change test framework to support threading

Changing test framework to support EXPECT_* and ASSERT_* modules between
functions for a same test case.

Change-Id: I509cad5b68d9b86a36d7b3e8e7682130941c0279
TODO: change remoteio to not use assert, instead use our test framework


# 53b9e1c8 15-Jun-2016 The Fuchsia Authors <authors@fuchsia.local>

[magenta] Initial commit