Home
last modified time | relevance | path

Searched refs:seals (Results 1 – 7 of 7) sorted by relevance

/freebsd/tests/sys/posixshm/
H A Dmemfd_test.c174 memfd_truncate_test(int initial_size, int dest_size, int seals) in memfd_truncate_test() argument
181 ATF_REQUIRE(fcntl(fd, F_ADD_SEALS, seals) == 0); in memfd_truncate_test()
211 int seals; in ATF_TC_BODY() local
217 seals = fcntl(fd, F_GET_SEALS); in ATF_TC_BODY()
218 ATF_REQUIRE(seals == (F_SEAL_WRITE | F_SEAL_GROW)); in ATF_TC_BODY()
228 int seals; in ATF_TC_BODY() local
235 seals = fcntl(fd, F_GET_SEALS); in ATF_TC_BODY()
236 ATF_REQUIRE(seals == (F_SEAL_WRITE | F_SEAL_GROW)); in ATF_TC_BODY()
238 seals = fcntl(fdx, F_GET_SEALS); in ATF_TC_BODY()
239 ATF_REQUIRE(seals == (F_SEAL_WRITE | F_SEAL_GROW)); in ATF_TC_BODY()
/freebsd/sys/sys/
H A Dfile.h463 fo_add_seals(struct file *fp, int seals) in fo_add_seals() argument
468 return ((*fp->f_ops->fo_add_seals)(fp, seals)); in fo_add_seals()
472 fo_get_seals(struct file *fp, int *seals) in fo_get_seals() argument
477 return ((*fp->f_ops->fo_get_seals)(fp, seals)); in fo_get_seals()
/freebsd/contrib/capsicum-test/
H A Dlinux.cc1462 int seals = fcntl(memfd, F_GET_SEALS); in TEST() local
1463 EXPECT_OK(seals); in TEST()
1464 if (verbose) fprintf(stderr, "seals are %08x on base fd\n", seals); in TEST()
1466 EXPECT_EQ(seals, seals_ro); in TEST()
1481 seals = fcntl(memfd, F_GET_SEALS); in TEST()
1482 EXPECT_OK(seals); in TEST()
1483 if (verbose) fprintf(stderr, "seals are %08x on base fd\n", seals); in TEST()
1485 EXPECT_EQ(seals, seals_ro); in TEST()
/freebsd/sys/kern/
H A Duipc_shm.c1937 shm_add_seals(struct file *fp, int seals) in shm_add_seals() argument
1953 nseals = seals & ~shmfd->shm_seals; in shm_add_seals()
1982 shm_get_seals(struct file *fp, int *seals) in shm_get_seals() argument
1987 *seals = shmfd->shm_seals; in shm_get_seals()
H A Dkern_descrip.c494 int error, flg, kif_sz, seals, tmp, got_set, got_cleared; in kern_fcntl() local
785 if (fo_get_seals(fp, &seals) == 0) in kern_fcntl()
786 td->td_retval[0] = seals; in kern_fcntl()
/freebsd/contrib/one-true-awk/testdir/
H A Dbib30781 …d of him that sat on the throne a book written within and on the backside, sealed with seven seals.
30782 …ngel proclaiming with a loud voice, Who is worthy to open the book, and to loose the seals thereof?
30785 … of Juda, the Root of David, hath prevailed to open the book, and to loose the seven seals thereof.
30789 And they sung a new song, saying, Thou art worthy to take the book, and to open the seals thereof: …
30795 And I saw when the Lamb opened one of the seals, and I heard, as it were the noise of thunder, one …
H A Dfunstack.in9032 …r programming languages; environments; programming languages; protection; seals; secrecy; security…