| /freebsd-12.1/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_sethostname.c | 76 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i]) - 1) == 0); in ATF_TC_BODY() 79 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i])) == 0); in ATF_TC_BODY() 85 (void)sethostname(host, sizeof(host)); in ATF_TC_BODY() 90 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP() 106 ATF_REQUIRE(sethostname(name, sizeof(name)) == -1); in ATF_TC_BODY() 112 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN - 1 ) == 0); in ATF_TC_CLEANUP() 113 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN) == -1); in ATF_TC_CLEANUP() 115 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP() 130 ATF_REQUIRE_ERRNO(EPERM, sethostname(host, sizeof(host)) == -1); in ATF_TC_BODY() 135 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP()
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | sethostname.c | 42 sethostname(const char *name, int namelen) in sethostname() function
|
| H A D | Makefile.inc | 117 sethostname.c \ 412 MLINKS+=gethostname.3 sethostname.3
|
| H A D | Symbol.map | 223 sethostname;
|
| /freebsd-12.1/bin/hostname/ |
| H A D | hostname.c | 90 if (sethostname(*argv, (int)strlen(*argv))) in main()
|
| /freebsd-12.1/share/doc/psd/05.sysman/ |
| H A D | spell.ok | 276 sethostname
|
| /freebsd-12.1/contrib/gcclibs/libmudflap/ |
| H A D | mf-runtime.h | 196 #pragma redefine_extname sethostname __mfwrap_sethostname
|
| H A D | config.h.in | 162 /* Define to 1 if you have the `sethostname' function. */
|
| H A D | configure.ac | 70 AC_CHECK_FUNCS(strnlen memrchr strncpy memmem sethostname)
|
| H A D | mf-hooks2.c | 1438 WRAPPER2(int, sethostname, const char *name, size_t len) in WRAPPER2() argument 1442 return sethostname (name, len); in WRAPPER2()
|
| H A D | ChangeLog | 843 (accept, bind, connect, gethostname, sethostname): New hooks.
|
| H A D | configure | 4104 for ac_func in strnlen memrchr strncpy memmem sethostname
|
| /freebsd-12.1/include/ |
| H A D | unistd.h | 568 int sethostname(const char *, int);
|
| /freebsd-12.1/sys/nfs/ |
| H A D | bootp_subr.c | 188 struct bootpc_ifcontext *sethostname; member 1543 if (gctx->sethostname != NULL) { in bootpc_decode_reply() 1551 gctx->sethostname = ifctx; in bootpc_decode_reply()
|
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_misc.c | 1828 if (ldebug(sethostname)) in linux_sethostname() 1829 printf(ARGS(sethostname, "*, %i"), args->len); in linux_sethostname()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | sys-protos.h | 980 extern int sethostname(char *, int);
|
| /freebsd-12.1/contrib/openbsm/etc/ |
| H A D | audit_event | 53 29:AUE_SETHOSTNAME:sethostname(2):ad
|
| /freebsd-12.1/sys/kern/ |
| H A D | init_sysent.c | 140 …{ compat(AS(sethostname_args),sethostname), AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 88 = ol…
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 1975 PRE_SYSCALL(sethostname)(void *name, long len) {} 1977 POST_SYSCALL(sethostname)(long res, void *name, long len) {
|
| /freebsd-12.1/contrib/compiler-rt/lib/dfsan/ |
| H A D | libc_ubuntu1404_abilist.txt | 2840 fun:sethostname=uninstrumented
|