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

12

/freebsd-13-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-13-stable/lib/libjail/
H A Djail_getid.c52 int jid; local
55 jid = strtoul(name, &ep, 10);
58 * jid == 0 is a special case; it will not appear in the
64 if (jid == 0)
65 return jid;
66 jiov[0].iov_base = __DECONST(char *, "jid");
67 jiov[0].iov_len = sizeof("jid");
68 jiov[1].iov_base = &jid;
69 jiov[1].iov_len = sizeof(jid);
82 jid
93 jail_getname(int jid) argument
[all...]
H A Djail.h55 extern char *jail_getname(int jid);
H A Djail.c82 int njp, jid; local
99 jid = jailparam_set(jp, njp, flags);
101 return (jid);
120 int njp, i, jid; local
142 } else if (!strcmp(jp[njp].jp_name, "jid")) {
169 jid = jailparam_get(jp, njp, flags);
170 if (jid < 0)
190 return (jid);
495 int i, jid, bool0; local
520 jid
572 int i, ai, ki, jid, arrays, sanity; local
[all...]
/freebsd-13-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)
/freebsd-13-stable/lib/flua/libjail/
H A Dlua_jail.c50 int jid; local
53 jid = jail_getid(name);
54 if (jid == -1) {
59 lua_pushinteger(L, jid);
67 int jid; local
69 jid = luaL_checkinteger(L, 1);
70 name = jail_getname(jid);
109 int flags, jid, type; local
140 if (jailparam_init(&params[0], "jid") == -1) {
145 jid
228 int flags, jid, type; local
[all...]
/freebsd-13-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
365 * only jail_remove if the jid is >= 0.
367 jid = bectl_locate_jail(bootenv);
368 bectl_jail_cleanup(mountpoint, jid);
378 int jid; local
385 while ((jid
408 int jid; local
449 int jid; local
[all...]
/freebsd-13-stable/usr.sbin/jail/
H A Djail.c400 if (!j->jid)
414 j->flags = j->jid < 0 ? JF_START : JF_SET;
417 if (j->jid < 0) {
428 j->flags = j->jid < 0 ? JF_START
437 if (j->jid > 0 &&
446 if (j->jid > 0)
461 if (j->jid < 0 && !(j->flags & JF_DEPEND)) {
484 if (j->jid < 0) {
495 } else if ((j->flags & JF_FAILED) && j->jid > 0)
620 int dopersist, ns, jid, dyin local
729 int jid; local
756 int ns, jid; local
859 int jid; local
904 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-13-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-13-stable/share/examples/flua/
H A Dlibjail.lua39 jid, err = jail.setparams(name, {persist = "true"}, jail.CREATE)
40 if not jid then
48 jid, res = jail.getparams(name, allparams)
49 if not jid then
57 jid, err = jail.setparams(name, {persist = "false"}, jail.UPDATE)
58 if not jid then
/freebsd-13-stable/bin/pkill/tests/
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
41 echo "Did not match: '${jid}'" >&2
48 if pkill -f -j "$jid" $sleep && sleep 0.5 &&
98 # test 4 is like test 1 except with jname instead of jid.
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.
/freebsd-13-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-13-stable/lib/libc/tests/sys/
H A Dcpuset_test.c466 int jid; local
477 if ((jid = jail_set(iov, 2, JAIL_CREATE | JAIL_ATTACH)) < 0)
481 write(fd, &jid, sizeof(jid));
492 int error, jid, maxfd; local
503 /* Wait for jid to be written. */
520 ATF_REQUIRE_EQ(sizeof(jid), recv(fd, &jid, sizeof(jid), 0));
522 return (jid);
526 try_attach_child(int jid, cpuset_t *expected_mask) argument
553 try_attach(int jid, cpuset_t *expected_mask) argument
593 int fcpu, jid, pfd, sock, scpu; local
[all...]
/freebsd-13-stable/usr.bin/top/
H A Dmachine.h73 int jid; /* only this jid (unless jid == -1) */ member in struct:process_select
/freebsd-13-stable/usr.sbin/jls/
H A Djls.c91 int c, i, jflags, jid, lastjid, pflags, spc; local
99 pflags = jflags = jid = 0;
107 jid = strtoul(optarg, &ep, 10);
108 if (!jid || *ep) {
109 jid = 0;
151 add_param("jid", NULL, (size_t)0, NULL, JP_USER);
173 add_param("jid", NULL, (size_t)0, NULL, JP_USER);
205 if (jid != 0)
206 add_param("jid", &jid, sizeo
387 int i, jid, n, spc; local
[all...]
/freebsd-13-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-13-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-13-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-13-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-13-stable/cddl/usr.sbin/dtrace/tests/common/safety/
H A DMakefile23 tst.jid.d \
/freebsd-13-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-13-stable/sys/kern/
H A Dkern_jail.c539 int jid, jsys, len, level; local
594 error = vfs_copyopt(opts, "jid", &jid, sizeof(jid));
596 jid = 0;
996 if (cuflags == JAIL_CREATE && jid == 0 && name != NULL) {
998 jid = strtoul(namelc != NULL ? namelc + 1 : name, &p, 10);
1000 jid = 0;
1010 if (jid != 0) {
1011 if (jid <
1914 int jid, maxid; local
2002 int drflags, error, errmsg_len, errmsg_pos, i, jid, len, pos; local
[all...]
/freebsd-13-stable/sys/dev/hpt27xx/
H A Darray.h126 HPT_U8 jid; member in struct:hpt_array

Completed in 271 milliseconds

12