History log of /fuchsia/zircon/system/utest/core/bad-syscall/bad-syscall.c
Revision Date Author Comments
# 1ed506e2 17-Oct-2017 Doug Evans <dje@google.com>

[ulib][unittest] Rename UNITTEST_TRACEF to UNITTEST_FAIL_TRACEF

and supply a new UNITTEST_TRACEF that is the generic version
the name implies. Use this in each UT_* test macro to trace
each test when verbosity >= 2.

Change-Id: I032ce94e119b4a687ea0f38b23edbec89d45d0cd


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

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 57ec1ccd 09-Aug-2017 Roland McGrath <mcgrathr@google.com>

[kernel] Generate a policy exception on bad system calls

The MX_ERR_BAD_SYSCALL error should never really be seen in user mode.
It can be observed in the return value register when a debugger
examines the thread taking the exception. Currently crashlogger
resumes threads taking a policy exception, so programs can see
MX_ERR_BAD_SYSCALL after having their "crash" logged.

Change-Id: Idd87bae95ab161cf63d966cb4f83034cf7ac0583


# 2915c67a 09-Jun-2017 George Kulakowski <kulakowski@google.com>

[utest][core] MX_ERR_-ify the core unit tests

Change-Id: Iebfbeba437831ad4b85d1b0bc6d6dc22bb721de9


# c42c8c6e 30-May-2017 Todd Eisenberger <teisenbe@google.com>

[utest][syscall] Add tests for syscalls with invalid numbers

This triggers MG-807, a kernel panic due to invalid numbers.

Change-Id: I439b7566ed421fcd6709ae61dcf990b6139f9083


# 80791afb 25-May-2017 Mark Seaborn <mseaborn@google.com>

[unittest] Move RUN_NAMED_TEST_TYPE code from a macro to a function

This reduces recompiles when this code is changed, and should reduce
generated code size a little.

This also makes more explicit the references to all_success and
current_test_info from the local scope and file scope.

Change-Id: Iff72bfa880b726105270a7050867f141e37a8166


# f8359dc9 28-Oct-2016 George Kulakowski <kulakowski@google.com>

[utest][channel] msgpipe => channel in core utests

Change-Id: I6c50e0828fd905adaa75296952ae9caefaf88925


# dc1fd725 29-Aug-2016 Brian Swetland <swetland@google.com>

[magenta][syscalls] migrate all syscalls to the new names

If DEPCRECATE_COMPAT_SYSCALLS is defined, flag the compatibility
wrappers with the deprecated attribute.

Enable this in the Magenta build only for now.

Change-Id: I422b1294d9db2e56551eca65dede0e5d83f8b363


# f834dd21 29-Aug-2016 Brian Swetland <swetland@google.com>

[magenta][syscalls][ddk] do away with DDKCALL()

The ddk/priv syscalls now take a resource handle.

Stop hiding them since arbitrary user apps don't have access to
resource handles.

Change-Id: I28eefcb1fb662ca1c7e38759ae98ec42b01bfbbe


# 9d8d5002 29-Aug-2016 Brian Swetland <swetland@google.com>

[utest][bad-syscall] use message pipe write instead of debug write

Don't depend on a (soon-to-be) privileged syscall.

Change-Id: I5068826c6d77ac08250df7f538adaca461ab33df


# 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


# 39b3f217 19-Jul-2016 Ankur Mittal <anmittal@google.com>

[utest] Support categories

This will produce single binary from mxr tests and also seperate binary
for each test

Change-Id: I9345fbeab5751dda356cfd47a766c09957211923