Home | History | Annotate | only in /src/tests/lib/libc/c063
History log of /src/tests/lib/libc/c063
RevisionDateAuthorComments
 1.2 15-Sep-2019  christos Remove the incomplete define.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4; 1.1.32;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.32.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file Makefile was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file Makefile was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.5 07-Jul-2024  christos avoid gcc warning.
 1.4 07-Jul-2024  christos Add more tests for absolute paths with different fds. (from Svivraj)
 1.3 10-Jan-2017  christos branches: 1.3.24;
PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
 1.2 17-Mar-2013  jmmv branches: 1.2.12;
Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_faccessat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_faccessat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.3.24.1 02-Aug-2025  perseant Sync with HEAD
 1.7 10-Jul-2024  rillig tests/fchmodat: add missing space in test failure message
 1.6 10-Jul-2024  christos correct test conditions.
 1.5 10-Jul-2024  rillig tests/libc: replace some more '=' with the intended '=='
 1.4 10-Jul-2024  christos Fix = -> ==. Pointed out by Shivraj
 1.3 10-Jan-2017  christos branches: 1.3.14; 1.3.22; 1.3.24;
PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
 1.2 17-Mar-2013  jmmv branches: 1.2.12;
Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_fchmodat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_fchmodat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.3.24.1 02-Aug-2025  perseant Sync with HEAD
 1.3.22.1 13-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #956):

tests/lib/libc/c063/t_fchmodat.c: revision 1.4
tests/lib/libc/c063/t_fchmodat.c: revision 1.5
tests/lib/libc/c063/t_fchmodat.c: revision 1.6
tests/lib/libc/c063/t_fchmodat.c: revision 1.7
tests/lib/libc/c063/t_utimensat.c: revision 1.7

Fix = -> ==. Pointed out by Shivraj
tests/libc: replace some more '=' with the intended '=='
correct test conditions.

tests/fchmodat: add missing space in test failure message
 1.3.14.1 13-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #1900):

tests/lib/libc/c063/t_fchmodat.c: revision 1.4
tests/lib/libc/c063/t_fchmodat.c: revision 1.5
tests/lib/libc/c063/t_fchmodat.c: revision 1.6
tests/lib/libc/c063/t_fchmodat.c: revision 1.7
tests/lib/libc/c063/t_utimensat.c: revision 1.7

Fix = -> ==. Pointed out by Shivraj
tests/libc: replace some more '=' with the intended '=='
correct test conditions.

tests/fchmodat: add missing space in test failure message
 1.4 10-Jan-2017  christos PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
 1.3 17-Mar-2013  jmmv branches: 1.3.12;
Remove unnecessary cleanup routines.
 1.2 20-Nov-2012  martin branches: 1.2.2;
Mark a few tests that require root
 1.1 18-Nov-2012  manu branches: 1.1.2;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.4 23-Jun-2013  tls resync from head
 1.1.2.3 25-Feb-2013  tls resync with head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_fchownat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 20-Nov-2012  yamt file t_fchownat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.3.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.3 10-Jan-2017  christos PR/51805: Ngie Cooper: Fix file descriptor leaks
 1.2 17-Mar-2013  jmmv branches: 1.2.12;
fexecve is not implemented, so mark the test as an expected failure.

While doing this, clean this whole thing: do not define a useless cleanup
routine and wait for the subprocess to finish instead of using sleep.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_fexecve.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_fexecve.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.3 10-Jan-2017  christos PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
 1.2 17-Mar-2013  jmmv branches: 1.2.12;
Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_fstatat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_fstatat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2 17-Mar-2013  jmmv Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_linkat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_linkat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2 17-Mar-2013  jmmv Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_mkdirat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_mkdirat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.5 20-Jun-2019  kamil Add mkfifo{,at}(2) mode in mknod{,at}(2) as requested by POSIX

mknod with mode & S_IFIFO and dev=0 shall behave like mkfifo.

Update the documentation to reflect this state.

Add ATF tests.

This is an in-kernel implementation as typically user-space programs use
mkfifo(2) directly, however whenever there is need to bypass libc (like in
valgrind) then portable POSIX software calls the mknod syscall.

Noted on tech-kern@ by Greg Troxel.
 1.4 14-Jan-2017  christos branches: 1.4.12;
PR/51868: Ngie Cooper: mkfifo does not return an fd
 1.3 10-Jan-2017  christos PR/51805: Ngie Cooper: Fix file descriptor leaks
 1.2 17-Mar-2013  jmmv branches: 1.2.12;
Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_mkfifoat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_mkfifoat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.4.12.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4 10-Jan-2017  christos PR/51805: Ngie Cooper: Fix file descriptor leaks
 1.3 17-Mar-2013  jmmv branches: 1.3.12;
Remove unnecessary cleanup routines.
 1.2 20-Nov-2012  martin branches: 1.2.2;
Mark a few tests that require root
 1.1 18-Nov-2012  manu branches: 1.1.2;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.4 23-Jun-2013  tls resync from head
 1.1.2.3 25-Feb-2013  tls resync with head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_mknodat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 20-Nov-2012  yamt file t_mknodat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.3.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.10 08-Feb-2020  kamil O_SEARCH tests: expect revoke +x failure on NFS

Patch by Kyle Evans (FreeBSD)

PR misc/54946
 1.9 06-Feb-2020  martin Add a few O_SEARCH tests, currently only run on FreeBSD.
Patch from Kyle Evans.
 1.8 05-Feb-2020  martin PR misc/54940: do not combine O_SEARCH with O_RDWR, from Kyle Evans.
 1.7 05-Feb-2020  martin PR misc/54939: fix file descriptor leak, patch from Kyle Evans.
 1.6 28-Jan-2020  martin PR 54902: fix octal numbers accidently spelled as decimal.
 1.5 10-Jan-2017  christos branches: 1.5.12;
need <sys/stat.h>
 1.4 17-Mar-2013  jmmv branches: 1.4.12;
Remove unnecessary cleanup routines.
 1.3 13-Jan-2013  dholland branches: 1.3.2;
Revert defective O_SEARCH implementation committed by manu@ along with
the *at system calls on November 18th of last year. Reasons to revert
it include:
- it is incorrect in a whole variety of ways (but fortunately, one
of them is that the missing and improper permission checks have
no net effect);
- it was committed without review or discussion;
- core ruled that all the new O_* flags pertaining to the *at calls
needed to wait until their semantics could be clarified.

manu was asked to revert it on these grounds but has ignored the request.

I have left O_SEARCH defined and visible and made open() explicitly
ignore it. This way, most code that tries to use it will continue to
build and run. I've also arranged lib/libc/c063/t_o_search.c so that
the tests that make use of the O_SEARCH semantics will disappear until
O_SEARCH comes back, and fixed some mistakes and/or incorrect hacks
that were causing some of these to succeed despite the broken O_SEARCH
implementation.
 1.2 23-Nov-2012  martin Split the test cases where root/non-root makes a difference in two and mark
them apropriately. Exact permission semantics are still under discussion,
this will have to be cleaned up once that discussion is settled.
For now, one test cases fails.
 1.1 18-Nov-2012  manu branches: 1.1.2;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.4 23-Jun-2013  tls resync from head
 1.1.2.3 25-Feb-2013  tls resync with head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_o_search.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.3.2.4 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.2.3 23-Jan-2013  yamt sync with head
 1.3.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.3.2.1 13-Jan-2013  yamt file t_o_search.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.4.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.5.12.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.3 10-Jan-2017  christos PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
 1.2 17-Mar-2013  jmmv branches: 1.2.12;
Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_openat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_openat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.4 10-Jan-2017  christos PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
 1.3 17-Mar-2013  jmmv branches: 1.3.12;
Remove unnecessary cleanup routines.
 1.2 22-Nov-2012  martin branches: 1.2.2;
0-terminate strings returned by readlinkat
 1.1 18-Nov-2012  manu branches: 1.1.2;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.4 23-Jun-2013  tls resync from head
 1.1.2.3 25-Feb-2013  tls resync with head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_readlinkat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 22-Nov-2012  yamt file t_readlinkat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.3.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2 17-Mar-2013  jmmv Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_renameat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_renameat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2 17-Mar-2013  jmmv Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_symlinkat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_symlinkat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.3 10-Jan-2017  christos PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
 1.2 17-Mar-2013  jmmv branches: 1.2.12;
Remove unnecessary cleanup routines.
 1.1 18-Nov-2012  manu branches: 1.1.2; 1.1.4;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.1 18-Nov-2012  yamt file t_unlinkat.c was added on branch yamt-pagecache on 2013-01-16 05:33:59 +0000
 1.1.2.3 23-Jun-2013  tls resync from head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_unlinkat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.2.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.9 10-Aug-2024  riastradh t_utimensat: Don't check atime on file systems mounted noatime.

PR kern/58571: utimensat tests are failing on armv7, aarch64, and
riscv64
 1.8 10-Aug-2024  riastradh t_utimensat: Tidy this up to make failures more obvious.

PR kern/58571: utimensat tests are failing on armv7, aarch64, and
riscv64
 1.7 10-Jul-2024  rillig tests/libc: replace some more '=' with the intended '=='
 1.6 10-Jan-2017  christos branches: 1.6.14; 1.6.22; 1.6.24;
PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
 1.5 17-Mar-2013  jmmv branches: 1.5.12;
Remove unnecessary cleanup routines.
 1.4 22-Nov-2012  martin branches: 1.4.2;
Compare against modification time instead of creation time - which we did
not set.
 1.3 22-Nov-2012  martin Fix off by one in static array acces, use valid timestamps (ns part < 1e9),
just in case a filesystem would need to convert this to some other
representation.
 1.2 19-Nov-2012  martin Do not require tv_nsec to be != 0 but instead require equality with the
test value.
 1.1 18-Nov-2012  manu branches: 1.1.2;
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.4 23-Jun-2013  tls resync from head
 1.1.2.3 25-Feb-2013  tls resync with head
 1.1.2.2 18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.1.2.1 18-Nov-2012  manu file t_utimensat.c was added on branch tls-maxphys on 2012-11-18 17:41:55 +0000
 1.4.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.4.2.1 22-Nov-2012  yamt file t_utimensat.c was added on branch yamt-pagecache on 2013-01-16 05:34:00 +0000
 1.5.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.6.24.1 02-Aug-2025  perseant Sync with HEAD
 1.6.22.2 13-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #957):

tests/lib/libc/c063/t_utimensat.c: revision 1.8
tests/lib/libc/c063/t_utimensat.c: revision 1.9

t_utimensat: Tidy this up to make failures more obvious.
PR kern/58571: utimensat tests are failing on armv7, aarch64, and
riscv64

t_utimensat: Don't check atime on file systems mounted noatime.
PR kern/58571: utimensat tests are failing on armv7, aarch64, and
riscv64
 1.6.22.1 13-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #956):

tests/lib/libc/c063/t_fchmodat.c: revision 1.4
tests/lib/libc/c063/t_fchmodat.c: revision 1.5
tests/lib/libc/c063/t_fchmodat.c: revision 1.6
tests/lib/libc/c063/t_fchmodat.c: revision 1.7
tests/lib/libc/c063/t_utimensat.c: revision 1.7

Fix = -> ==. Pointed out by Shivraj
tests/libc: replace some more '=' with the intended '=='
correct test conditions.

tests/fchmodat: add missing space in test failure message
 1.6.14.2 13-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #1901):

tests/lib/libc/c063/t_utimensat.c: revision 1.8
tests/lib/libc/c063/t_utimensat.c: revision 1.9

t_utimensat: Tidy this up to make failures more obvious.
PR kern/58571: utimensat tests are failing on armv7, aarch64, and
riscv64

t_utimensat: Don't check atime on file systems mounted noatime.
PR kern/58571: utimensat tests are failing on armv7, aarch64, and
riscv64
 1.6.14.1 13-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #1900):

tests/lib/libc/c063/t_fchmodat.c: revision 1.4
tests/lib/libc/c063/t_fchmodat.c: revision 1.5
tests/lib/libc/c063/t_fchmodat.c: revision 1.6
tests/lib/libc/c063/t_fchmodat.c: revision 1.7
tests/lib/libc/c063/t_utimensat.c: revision 1.7

Fix = -> ==. Pointed out by Shivraj
tests/libc: replace some more '=' with the intended '=='
correct test conditions.

tests/fchmodat: add missing space in test failure message

RSS XML Feed