/illumos-gate/usr/src/uts/common/os/ |
H A D | privs.awk | 152 if (cfile) { 153 print ccmt > cfile 154 print acmt > cfile 198 if (cfile) 199 print > cfile 215 if (!pubhfile && !privhfile && !cfile && !pnamesfile) { 226 if (cfile) { 227 print "\n" > cfile 228 print pragma "\n"> cfile 229 print "#include <sys/types.h>" > cfile [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ruserpass.c | 41 static FILE *cfile; variable 97 cfile = fopen(buf, "r"); in rnetrc() 98 if (cfile == NULL) { in rnetrc() 135 if (fstat(fileno(cfile), &stb) >= 0 && in rnetrc() 153 if (fstat(fileno(cfile), &stb) >= 0 && in rnetrc() 174 while ((c = getc(cfile)) != EOF && c == ' ' || in rnetrc() 187 for (i = 0; i < 8 && (c = getc(cfile)) != EOF && in rnetrc() 199 while ((c = getc(cfile)) != EOF && c != '\n'); in rnetrc() 215 if ((c = getc(cfile)) == EOF) { in rnetrc() 252 (void) fclose(cfile); in rnetrc() [all …]
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | lookup.c | 73 static int stlookuppn(struct st_pathname *pnp, struct nfs_file *cfile, 98 stlookuppn(struct st_pathname *pnp, struct nfs_file *cfile, in stlookuppn() argument 107 *cfile = roothandle; /* structure copy - start at the root. */ in stlookuppn() 120 *cfile = roothandle; in stlookuppn() 129 if (!cfile_is_dir(cfile)) { in stlookuppn() 158 if (cfile == &roothandle) in stlookuppn() 182 switch (cfile->version) { in stlookuppn() 184 lkp = nfslookup(cfile, component, &error); in stlookuppn() 187 lkp = nfs3lookup(cfile, component, &error); in stlookuppn() 190 lkp = nfs4lookup(cfile, component, &error); in stlookuppn() [all …]
|
H A D | nfs3ops.c | 407 nfs3getsymlink(struct nfs_file *cfile, char **path) in nfs3getsymlink() argument 416 linkargs.symlink.data.data_len = cfile->fh.fh3.len; in nfs3getsymlink() 417 linkargs.symlink.data.data_val = cfile->fh.fh3.data; in nfs3getsymlink()
|
H A D | nfs2ops.c | 345 nfsgetsymlink(struct nfs_file *cfile, char **path) in nfsgetsymlink() argument 358 xdr_nfs_fh, (caddr_t)&cfile->fh.fh2, in nfsgetsymlink()
|
H A D | nfs4ops.c | 594 nfs4getsymlink(struct nfs_file *cfile, char **path) in nfs4getsymlink() argument 613 if (cfile->fh.fh4.len > 0) in nfs4getsymlink() 615 &cfile->fh.fh4); in nfs4getsymlink()
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | ruserpass.c | 79 FILE *cfile; member 173 d->cfile = fopen(buf, "rF"); in rnetrc() 174 if (d->cfile == NULL) { in rnetrc() 204 if (fstat64(fileno(d->cfile), &stb) >= 0 && in rnetrc() 233 (void) fclose(d->cfile); in rnetrc() 247 if (feof(d->cfile)) in token() 249 while ((c = getc(d->cfile)) != EOF && in token() 256 while ((c = getc(d->cfile)) != EOF && c != '"') { in token() 258 c = getc(d->cfile); in token() 263 while ((c = getc(d->cfile)) != EOF && in token() [all …]
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | genoffsets.pl | 132 my ($cfile, $genfile); 133 open($cfile, '>', $CTmp) || bail("failed to create $CTmp: $!"); 147 print $cfile $_; 149 print $cfile $_; 157 close($cfile) || bail("can't close $CTmp: $!");
|
/illumos-gate/usr/src/test/elf-tests/tests/capabilities/ |
H A D | objcap.ksh | 72 typeset cfile="$oc_tmpdir/test.c" 83 cat > $cfile <<EOF 91 fatal "failed to write token C file to $cfile" 129 if ! gcc -m64 -o $oc_prog_nocap $cfile; then 133 if ! gcc -m64 -o $oc_prog_hw1 $cfile -Wl,-M$mapfile_hw1; then 137 if ! gcc -m64 -o $oc_prog_hw3 $cfile -Wl,-M$mapfile_hw3; then 141 if ! gcc -m64 -o $oc_prog_hw123 $cfile -Wl,-M$mapfile_hw123; then
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.include.ksh | 41 cfile=${TMPDIR:-/tmp}/inc.$$.$file.c 43 cat > $cfile <<EOF 49 if $CC $CFLAGS -o $cofile $cfile >/dev/null 2>&1; then 66 rm -f $cofile $cfile 2>/dev/null
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/ |
H A D | zfs_promote_001_pos.ksh | 104 cfile=/$clone/$CLONEFILE 114 log_must mkfile $FILESIZE $cfile 118 testing_verify $fs $file1 $snapfile $clone $cfile $csnapfile 123 testing_verify $clone $cfile $csnapfile $fs $file1 $snapfile
|
H A D | zfs_promote_004_pos.ksh | 84 set -A cfile "${cdir}/$CLONEFILE" "${cdir}/$CLONEFILE1" "${cdir}/$CLONEFILE2" 105 log_must mkfile $FILESIZE ${cfile[i]} 106 (( i>0 )) && log_must rm -f ${cfile[(( i-1 ))]}
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | compile | 83 cfile=$1 96 if test -z "$ofile" || test -z "$cfile"; then 106 cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uux.c | 86 char cfile[NAMESIZE]; /* send commands for files from here */ local 385 gename(CMDPRE, xsys, Grade, cfile); 386 DEBUG(9, "cfile = %s\n", cfile); 387 ASSERT(access(cfile, 0) != 0, Fl_EXISTS, cfile, errno); 388 fpc = fdopen(ret = creat(cfile, CFILEMODE), "w"); 389 ASSERT(ret >= 0 && fpc != NULL, Ct_OPEN, cfile, errno); 393 STRNCPY(Jobid, BASENAME(cfile, '.')); 912 ASSERT(fflush(fpc) != EOF && ferror(fpc) == 0, Ct_WRITE, cfile, errno); 924 svcfile(cfile, xsys, Sgrade); 933 unlink(cfile);
|
H A D | uuxqt.c | 831 char dfile[MAXFULLNAME], cfile[MAXFULLNAME], incmd[BUFSIZ]; local 1210 (void) snprintf(cfile, sizeof (cfile), "%s/%s", 1212 fp = fdopen(ret = creat(cfile, CFILEMODE), "w"); 1213 ASSERT(ret >= 0 && fp != NULL, Ct_OPEN, cfile, errno); 1222 wfcommit(cfile, BASENAME(cfile, '/'), sendsys); 1257 (void) snprintf(cfile, sizeof (cfile), "%s/%s", 1259 fp = fdopen(ret = creat(cfile, CFILEMODE), "w"); 1260 ASSERT(ret >= 0 && fp != NULL, Ct_OPEN, cfile, errno); 1269 wfcommit(cfile, BASENAME(cfile, '/'), sendsys);
|
H A D | uucp.c | 489 char cfile[NAMESIZE]; local 591 cfp = syscfile(cfile, s1); 648 cfp = syscfile(cfile, s2);
|
/illumos-gate/usr/src/test/libc-tests/tests/symbols/ |
H A D | symbols_test.c | 36 char *cfile; variable 725 if (cfile != NULL) { in cleanup() 726 (void) unlink(cfile); in cleanup() 727 free(cfile); in cleanup() 728 cfile = NULL; in cleanup() 756 myasprintf(&cfile, "%s/compile_test.c", d); in mkworkdir() 777 cc, MFLAG, cfile, efile); in test_compiler() 825 if ((cf = fopen(cfile, "w+")) == NULL) { in find_compiler() 826 test_failed(t, "Unable to open %s for write: %s", cfile, in find_compiler() 875 if ((dotc = fopen(cfile, "w+")) == NULL) { in do_compile() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/util/ |
H A D | mailstats.c | 55 char *cfile; variable 72 cfile = getcfname(0, 0, SM_GET_SENDMAIL_CF, NULL); 82 cfile = getcfname(0, 0, SM_GET_SUBMIT_CF, NULL); 86 cfile = optarg; 119 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY, 125 sm_perror(cfile);
|
H A D | editmap.c | 78 char *cfile; local 117 cfile = _PATH_SENDMAILCF; 140 cfile = optarg; 214 if ((cfp = fopen(cfile, "r")) == NULL) 217 cfile, sm_errstring(errno));
|
H A D | praliases.c | 63 char *cfile; local 89 cfile = getcfname(0, 0, SM_GET_SENDMAIL_CF, NULL); 94 cfile = optarg; 116 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY, 120 "praliases: %s: %s\n", cfile,
|
H A D | makemap.c | 78 char *cfile; local 121 cfile = getcfname(0, 0, SM_GET_SENDMAIL_CF, NULL); 144 cfile = optarg; 237 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY, 241 cfile, sm_errstring(errno));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 229 struct per_file *cfile; in close_service() local 236 cfile = psp->ps_cfile; in close_service() 239 if (cfile == NULL) in close_service() 257 if (slp == &cfile->pf_global) { in close_service() 267 cfile = cfile->pf_prev; in close_service() 268 while (cfile != NULL) { in close_service() 271 cfile->pf_global.sl_entry.se_flist; in close_service() 275 cfile->pf_global.sl_entry.se_flist; in close_service() 278 cfile = cfile->pf_prev; in close_service() 286 while (cfile != NULL) { in close_service() [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_config.c | 94 char *cfile, *buf; in slp_readConfig() local 100 if (cfile = getenv("SLP_CONF_FILE")) in slp_readConfig() 101 fp = fopen(cfile, "rF"); in slp_readConfig()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfcomp.c | 57 static FILE *cfile = NULL; variable 79 if (cfile == NULL) 80 cfile = fopen("ip_rules.c", "w"); 81 if (cfile == NULL) 83 fp = cfile; 336 fprintf(cfile, "#endif /* IPFILTER_COMPILED */\n"); 358 printhooks(cfile, incount, outcount, grp); 401 fprintf(cfile, "\n\ in emittail() 407 fprintf(cfile, "\ in emittail() 412 fprintf(cfile, "\ in emittail() [all …]
|
/illumos-gate/usr/src/uts/intel/ |
H A D | Makefile | 74 $(AWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) cfile=$@
|