/freebsd/usr.sbin/rpcbind/ |
H A D | security.c | 167 char fromname[NI_MAXHOST]; in logit() local 216 strcpy(fromname, "local"); in logit() 218 getnameinfo(addr, addr->sa_len, fromname, in logit() 219 sizeof fromname, NULL, 0, NI_NUMERICHOST); in logit() 222 fromname, procname, progname, text); in logit()
|
/freebsd/libexec/ftpd/ |
H A D | ftpcmd.y | 75 char *fromname = NULL; variable 124 if (fromname) 125 free(fromname); 126 fromname = NULL; 485 if (fromname) { 486 renamecmd(fromname, $4); 487 free(fromname); 488 fromname = NULL; 753 if (fromname) 754 free(fromname); [all …]
|
/freebsd/contrib/openbsm/libauditd/ |
H A D | auditd_lib.c | 851 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/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ftpcmd.y | 57 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 D | ftpcmd.c | 256 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/sbin/umount/ |
H A D | umount.c | 71 struct statfs *getmntentry(const char *fromname, const char *onname, 486 getmntentry(const char *fromname, const char *onname, fsid_t *fsid, dowhat what) in getmntentry() argument 513 if (fromname != NULL && strcmp(sfs->f_mntfromname, in getmntentry() 514 fromname) != 0) in getmntentry()
|
/freebsd/contrib/openbsm/bsm/ |
H A D | auditd_lib.h | 105 int auditd_rename(const char *fromname, const char *toname);
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_main.c | 4717 char *fromname = NULL; in zfs_do_send() local 4769 if (fromname) in zfs_do_send() 4771 fromname = optarg; in zfs_do_send() 4774 if (fromname) in zfs_do_send() 4776 fromname = optarg; in zfs_do_send() 4894 if (fromname != NULL || flags.replicate || flags.props || in zfs_do_send() 4922 if (fromname != NULL || flags.replicate || flags.props || in zfs_do_send() 4989 if (fromname != NULL && (strchr(fromname, '#') == NULL && in zfs_do_send() 4990 strchr(fromname, '@') == NULL)) { in zfs_do_send() 4999 fromname); in zfs_do_send() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_vfsops.c | 2272 char *fromname; in zfsvfs_update_fromname() 2279 fromname = mp->mnt_stat.f_mntfromname; in zfsvfs_update_fromname() 2280 if (strcmp(fromname, oldname) == 0) { in zfsvfs_update_fromname() 2281 (void) strlcpy(fromname, newname, in zfsvfs_update_fromname() 2285 if (strncmp(fromname, oldname, oldlen) == 0 && in zfsvfs_update_fromname() 2286 (fromname[oldlen] == '/' || fromname[oldlen] == '@')) { in zfsvfs_update_fromname() 2288 newname, fromname + oldlen); in zfsvfs_update_fromname() 2289 (void) strlcpy(fromname, tmpbuf, in zfsvfs_update_fromname() 2270 char *fromname; zfsvfs_update_fromname() local
|
/freebsd/contrib/lua/src/ |
H A D | loslib.c | 163 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/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_ioctl.c | 6817 const char *fromname = NULL; in zfs_ioc_send_new() local 6830 (void) nvlist_lookup_string(innvl, "fromsnap", &fromname); in zfs_ioc_send_new() 6850 error = dmu_send(snapname, fromname, embedok, largeblockok, in zfs_ioc_send_new() 6915 const char *fromname = NULL; in zfs_ioc_send_space() local 6946 boolean_t from = (nvlist_lookup_string(innvl, "from", &fromname) == 0); in zfs_ioc_send_space() 6957 if (strchr(fromname, '#')) { in zfs_ioc_send_space() 6958 error = dsl_bookmark_lookup(dp, fromname, tosnap, &zbm); in zfs_ioc_send_space() 6984 } else if (strchr(fromname, '@')) { in zfs_ioc_send_space() 6985 error = dsl_dataset_hold(dp, fromname, FTAG, &fromsnap); in zfs_ioc_send_space() 7019 error = dmu_send(snapname, fromname, embedok, largeblockok, in zfs_ioc_send_space() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_sendrecv.c | 1822 const char *fromname = NULL; in zfs_send_resume_impl_cb_impl() local 1892 fromname = name; in zfs_send_resume_impl_cb_impl() 1933 error = estimate_size(zhp, fromname, outfd, &tmpflags, in zfs_send_resume_impl_cb_impl() 1966 error = lzc_send_resume_redacted(zhp->zfs_name, fromname, outfd, in zfs_send_resume_impl_cb_impl()
|