/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | i.rbac | 523 while read newfile oldfile ; do 527 mkdir -m 755 -p ${oldfile}.d 528 rm -f ${oldfile}.d/"$PKGINST" 529 cp $newfile ${oldfile}.d/"$PKGINST" 532 chmod a-w,a+r ${oldfile}.d/"$PKGINST" 537 if [ ! -f $oldfile ]; then 538 cp $newfile $oldfile 541 set_type_and_outfile $oldfile 549 dbmerge $type $oldfile $newfile $outfile 551 echo "$0 : failed to merge $newfile with $oldfile" [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | errlist.awk | 57 oldfile = "errlst.c" 59 print "#pragma weak _sys_errlist = sys_errlist" >oldfile 60 print "#pragma weak __sys_errs = _sys_errs" >oldfile 61 print "#include \"lint.h\"\n" >oldfile 65 print "#define\tC(x)\n" >oldfile 117 genlists(oldfile, "_sys_index", "_sys_errs", "_sys_num_err") 118 print "#undef sys_nerr" >oldfile 119 print "#pragma weak _sys_nerr = _sys_num_err" >oldfile 120 print "#pragma weak sys_nerr = _sys_num_err" >oldfile 123 print "const char *sys_errlist[] = {" >oldfile [all...] |
/illumos-gate/usr/src/cmd/modload/ |
H A D | drvsubr.c | 354 char *oldfile, in delete_entry() argument 397 gettext(ERR_INT_UPDATE), oldfile); in delete_entry() 402 if ((fp = fopen(oldfile, "r")) == NULL) { in delete_entry() 404 (void) fprintf(stderr, gettext(ERR_CANT_ACCESS_FILE), oldfile); in delete_entry() 416 (void) snprintf(newfile, sizeof (newfile), "%s%s", oldfile, ".hold"); in delete_entry() 450 (void) fprintf(stderr, gettext(ERR_UPDATE), oldfile); in delete_entry() 461 oldfile); in delete_entry() 470 oldfile, line); in delete_entry() 482 oldfile); in delete_entry() 489 if ((strcmp(oldfile, minor_perm) == 0) || in delete_entry() [all …]
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | command.c | 488 char oldfile[PATHLEN + 1]; /* old file name */ in changestring() local 606 *oldfile = '\0'; in changestring() 615 if (strcmp(newfile, oldfile) != 0) { in changestring() 627 if (*oldfile != '\0') { in changestring() 632 (void) strcpy(oldfile, newfile); in changestring() 633 (void) fprintf(script, "e %s\n", oldfile); in changestring()
|
H A D | main.c | 951 char *oldfile; /* file in old cross-reference */ in build() local 1097 oldfile = getoldfile(); in build() 1101 oldfile = NULL; in build() 1149 while (oldfile != NULL && strcmp(file, oldfile) > 0) { in build() 1150 oldfile = getoldfile(); in build() 1156 if (oldfile == NULL || strcmp(file, oldfile) < 0) { in build() 1173 oldfile = getoldfile(); in build() 1182 oldfile = getoldfile(); in build()
|
/illumos-gate/usr/src/cmd/diff/ |
H A D | diff.c | 927 fetch(long *f, int a, int b, int filen, char *s, int oldfile) in fetch() argument 941 if (opt == D_IFDEF && oldfile) { in fetch() 961 oneflag && oldfile == 1 ? "!" : "", ifdef2); in fetch() 966 if (oldfile) in fetch() 973 endifname = oldfile ? ifdef1 : ifdef2; in fetch() 978 inifdef = 1 + oldfile; in fetch()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmdebug.c | 476 char *file, *oldfile; local 511 oldfile = DBFILE(addr); 522 dbsetinfo((Vmuchar_t*)addr,oldsize,oldfile,oldline);
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 516 char oldfile[MAXPATHLEN]; in zsd_enable_cpu_stats() local 542 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_enable_cpu_stats() 566 char oldfile[MAXPATHLEN]; in zsd_disable_cpu_stats() local 569 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_disable_cpu_stats() 570 if (ret == 0 && strcmp(oldfile, path) != 0) in zsd_disable_cpu_stats() 615 char oldfile[MAXPATHLEN]; in zsd_roll_exacct() local 618 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_roll_exacct() 619 if (ret == 0 && strcmp(oldfile, path) != 0) in zsd_roll_exacct()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | proto.c | 172 …r* newfile, const char* oldfile, int preserve), (newfile, oldfile, preserve)) __OTORP__(const char… in __OTORP__() 176 if (stat(oldfile, &st)) 182 if (remove(oldfile) || rename(newfile, oldfile)) 185 chmod(oldfile, st.st_mode); 190 preserve = utime(oldfile, ut);
|