commit | 12e6aadcb0a9f87f89e48ac47aa08b8744fbe55a | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Mon Mar 26 17:07:33 2018 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Jul 25 14:57:51 2018 -0400 |
tree | 3a86ea2e71184f9787e1cdd0deaaa57217270141 | |
parent | bc94cc1832702d22726e03e26545b89621d9163e [diff] |
lib: newlib: add read/write syscalls The read/write implementations call directly into the console drivers using the hook mechanism, causing faults if invoked from user mode. Add system calls for read() and write() such that we do a privilege elevation first. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>