lib: fdtable: File descriptor table should reside in kernel memory
Private kernel data structure which should not be accessible to userspace threads. Mark with __kernel. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
8f690e291b
commit
53153405aa
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ struct fd_entry {
|
|||
static const struct fd_op_vtable stdinout_fd_op_vtable;
|
||||
#endif
|
||||
|
||||
static struct fd_entry fdtable[CONFIG_POSIX_MAX_FDS] = {
|
||||
__kernel static struct fd_entry fdtable[CONFIG_POSIX_MAX_FDS] = {
|
||||
#ifdef CONFIG_POSIX_API
|
||||
/*
|
||||
* Predefine entries for stdin/stdout/stderr. Object pointer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue