Searched refs:seals (Results 1 – 7 of 7) sorted by relevance
| /freebsd/tests/sys/posixshm/ |
| H A D | memfd_test.c | 176 memfd_truncate_test(int initial_size, int dest_size, int seals) in memfd_truncate_test() argument 183 ATF_REQUIRE(fcntl(fd, F_ADD_SEALS, seals) == 0); in memfd_truncate_test() 213 int seals; in ATF_TC_BODY() local 219 seals = fcntl(fd, F_GET_SEALS); in ATF_TC_BODY() 220 ATF_REQUIRE(seals == (F_SEAL_WRITE | F_SEAL_GROW)); in ATF_TC_BODY() 230 int seals; in ATF_TC_BODY() local 237 seals = fcntl(fd, F_GET_SEALS); in ATF_TC_BODY() 238 ATF_REQUIRE(seals == (F_SEAL_WRITE | F_SEAL_GROW)); in ATF_TC_BODY() 240 seals = fcntl(fdx, F_GET_SEALS); in ATF_TC_BODY() 241 ATF_REQUIRE(seals == (F_SEAL_WRITE | F_SEAL_GROW)); in ATF_TC_BODY()
|
| /freebsd/sys/sys/ |
| H A D | file.h | 483 fo_add_seals(struct file *fp, int seals) in fo_add_seals() argument 488 return ((*fp->f_ops->fo_add_seals)(fp, seals)); in fo_add_seals() 492 fo_get_seals(struct file *fp, int *seals) in fo_get_seals() argument 497 return ((*fp->f_ops->fo_get_seals)(fp, seals)); in fo_get_seals()
|
| /freebsd/tests/sys/capsicum/ |
| H A D | linux.cc | 1462 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 D | uipc_shm.c | 1982 shm_add_seals(struct file *fp, int seals) in shm_add_seals() argument 1998 nseals = seals & ~shmfd->shm_seals; in shm_add_seals() 2027 shm_get_seals(struct file *fp, int *seals) in shm_get_seals() argument 2032 *seals = shmfd->shm_seals; in shm_get_seals()
|
| H A D | kern_descrip.c | 579 int error, flg, kif_sz, seals, tmp, got_set, got_cleared; in kern_fcntl() local 887 if (fo_get_seals(fp, &seals) == 0) in kern_fcntl() 888 td->td_retval[0] = seals; in kern_fcntl()
|
| /freebsd/contrib/one-true-awk/testdir/ |
| H A D | bib | 30781 …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 D | funstack.in | 9032 …r programming languages; environments; programming languages; protection; seals; secrecy; security…
|