| 2f159402 | 04-Oct-2016 |
Stefan Brüns <stefan.bruens@rwth-aachen.de> |
sandbox/fs: Set correct filetype for unknown filetype
The "hostfs ls" command prefixes each directory entry with either DIR, LNK or " " if it is a directory, symlink resp. regular file, or "???" f
sandbox/fs: Set correct filetype for unknown filetype
The "hostfs ls" command prefixes each directory entry with either DIR, LNK or " " if it is a directory, symlink resp. regular file, or "???" for any other or unknown type. The latter only works if the type is set correctly, as the entry defaults to OS_FILET_REG and e.g. socket files show up as regular files.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| bf635ed0 | 01-Oct-2016 |
Stefan Brüns <stefan.bruens@rwth-aachen.de> |
sandbox/fs: Use readdir instead of deprecated readdir_r
Using readdir_r limits the maximum file name length and may even be unsafe, and is thus deprecated in since glibc 2.24.
Signed-off-by: Stefan
sandbox/fs: Use readdir instead of deprecated readdir_r
Using readdir_r limits the maximum file name length and may even be unsafe, and is thus deprecated in since glibc 2.24.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| f189899c | 01-Oct-2016 |
Stefan Brüns <stefan.bruens@rwth-aachen.de> |
sandbox/fs: Use correct size path name buffer
The readdir linux manpage explicitly states (quoting POSIX.1) that sizeof(d_name) is not correct for determining the required size, but to always use st
sandbox/fs: Use correct size path name buffer
The readdir linux manpage explicitly states (quoting POSIX.1) that sizeof(d_name) is not correct for determining the required size, but to always use strlen. Grow the buffer if needed.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| a091a8f0 | 04-Jul-2016 |
Simon Glass <sjg@chromium.org> |
sandbox: Add a test device that uses of-platdata
Start up the test devices. These print out of-platdata contents, providing a check that the of-platdata feature is working correctly.
The device-tre
sandbox: Add a test device that uses of-platdata
Start up the test devices. These print out of-platdata contents, providing a check that the of-platdata feature is working correctly.
The device-tree changes are made to sandbox.dts rather than test.dts. since the former controls the of-platdata generation.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|