On Sun, Jun 02, 2024 at 09:34:38AM +0800, Herbert Xu wrote: > If the directory pointer is not a directory or symlink, do not > recurse into expmeta. > + if (c && dp->d_type != DT_DIR && dp->d_type != DT_LNK) > + goto check_int; Good idea, but DT_UNKNOWN might also be a directory or a symlink to one. -- Jilles Tjoelker