zephyr/drivers/entropy
Andrew Boie 8345e5ebf0 syscalls: remove policy from handler checks
The various macros to do checks in system call handlers all
implictly would generate a kernel oops if a check failed.
This is undesirable for a few reasons:

* System call handlers that acquire resources in the handler
  have no good recourse for cleanup if a check fails.
* In some cases we may want to propagate a return value back
  to the caller instead of just killing the calling thread,
  even though the base API doesn't do these checks.

These macros now all return a value, if nonzero is returned
the check failed. K_OOPS() now wraps these calls to generate
a kernel oops.

At the moment, the policy for all APIs has not changed. They
still all oops upon a failed check/

The macros now use the Z_ notation for private APIs.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2018-05-17 23:34:03 +03:00
..
CMakeLists.txt native: entropy: warn of security risk 2018-05-17 07:51:00 +03:00
Kconfig native: added entropy device 2018-02-23 07:34:07 -05:00
Kconfig.esp32
Kconfig.mcux kconfig: Remove no-op selects of choice symbols 2018-03-29 08:57:39 -04:00
Kconfig.native_posix native: entropy: warn of security risk 2018-05-17 07:51:00 +03:00
Kconfig.nrf5 drivers: entropy: nrf5: Clarify Kconfig options 2018-04-05 08:09:57 -04:00
Kconfig.stm32 drivers: entropy: stm32: use Kconfig to select HAL/LL sources 2018-01-23 08:46:16 -06:00
entropy_esp32.c
entropy_handlers.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
entropy_mcux_rnga.c
entropy_mcux_trng.c
entropy_nrf5.c doc: Add a comment describing the algorithm used by entropy_nrf5.c 2018-04-05 13:10:49 +02:00
entropy_stm32.c drivers: entropy: stm32: Remove STM32F411XE from building 2018-01-12 19:42:54 -05:00
fake_entropy_native_posix.c native: entropy: warn of security risk 2018-05-17 07:51:00 +03:00