/titanic_50/usr/src/cmd/cmd-inet/usr.lib/wanboot/keymgmt/ |
H A D | keymgmt.c | 183 char *tmp_path; in compress_keystore() local 193 tmp_path = alloca(len); in compress_keystore() 194 (void) snprintf(tmp_path, len, "%s.XXXXXX", keystore_name); in compress_keystore() 199 if ((tmp_fd = mkstemp(tmp_path)) == -1) { in compress_keystore() 200 wbku_printerr("Error creating %s\n", tmp_path); in compress_keystore() 208 wbku_printerr("Error opening %s", tmp_path); in compress_keystore() 210 (void) unlink(tmp_path); in compress_keystore() 222 (void) unlink(tmp_path); in compress_keystore() 229 if (rename(tmp_path, keystore_name) == -1) { in compress_keystore() 231 tmp_path, keystore_name); in compress_keystore() [all …]
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_secinfo.c | 628 char *tmp_path; in nfs4secinfo_otw() local 641 tmp_path = kmem_alloc(path_len + 1, KM_SLEEP); in nfs4secinfo_otw() 643 bcopy(svp->sv_path, tmp_path, path_len + 1); in nfs4secinfo_otw() 645 comp_getn(tmp_path, ncomp, &comp); in nfs4secinfo_otw() 658 (void) nfs4lookup_setup(tmp_path, &lookuparg, 0); in nfs4secinfo_otw() 685 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 706 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 717 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 742 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 757 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() [all …]
|
/titanic_50/usr/src/cmd/luxadm/ |
H A D | fchba.c | 1746 struct lun_tracking *tmp_path; in fchba_display_config() local 1760 for (tmp_path = first_time; tmp_path != NULL; in fchba_display_config() 1761 tmp_path = tmp_path->next_path) { in fchba_display_config() 1762 if (mpxio && (strncmp(tmp_path->info.pathState, in fchba_display_config() 1763 "ONLINE", strlen(tmp_path->info.pathState)))) { in fchba_display_config() 1768 tmp_path->hba_pwwn); in fchba_display_config() 1772 tmp_path->hba_path); in fchba_display_config() 1779 lun = tmp_path->map.FcpId.FcpLun; in fchba_display_config() 1784 tmp_path->hba_pwwn, in fchba_display_config() 1785 tmp_path->map.FcpId.PortWWN, in fchba_display_config() [all …]
|
/titanic_50/usr/src/cmd/svr4pkg/libinst/ |
H A D | fixpath.c | 125 static char tmp_path[PATH_MAX]; in set_inst_root() local 151 (void) strlcpy(tmp_path, path, sizeof (tmp_path)); in set_inst_root() 153 canonize(tmp_path); in set_inst_root() 155 install_root = tmp_path; in set_inst_root()
|
/titanic_50/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_svc.c | 311 char tmp_path[MAXPATHLEN]; in remove_dir() local 333 (void) strcpy(tmp_path, path_dir); in remove_dir() 334 (void) strcat(tmp_path, "/"); in remove_dir() 335 (void) strcat(tmp_path, dirp->d_name); in remove_dir() 336 delete_file(tmp_path); in remove_dir()
|
/titanic_50/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 52 audit_crontab_modify(char *path, char *tmp_path, int sorf) in audit_crontab_modify() argument 68 r = audit_crontab_get_diffs(path, tmp_path, &diffs); in audit_crontab_modify()
|
/titanic_50/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 1648 char tmp_path[MAXPATHLEN]; in find_lofsentry() local 1710 (void) strcpy(tmp_path, rpath); in find_lofsentry() 1711 (void) strcat(tmp_path, "/."); in find_lofsentry() 1713 if (stat(tmp_path, &r_stbuf) < 0) { in find_lofsentry() 1715 syslog(LOG_NOTICE, "%s: %m", tmp_path); in find_lofsentry() 1761 (void) strcpy(tmp_path, ml->mntl_mnt->mnt_special); in find_lofsentry() 1762 (void) strcat(tmp_path, p2); in find_lofsentry() 1765 retcode = findentry(tmp_path); in find_lofsentry() 1770 assert(strlen(tmp_path) > 0); in find_lofsentry() 1771 (void) strcpy(rpath, tmp_path); in find_lofsentry()
|
/titanic_50/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | main.c | 1127 char *tmp_path; in rmclass() local 1183 tmp_path = fixpath(ept->path); in rmclass() 1184 ept->path = tmp_path; in rmclass()
|
/titanic_50/usr/src/cmd/make/bin/ |
H A D | main.cc | 2360 char tmp_path[MAXPATHLEN]; in read_files_and_state() local 2364 strncpy(tmp_path, make_state->string_mb, in read_files_and_state() 2366 tmp_path[slashp - make_state->string_mb]=0; in read_files_and_state() 2367 if(strlen(tmp_path)) { in read_files_and_state() 2368 if(stat(tmp_path, &make_state_stat)) { in read_files_and_state() 2369 warning(gettext("directory %s for .KEEP_STATE_FILE does not exist"),tmp_path); in read_files_and_state() 2371 if (access(tmp_path, F_OK) != 0) { in read_files_and_state() 2372 warning(gettext("can't access dir %s"),tmp_path); in read_files_and_state()
|
/titanic_50/usr/src/uts/common/io/usb/usba/ |
H A D | hubdi.c | 5428 char *tmp_path = NULL; in hubd_select_device_configuration() local 5439 tmp_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in hubd_select_device_configuration() 5440 (void) ddi_pathname(child_dip, tmp_path); in hubd_select_device_configuration() 5442 pathlen = strlen(tmp_path) + 32; in hubd_select_device_configuration() 5449 (void) sprintf(pathname, "%s@%d", tmp_path, port); in hubd_select_device_configuration() 5454 usba_get_mfg_prod_sn_str(child_dip, tmp_path, MAXPATHLEN), in hubd_select_device_configuration() 5456 kmem_free(tmp_path, MAXPATHLEN); in hubd_select_device_configuration()
|