Searched defs:etc (Results 1 - 5 of 5) sorted by relevance

/freebsd-head/tools/regression/security/cap_test/
H A Dcap_test_relative.c59 int fd, etc, etc_cap, etc_cap_ro, etc_cap_base, etc_cap_all; local
63 REQUIRE(etc = open("/etc/", O_RDONLY));
64 CHECK_SYSCALL_SUCCEEDS(cap_getrights, etc, &rights);
67 MAKE_CAPABILITY(etc_cap, etc, CAP_READ);
68 MAKE_CAPABILITY(etc_cap_ro, etc, CAP_READ | CAP_LOOKUP);
69 MAKE_CAPABILITY(etc_cap_base, etc, baserights);
70 MAKE_CAPABILITY(etc_cap_all, etc, CAP_MASK_VALID);
76 CHECK_SYSCALL_SUCCEEDS(openat, etc, "/etc/passw
[all...]
/freebsd-head/libexec/rtld-elf/tests/
H A Dld_library_pathfds.c37 int etc; member in struct:descriptors
69 asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d", files.etc) > 0);
111 files.testdir, files.etc) > 0);
173 ATF_REQUIRE((dp->etc = opendirat(dp->root, "etc")) >= 0);
/freebsd-head/sys/dev/sfxge/common/
H A Defx_tunnel.c455 efx_tunnel_cfg_t etc; local
458 memcpy(&etc, etcp, sizeof (etc));
467 if (etc.etc_udp_entries_num == 0)
476 rc = efx_mcdi_set_tunnel_encap_udp_ports(enp, &etc, B_FALSE,
/freebsd-head/contrib/capsicum-test/
H A Dopenat.cc40 int etc = open("/etc/", O_RDONLY); local
41 EXPECT_OK(etc);
50 int etc_cap = dup(etc);
53 int etc_cap_ro = dup(etc);
56 int etc_cap_base = dup(etc);
71 EXPECT_OPEN_OK(openat(etc, "/etc/passwd", O_RDONLY));
72 EXPECT_OPEN_OK(openat(AT_FDCWD, "/etc/passwd", O_RDONLY));
73 EXPECT_OPEN_OK(openat(etc, "passw
[all...]
/freebsd-head/usr.sbin/lpr/common_source/
H A Ddisplayq.c536 char etc[sizeof(etctmpl)]; local
554 /* fit as much of the etc-string as we can */
558 etc[0] = '\0';
559 strncat(etc, etctmpl, remetc);
560 printf("%s", etc);

Completed in 105 milliseconds