2 * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
3 * Copyright (c) 2016-2018 The strace developers.
6 * SPDX-License-Identifier: GPL-2.0-or-later
17 const unsigned int size = PATH_MAX - 1;
18 const char *p = tail_alloc(size);
19 const char *const efault = p + size;
21 for (; p <= efault; ++p) {
23 printf("chdir(%p) = %d %s (%m)\n", p, rc, errno2name());
26 puts("+++ exited with 0 +++");