Home
last modified time | relevance | path

Searched refs:fromname (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/usr.sbin/rpcbind/
H A Dsecurity.c166 char fromname[NI_MAXHOST]; in logit() local
215 strcpy(fromname, "local"); in logit()
217 getnameinfo(addr, addr->sa_len, fromname, in logit()
218 sizeof fromname, NULL, 0, NI_NUMERICHOST); in logit()
221 fromname, procname, progname, text); in logit()
/freebsd-14.2/libexec/ftpd/
H A Dftpcmd.y84 char *fromname = NULL; variable
133 if (fromname)
134 free(fromname);
135 fromname = NULL;
494 if (fromname) {
496 free(fromname);
762 if (fromname)
763 free(fromname);
764 fromname = NULL;
766 fromname = $4;
[all …]
/freebsd-14.2/contrib/openbsm/libauditd/
H A Dauditd_lib.c851 inject_dist(const char *fromname, char *toname, size_t tonamesize) in inject_dist() argument
855 ptr = strrchr(fromname, '/'); in inject_dist()
857 assert(ptr - fromname < (ssize_t)tonamesize); in inject_dist()
858 strlcpy(toname, fromname, ptr - fromname + 1); in inject_dist()
878 auditd_rename(const char *fromname, const char *toname) in auditd_rename() argument
883 inject_dist(fromname, fname, sizeof(fname)); in auditd_rename()
889 return (rename(fromname, toname)); in auditd_rename()
/freebsd-14.2/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.y57 char *fromname; variable
133 fromname = (char *) 0;
348 if (fromname) {
349 renamecmd(fromname, $3);
350 free(fromname);
351 fromname = (char *) 0;
657 fromname = renamefrom($3);
658 if (fromname == (char *) 0 && $3) {
666 fromname = (char *) 0;
H A Dftpcmd.c256 char *fromname; variable
1772 fromname = (char *) 0; in yyparse()
2051 if (fromname) { in yyparse()
2052 renamecmd(fromname, (yyvsp[(3) - (5)].s)); in yyparse()
2053 free(fromname); in yyparse()
2054 fromname = (char *) 0; in yyparse()
2440 fromname = renamefrom((yyvsp[(3) - (5)].s)); in yyparse()
2441 if (fromname == (char *) 0 && (yyvsp[(3) - (5)].s)) { in yyparse()
2452 fromname = (char *) 0; in yyparse()
/freebsd-14.2/sbin/umount/
H A Dumount.c83 struct statfs *getmntentry(const char *fromname, const char *onname,
498 getmntentry(const char *fromname, const char *onname, fsid_t *fsid, dowhat what) in getmntentry() argument
525 if (fromname != NULL && strcmp(sfs->f_mntfromname, in getmntentry()
526 fromname) != 0) in getmntentry()
/freebsd-14.2/contrib/openbsm/bsm/
H A Dauditd_lib.h105 int auditd_rename(const char *fromname, const char *toname);
/freebsd-14.2/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c4510 if (fromname) in zfs_do_send()
4512 fromname = optarg; in zfs_do_send()
4515 if (fromname) in zfs_do_send()
4730 if (fromname != NULL && (strchr(fromname, '#') == NULL && in zfs_do_send()
4740 fromname); in zfs_do_send()
4744 (fromname[0] == '#' || fromname[0] == '@')) { in zfs_do_send()
4772 if (fromname != NULL && strchr(fromname, '#')) { in zfs_do_send()
4806 if (fromname && (cp = strchr(fromname, '@')) != NULL) { in zfs_do_send()
4814 fromname = NULL; in zfs_do_send()
4818 if (cp != fromname && strcmp(argv[0], fromname)) { in zfs_do_send()
[all …]
/freebsd-14.2/contrib/lua/src/
H A Dloslib.c163 const char *fromname = luaL_checkstring(L, 1); in os_rename() local
165 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c2278 char *fromname; in zfsvfs_update_fromname() local
2285 fromname = mp->mnt_stat.f_mntfromname; in zfsvfs_update_fromname()
2286 if (strcmp(fromname, oldname) == 0) { in zfsvfs_update_fromname()
2287 (void) strlcpy(fromname, newname, in zfsvfs_update_fromname()
2291 if (strncmp(fromname, oldname, oldlen) == 0 && in zfsvfs_update_fromname()
2292 (fromname[oldlen] == '/' || fromname[oldlen] == '@')) { in zfsvfs_update_fromname()
2294 newname, fromname + oldlen); in zfsvfs_update_fromname()
2295 (void) strlcpy(fromname, tmpbuf, in zfsvfs_update_fromname()
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dzfs_ioctl.c6582 const char *fromname = NULL; in zfs_ioc_send_new() local
6596 (void) nvlist_lookup_string(innvl, "fromsnap", &fromname); in zfs_ioc_send_new()
6618 error = dmu_send(snapname, fromname, embedok, largeblockok, in zfs_ioc_send_new()
6682 const char *fromname = NULL; in zfs_ioc_send_space() local
6713 boolean_t from = (nvlist_lookup_string(innvl, "from", &fromname) == 0); in zfs_ioc_send_space()
6724 if (strchr(fromname, '#')) { in zfs_ioc_send_space()
6725 error = dsl_bookmark_lookup(dp, fromname, tosnap, &zbm); in zfs_ioc_send_space()
6751 } else if (strchr(fromname, '@')) { in zfs_ioc_send_space()
6752 error = dsl_dataset_hold(dp, fromname, FTAG, &fromsnap); in zfs_ioc_send_space()
6786 error = dmu_send(snapname, fromname, embedok, largeblockok, in zfs_ioc_send_space()
[all …]
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c1821 const char *fromname = NULL; in zfs_send_resume_impl_cb_impl() local
1891 fromname = name; in zfs_send_resume_impl_cb_impl()
1932 error = estimate_size(zhp, fromname, outfd, &tmpflags, in zfs_send_resume_impl_cb_impl()
1965 error = lzc_send_resume_redacted(zhp->zfs_name, fromname, outfd, in zfs_send_resume_impl_cb_impl()