• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/capsicum-test/

Lines Matching refs:openat

299   int file = openat(dir, "cap_openat_testfile", O_RDONLY|O_CREAT, 0644);
304 int new_file = openat(dir, "../dev/null", O_RDONLY);
307 new_file = openat(dir, "..", O_RDONLY);
310 new_file = openat(dir, "/dev/null", O_RDONLY);
313 new_file = openat(dir, "/", O_RDONLY);
359 // and check that this restriction is inherited through openat().
372 int file = openat(dir, filename, O_WRONLY|O_CREAT, 0644);
378 file = openat(cap_dir, filename, O_RDONLY);
387 file = openat(cap_dir, filename, O_WRONLY|O_APPEND);
686 int rc = openat(dfd_cap, "cap_create", O_CREAT | O_RDONLY, 0600);
692 rc = openat(dfd_cap, "cap_create", O_CREAT | O_WRONLY | O_APPEND, 0600);
698 rc = openat(dfd_cap, "cap_create", O_CREAT | O_RDWR | O_APPEND, 0600);
705 rc = openat(dirfd, "cap_faccess", O_CREAT, 0600);
712 rc = openat(dirfd, "cap_fsync", O_CREAT, 0600);
715 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDONLY);
720 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY | O_APPEND);
725 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR | O_APPEND);
730 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDONLY);
735 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_WRONLY | O_APPEND);
740 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDWR | O_APPEND);
747 rc = openat(dirfd, "cap_ftruncate", O_CREAT, 0600);
750 rc = openat(dfd_cap, "cap_ftruncate", O_TRUNC | O_RDONLY);
755 rc = openat(dfd_cap, "cap_ftruncate", O_TRUNC | O_WRONLY);
760 rc = openat(dfd_cap, "cap_ftruncate", O_TRUNC | O_RDWR);
767 rc = openat(dfd_cap, "cap_create", O_CREAT | O_WRONLY, 0600);
773 rc = openat(dfd_cap, "cap_create", O_CREAT | O_RDWR, 0600);
780 rc = openat(dirfd, "cap_fsync", O_CREAT, 0600);
783 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY);
789 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR);
795 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_WRONLY);
801 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDWR);
810 rc = openat(dirfd, "cap_chflagsat", O_CREAT, 0600);
818 rc = openat(dirfd, "cap_fchownat", O_CREAT, 0600);
825 rc = openat(dirfd, "cap_fchmodat", O_CREAT, 0600);
832 rc = openat(dirfd, "cap_fstatat", O_CREAT, 0600);
840 rc = openat(dirfd, "cap_futimesat", O_CREAT, 0600);
850 rc = openat(dirfd, "cap_linkat_src", O_CREAT, 0600);
893 rc = openat(dirfd, "cap_renameat_src", O_CREAT, 0600);
905 rc = openat(dirfd, "cap_renameat_src", O_CREAT, 0600);
924 rc = openat(dirfd, "cap_unlinkat", O_CREAT, 0600);