| 849 | } |
| 850 | |
| 851 | static bool runtime_parent_valid(const char *path) { |
| 852 | struct stat status; |
| 853 | return path && path[0] != '\0' && lstat(path, &status) == 0 && S_ISDIR(status.st_mode); |
| 854 | } |
| 855 | |
| 856 | static bool private_runtime_snapshot(int fd, const char *path, bool require_empty_acl, |
| 857 | struct stat *status_out) { |
no test coverage detected