Home
last modified time | relevance | path

Searched refs:sh (Results 1 – 25 of 692) sorted by relevance

12345678910>>...28

/illumos-gate/usr/src/cmd/ast/libshell/
H A DMakefile.tests33 tests/alias.sh \
34 tests/append.sh \
35 tests/arith.sh \
36 tests/arrays.sh \
37 tests/arrays2.sh \
38 tests/attributes.sh \
39 tests/basic.sh \
40 tests/bracket.sh \
41 tests/builtins.sh \
42 tests/case.sh \
[all …]
H A DMakefile.defs30 LOBJDIRS= bltins data edit sh
69 sh/args.o \
70 sh/arith.o \
71 sh/array.o \
72 sh/defs.o \
73 sh/deparse.o \
74 sh/expand.o \
75 sh/fault.o \
76 sh/fcin.o \
77 sh/init.o \
[all …]
/illumos-gate/usr/src/cmd/csh/i386/
H A DMakefile24 CPPFLAGS += -I../../sh
44 HDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \
45 sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
46 sh.parse.o sh.proc.o sh.sem.o sh.set.o sh.time.o
48 COMMONOBJS= printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
49 sh.exec.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init.o \
50 sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o \
51 sh.time.o sh.tchar.o sh.tconst.o sh.o \
69 %.o: ../../sh/%.c
77 $(HDDEP): ../sh.tconst.h
/illumos-gate/usr/src/cmd/csh/sparc/
H A DMakefile23 CPPFLAGS += -I../../sh
42 HDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \
43 sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
44 sh.parse.o sh.proc.o sh.sem.o sh.set.o sh.time.o
46 COMMONOBJS= printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
47 sh.exec.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init.o \
48 sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o \
49 sh.time.o sh.tchar.o sh.tconst.o sh.o \
67 %.o: ../../sh/%.c
75 $(HDDEP): ../sh.tconst.h
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-ksh93.p5m25 file path=opt/ksh93-tests/tests/alias.sh
26 file path=opt/ksh93-tests/tests/append.sh
27 file path=opt/ksh93-tests/tests/arith.sh
28 file path=opt/ksh93-tests/tests/arrays.sh
29 file path=opt/ksh93-tests/tests/arrays2.sh
30 file path=opt/ksh93-tests/tests/attributes.sh
31 file path=opt/ksh93-tests/tests/basic.sh
32 file path=opt/ksh93-tests/tests/bracket.sh
33 file path=opt/ksh93-tests/tests/builtins.sh
34 file path=opt/ksh93-tests/tests/case.sh
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c63 static share_t *sh = NULL; in getshare() local
73 if (sh == NULL) { in getshare()
74 sh = (share_t *)malloc(sizeof (*sh)); in getshare()
75 if (sh == NULL) in getshare()
84 sh->sh_path = (char *)strtok_r(p, w, &lasts); in getshare()
85 if (sh->sh_path == NULL) in getshare()
87 sh->sh_res = (char *)strtok_r(NULL, w, &lasts); in getshare()
88 if (sh->sh_res == NULL) in getshare()
90 sh->sh_fstype = (char *)strtok_r(NULL, w, &lasts); in getshare()
91 if (sh->sh_fstype == NULL) in getshare()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A DMakefile22 CLOBBERFILES += sh.tconst.h
23 CLEANFILES += sh.tconst.h
32 sh.o sh.char.o \
33 sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o\
34 sh.file.o sh.func.o sh.glob.o sh.hist.o\
35 sh.init.o sh.lex.o sh.misc.o sh.parse.o\
36 sh.print.o sh.proc.o sh.sem.o sh.set.o\
37 sh.tchar.o sh.time.o wait3.o printf.o
40 CPPFLAGS += -I ../sh
53 _msg: $(MSGDOMAIN) sh.tconst.h .WAIT $(POFILE)
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A DRELEASE1 12-07-17 iffe.sh: add C code NOTE("...") to ammend --verbose output
2 12-06-26 iffe.sh: fix "npt foo" to handle function-like macro foo()
3 12-06-20 package.sh: use $KSH for rt in "results test"
5 12-06-15 package.sh: add PLUGIN_LIB to $INSTALLROOT/bin/.paths and BUILTIN_LIB => PLUGIN_LIB
6 12-06-13 package.sh: handle admin.db column output
7 12-06-08 iffe.sh: fix 12-06-06 typo
8 12-06-06 iffe.sh: check for -l* in reverse and accumulative order (e.g., for -last & -lm)
9 12-06-04 package.sh: always check $INSTALLROOT/lib/package/profile
11 12-05-28 iffe.sh: api foo YYYYMMDD => FOOAPI(rel) test macro
12 12-05-24 package.sh: change admin.db comment => owner attributes
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathshell.c53 register char* sh; in pathshell() local
62 …if ((sh = getenv("SHELL")) && *sh == '/' && strmatch(sh, "*/(sh|*[!cC]sh)*([[:digit:]])?(-+([.[:al… in pathshell()
66 if (stat(sh, &st)) in pathshell()
68 if (ru != st.st_uid && !strmatch(sh, "?(/usr)?(/local)/?([ls])bin/?([[:lower:]])sh?(.exe)")) in pathshell()
81 s = sh; in pathshell()
90 if (s != sh) in pathshell()
102 return sh; in pathshell()
105 if (!(sh = val)) in pathshell()
107 if (!*(sh = astconf("SH", NiL, NiL)) || *sh != '/' || eaccess(sh, X_OK) || !(sh = strdup(sh))) in pathshell()
108 sh = "/bin/sh"; in pathshell()
[all …]
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c63 sh->sh_##field = kmem_alloc(len + 1, KM_SLEEP); \
64 bcopy(buf, sh->sh_##field, len); \
65 sh->sh_##field[len] = '\0'; \
67 sh->sh_size += shl.shl_##field; /* Debug counting */
70 if (sh->sh_##field != NULL) { \
71 kmem_free(sh->sh_##field, \
73 strlen(sh->sh_##field) + 1); \
84 sharefree(share_t *sh, sharefs_lens_t *shl) in sharefree() argument
86 if (sh == NULL) in sharefree()
95 kmem_free(sh, sizeof (*sh)); in sharefree()
[all …]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsharefs.c44 _sharefs(enum sharefs_sys_op opcode, struct share *sh) in _sharefs() argument
54 i = (sh->sh_path ? strlen(sh->sh_path) : 0); in _sharefs()
55 sh->sh_size = i; in _sharefs()
57 j = (sh->sh_res ? strlen(sh->sh_res) : 0); in _sharefs()
58 sh->sh_size += j; in _sharefs()
61 j = (sh->sh_fstype ? strlen(sh->sh_fstype) : 0); in _sharefs()
62 sh->sh_size += j; in _sharefs()
65 j = (sh->sh_opts ? strlen(sh->sh_opts) : 0); in _sharefs()
66 sh->sh_size += j; in _sharefs()
69 j = (sh->sh_descr ? strlen(sh->sh_descr) : 0); in _sharefs()
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c113 Elf_Shdr *sh; in __fex_read_syms() local
150 if ((sh = (Elf_Shdr*)malloc(size)) == NULL) in __fex_read_syms()
153 read(fd, sh, size) != (ssize_t)size) in __fex_read_syms()
155 free(sh); in __fex_read_syms()
162 if (sh[i].sh_type == SHT_SYMTAB) in __fex_read_syms()
165 if (i == h.e_shnum || sh[i].sh_size == 0 || in __fex_read_syms()
166 sh[i].sh_entsize != sizeof(Elf_Sym) || in __fex_read_syms()
167 sh[i].sh_link < 1 || sh[i].sh_link >= h.e_shnum || in __fex_read_syms()
168 sh[sh[i].sh_link].sh_type != SHT_STRTAB || in __fex_read_syms()
169 sh[sh[i].sh_link].sh_size == 0) in __fex_read_syms()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.pat233 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
234 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
237 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
238 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
239 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
240 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
245 5daemon:*:1:1:daemons:/:/bin/sh
246 5daemon:*:1:1:daemons:/:/bin/sh
247 5daemon:*:1:1:daemons:/:/bin/sh
248 5daemon:*:1:1:daemons:/:/bin/sh
[all …]
H A Dt.time2 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
4 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
6 5daemon:*:1:1:daemons:/:/bin/sh
7 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sh
8 10adm:*:5:3:Accounting Files Owner:/usr/adm:/bin/sh
9 11lp:*:9:9:Print Spooler Owner:/var/spool/lp:/bin/sh
10 12auditor:*:11:0:Audit Activity Owner:/auditor:/bin/sh
11 13dbadmin:*:12:0:Security Database Owner:/dbadmin:/bin/sh
12 16rfindd:*:66:1:Rfind Daemon and Fsdump:/var/rfindd:/bin/sh
19 28dist:sorry:9999:4:file distributions:/v/adm/dist:/v/bin/sh
[all …]
H A Dt.sub01669 1rfooot:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
1670 1rffoooot:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
1671 1rfffoofoofoofoot:EMpNB8Zp56:0:0:Sfoopfoor-Usfoor,,,,,,,:/:/bfoon/sh
1672 1rffffoofooffoofooffoofooffoofoot:EMpNB8Zp56:0:0:Sffoofoopffoofoor-Usffoofoor,,,,,,,:/:/bffoofoon/sh
1673 …ffofooofooffoofooffoofooffoofoot:EMpNB8Zp56:0:0:Sffoofoopffoofoor-Usffoofoor,,,,,,,:/:/bffoofoon/sh
1674 …foofooofooffoofooffoofooffoofoot:EMpNB8Zp56:0:0:Sffoofoopffoofoor-Usffoofoor,,,,,,,:/:/bffoofoon/sh
1675 …Sffofooofoofofooofoopffofooofoofofooofoor-Usffofooofoofofooofoor,,,,,,,:/:/bffofooofoofofooofoon/sh
1676 …fofoofofooofooofoofofooofoor,,,,,,,:/:/bffofoofofooofooofoofofooofoofofoofofooofooofoofofooofoon/sh
1677 …fofoofofooofooofoofofooofoor,,,,,,,:/:/bffofoofofooofooofoofofooofoofofoofofooofooofoofofooofoon/sh
1678 …fofoofofooofooofoofofooofoor,,,,,,,:/:/bffofoofofooofooofoofofooofoofofoofofooofooofoofofooofoon/sh
[all …]
H A Dt.reg417 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
418 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
419 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
424 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
425 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
426 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
430 5daemon:*:1:1:daemons:/:/bin/sh
431 5daemon:*:1:1:daemons:/:/bin/sh
432 5daemon:*:1:1:daemons:/:/bin/sh
442 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sh
[all …]
H A Dt.re5360 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
361 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
362 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
363 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
364 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
367 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
368 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
373 5daemon:*:1:1:daemons:/:/bin/sh
374 5daemon:*:1:1:daemons:/:/bin/sh
384 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sh
[all …]
H A Dt.pp88 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
89 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
91 5daemon:*:1:1:daemons:/:/bin/sh
92 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sh
93 10adm:*:5:3:Accounting Files Owner:/usr/adm:/bin/sh
94 11lp:*:9:9:Print Spooler Owner:/var/spool/lp:/bin/sh
95 12auditor:*:11:0:Audit Activity Owner:/auditor:/bin/sh
96 13dbadmin:*:12:0:Security Database Owner:/dbadmin:/bin/sh
99 16rfindd:*:66:1:Rfind Daemon and Fsdump:/var/rfindd:/bin/sh
107 28dist:sorry:9999:4:file distributions:/v/adm/dist:/v/bin/sh
[all …]
H A Dt.8.x140 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
142 3sysadm:*:0:0:System 3sysadm:*:0:0:System Administration:/usr/admin:/bin/sh
144 5daemon:*:1:1:daemons:/:/bin/sh 5daemon:*:1:1:daemons:/:/bin/sh
148 9sys:*:4:0:System 9sys:*:4:0:System Owner:/usr/adm:/bin/sh
149 10adm:*:5:3:Accounting 10adm:*:5:3:Accounting Owner:/usr/adm:/bin/sh
150 11lp:*:9:9:Print 11lp:*:9:9:Print Owner:/var/spool/lp:/bin/sh
151 12auditor:*:11:0:Audit 12auditor:*:11:0:Audit Owner:/auditor:/bin/sh
152 13dbadmin:*:12:0:Security 13dbadmin:*:12:0:Security Owner:/dbadmin:/bin/sh
155 16rfindd:*:66:1:Rfind 16rfindd:*:66:1:Rfind and Fsdump:/var/rfindd:/bin/sh
169 30phoneca:*:991:991:phone 30phoneca:*:991:991:phone log [tom]:/v/adm/log:/v/bin/sh
[all …]
H A Dt.intest21249 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
1250 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
1252 …:Super-User,,,,,,,:/:/bin/sh1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh 1root:EMpNB8Zp56:0:0…
1253 1 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
1267 V Administration:/usr/admin:/bin/sh
1268 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
1270 2 Administration:/usr/admin:/bin/sh
1271 …em V Administration:/usr/admin:/bin/sh3sysadm:*:0:0:System 3sysadm:*:0:0:System V Administration:…
1284 5daemon:*:1:1:daemons:/:/bin/sh
1285 5daemon:*:1:1:daemons:/:/bin/sh
[all …]
H A Dt.not318 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
319 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
323 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
324 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
325 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
329 5daemon:*:1:1:daemons:/:/bin/sh
330 5daemon:*:1:1:daemons:/:/bin/sh
331 5daemon:*:1:1:daemons:/:/bin/sh
341 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sh
342 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sh
[all …]
H A Dt.for3559 1 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
560 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
571 3 Administration:/usr/admin:/bin/sh
574 Administration:/usr/admin:/bin/sh
579 1 5daemon:*:1:1:daemons:/:/bin/sh
580 5daemon:*:1:1:daemons:/:/bin/sh
593 3 Owner:/usr/adm:/bin/sh
596 Owner:/usr/adm:/bin/sh
599 3 Owner:/usr/adm:/bin/sh
602 Owner:/usr/adm:/bin/sh
[all …]
/illumos-gate/usr/src/lib/libadt_jni/com/sun/audit/
H A DAuditSession.java74 private byte[] sh; // current session handle field in AuditSession
91 sh = new byte[8]; // NULL pointer in C in AuditSession()
96 sh = startSession(context, 0); in AuditSession()
100 sh = new byte[8]; in AuditSession()
104 sh = new byte[8]; in AuditSession()
118 return sh; in getSession()
126 sessionId = getSessionId(sh); in getSessionId()
157 endSession(sh); in finalize()
174 exportedData = exportSessionData(sh); in exportSession()
209 sessionAttr(sh, euid, egid, ruid, rgid, in setUser()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/
H A DMakefile.com103 ../common/topo_error.c: ../common/mkerror.sh ../common/topo_error.h
104 sh ../common/mkerror.sh liberrors < ../common/topo_error.h > $@
105 sh ../common/mkerror.sh properrors < ../common/libtopo.h >> $@
106 sh ../common/mkerror.sh methoderrors < ../common/libtopo.h >> $@
107 sh ../common/mkerror.sh fmrierrors < ../common/libtopo.h >> $@
108 sh ../common/mkerror.sh hdlerrors < ../common/libtopo.h >> $@
109 sh ../common/mkerror.sh moderrors < ../common/topo_mod.h >> $@
111 $(SRCDIR)/topo_tables.c: $(SRCDIR)/mktables.sh $(SRCDIR)/libtopo.h
112 sh $(SRCDIR)/mktables.sh $(SRCDIR)/libtopo.h > $@
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dvariables.sh34 [[ ${.sh.version} == "$KSH_VERSION" ]] || err_exit '.sh.version != KSH_VERSION'
117 nameref foo=${.sh.name}.save
118 foo=${.sh.value}
119 .sh.value=$0
127 nameref foo=${.sh.name}.save
128 .sh.value=$foo
179 .sh.value=stuff
451 then file=${.sh.file}
459 [[ $(posixfun .sh.file) == $tmp/script ]] || err_exit ".sh.file not working for posix functions"
460 [[ $(fun .sh.file) == $tmp/script ]] || err_exit ".sh.file not working for functions"
[all …]

12345678910>>...28