sandbox/fs: Use readdir instead of deprecated readdir_r
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 1 Oct 2016 18:41:42 +0000 (20:41 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2016 16:17:07 +0000 (10:17 -0600)
commitbf635ed091dee333f4458eec617a4124b51322fc
tree69f1406d8d13aced4dc1a404d3b3e550dc8593f3
parentf189899c2f9ae2266ea4814cf14f138cc47e319f
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>
arch/sandbox/cpu/os.c