Searched refs:jid (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.jid.d26 * collect jid at every fbt probe and at every firing of a
32 @a[jid] = count();
37 @a[jid] = count();
/freebsd-11-stable/lib/libjail/
H A Djail_getid.c50 int jid; local
53 jid = strtoul(name, &ep, 10);
56 * jid == 0 is a special case; it will not appear in the
62 if (jid == 0)
63 return jid;
64 jiov[0].iov_base = __DECONST(char *, "jid");
65 jiov[0].iov_len = sizeof("jid");
66 jiov[1].iov_base = &jid;
67 jiov[1].iov_len = sizeof(jid);
80 jid
91 jail_getname(int jid) argument
[all...]
H A Djail.h53 extern char *jail_getname(int jid);
H A Djail.c81 int njp, jid; local
98 jid = jailparam_set(jp, njp, flags);
100 return (jid);
119 int njp, i, jid; local
141 } else if (!strcmp(jp[njp].jp_name, "jid")) {
168 jid = jailparam_get(jp, njp, flags);
169 if (jid < 0)
189 return (jid);
486 int i, jid, bool0; local
511 jid
574 int i, ai, ki, jid, arrays, sanity; local
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dport-irix.c53 jid_t jid = 0; local
55 int jid = 0; local
59 jid = jlimit_startjob(pw->pw_name, pw->pw_uid, "interactive");
60 if (jid == -1)
66 if (jid == 0 && newarraysess() != 0)
H A Dbsd-cray.c117 int jid = 0; /* job id */ local
119 if ((jid = getjtab(&jtab)) < 0)
135 fsent.jid = jid;
201 int jid; /* job ID */ local
244 if ((jid = getjtab(&jtab)) < 0) {
395 fsent.jid = jid;
431 fsent.jid = jid;
719 cray_delete_tmpdir(char *login, int jid, uid_t uid) argument
749 int jid; local
766 int jid; local
791 int jid; local
[all...]
/freebsd-11-stable/sbin/bectl/
H A Dbectl_jail.c54 static int bectl_jail_cleanup(char *mountpoint, int jid);
210 bectl_jail_cleanup(char *mountpoint, int jid) argument
215 if (jid >= 0 && jail_remove(jid) != 0) {
241 int i, jid, mntflags, opt, ret; local
367 * only jail_remove if the jid is >= 0.
369 jid = bectl_locate_jail(bootenv);
370 bectl_jail_cleanup(mountpoint, jid);
380 int jid; local
387 while ((jid
410 int jid; local
451 int jid; local
[all...]
/freebsd-11-stable/usr.sbin/jail/
H A Djail.c406 if (!j->jid)
420 j->flags = j->jid < 0 ? JF_START : JF_SET;
423 if (j->jid < 0) {
434 j->flags = j->jid < 0 ? JF_START
443 if (j->jid > 0 &&
452 if (j->jid > 0)
467 if (j->jid < 0 && !(j->flags & JF_DEPEND)) {
490 if (j->jid < 0) {
501 } else if ((j->flags & JF_FAILED) && j->jid > 0)
626 int dopersist, ns, jid, dyin local
735 int jid; local
762 int ns, jid; local
865 int jid; local
910 int jid; local
[all...]
H A Dstate.c221 (rev ? dj->jid < 0 : dj->jid > 0)))
308 int jid; local
337 jiov[1].iov_base = &jid;
338 jiov[1].iov_len = sizeof(jid);
339 jiov[2].iov_base = __DECONST(char *, "jid");
340 jiov[2].iov_len = sizeof("jid");
341 jiov[3].iov_base = &jid;
342 jiov[3].iov_len = sizeof(jid);
347 for (jid
464 int jid, ret, len; local
[all...]
/freebsd-11-stable/tools/tools/vimage/
H A Dvimage.c58 int jid; member in struct:vimage_status
99 int jid, i, s, namelen; local
160 jid = 0;
161 while ((jid = getjail(&vst[vst_last], jid, verbose)) > 0) {
206 printf(" JID: %d\n", vst[i].jid);
218 if ((jid = jail_getid(argv[0])) < 0)
220 ifreq.ifr_jid = jid;
233 if (jail_attach(jid) < 0)
291 if ((jid
[all...]
/freebsd-11-stable/usr.sbin/jls/
H A Djls.c88 int c, i, jflags, jid, lastjid, pflags, spc; local
96 pflags = jflags = jid = 0;
104 jid = strtoul(optarg, &ep, 10);
105 if (!jid || *ep) {
106 jid = 0;
148 add_param("jid", NULL, (size_t)0, NULL, JP_USER);
170 add_param("jid", NULL, (size_t)0, NULL, JP_USER);
202 if (jid != 0)
203 add_param("jid", &jid, sizeo
384 int i, ai, jid, count, n, spc; local
[all...]
/freebsd-11-stable/usr.sbin/jexec/
H A Djexec.c61 int jid; local
102 jid = jail_getid(argv[0]);
103 if (jid < 0)
105 if (jail_attach(jid) == -1)
106 err(1, "jail_attach(%d)", jid);
/freebsd-11-stable/contrib/top/
H A Dmachine.h76 int jid; /* only this jid (unless jid == -1) */ member in struct:process_select
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c1742 int jid; local
1745 while ((jid = waitjob(NULL)) != -1) {
1746 if (jid == 0) {
1750 jobend(jid, NULL, NULL);
1761 jid_getutid(jid)
1762 int jid;
1768 if ( (cur->ut_type != NULL) && (jid == cur->ut_jid) ) {
1826 jobend(jid, path, user)
1827 int jid;
1842 * "saved_jid != jid" cod
[all...]
/freebsd-11-stable/bin/pkill/tests/
H A Dpgrep-j_test.sh7 jls -j "$check_name" -s | tr ' ' '\n' | grep jid= | sed -e 's/.*=//g'
22 name="pgrep -j <jid>"
34 jid="${jid1},${jid2}"
35 case "$jid" in
44 pid1="$(pgrep -f -x -j "$jid" "$sleep $sleep_amount" | sort)"
93 # test 4 is like test 1 except with jname instead of jid.
H A Dpkill-j_test.sh7 jls -j "$check_name" -s | tr ' ' '\n' | grep jid= | sed -e 's/.*=//g'
22 name="pkill -j <jid>"
35 jid="${jid1},${jid2}"
36 case "$jid" in
45 if pkill -f -j "$jid" $sleep && sleep 0.5 &&
95 # test 4 is like test 1 except with jname instead of jid.
/freebsd-11-stable/tools/regression/ipfw/fwd/
H A Dvimage-fwd.sh353 for jid in ${rjid} ${mjid} ${ljid}; do
355 x=`jls -as -j ${jid} jid 2>/dev/null`
357 jid=*) echo "Waiting for jail ${jid} to stop." >&2
/freebsd-11-stable/usr.bin/killall/
H A Dkillall.c128 int jid; local
160 jid = jail_getid(*av);
161 if (jid < 0)
163 if (jail_attach(jid) == -1)
164 err(1, "jail_attach(%d)", jid);
/freebsd-11-stable/usr.sbin/jail/tests/
H A Djail_basic_test.sh50 # Stop jail by jid
51 atf_check -s exit:0 -o ignore jail -r `jls -j basejail jid`
116 # exec.prestop by jid
119 jail -f $(atf_get_srcdir)/commands.jail.conf -qr `jls -j basejail jid`
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/safety/
H A DMakefile23 tst.jid.d \
/freebsd-11-stable/usr.sbin/sysrc/
H A Dsysrc139 "The jid or name of the jail to operate within (overrides"
555 jid=$( jls jid path |
566 if [ "$jid" -a "${jid%[$IFS]*}" != "$jid" ]; then
577 if [ "$jid" ]; then
585 /usr/sbin/jexec "$jid" /bin/sh
/freebsd-11-stable/sys/kern/
H A Dkern_jail.c509 int fi, jid, jsys, len, level; local
564 error = vfs_copyopt(opts, "jid", &jid, sizeof(jid));
566 jid = 0;
978 if (cuflags == JAIL_CREATE && jid == 0 && name != NULL) {
980 jid = strtoul(namelc != NULL ? namelc + 1 : name, &p, 10);
982 jid = 0;
985 if (jid != 0) {
987 * See if a requested jid alread
1955 int error, errmsg_len, errmsg_pos, fi, i, jid, len, locked, pos; local
[all...]
/freebsd-11-stable/sys/dev/hpt27xx/
H A Darray.h124 HPT_U8 jid; member in struct:hpt_array
/freebsd-11-stable/sys/dev/hptnr/
H A Darray.h123 HPT_U8 jid; member in struct:hpt_array
/freebsd-11-stable/sys/dev/hptrr/
H A Darray.h125 HPT_U8 jid; member in struct:hpt_array

Completed in 158 milliseconds

12