openat() opens only the next directory (and doesn't recurse). */
*firstslash = '\0';
int fd = safe_open_ex(at_fd, pathname, flags);
openat() opens only the next directory (and doesn't recurse). */
*firstslash = '\0';
int fd = safe_open_ex(at_fd, pathname, flags);