sandbox: add flags for open() call
authorSimon Glass <sjg@chromium.org>
Tue, 21 Feb 2012 04:56:58 +0000 (23:56 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Mar 2012 15:03:42 +0000 (11:03 -0400)
commitd9165153caea9f342410ed3ac87cb68768ebec78
tree9f43ac048461b4788fc15805802299bf3a88d998
parent7b06b66cd7f9f4d33cfd3e68046c094a43024cda
sandbox: add flags for open() call

This provides a way for callers to create files for writing. The flags
are translated at runtime, for the ones we support.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/sandbox/cpu/os.c
include/os.h