/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | runtests.c | 58 static int flock_wait(pid_t pid); 85 flock_kill(pid_t pid) argument 87 while (kill(pid, SIGKILL) == -1) { 106 assert_write_locked_by(lockinfo_t *lf, pid_t pid) argument 114 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_t); 120 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_t); 126 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_t); 132 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_t); 137 assert_read_locked_by(lockinfo_t *lf, pid_t pid) argument 145 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_ 274 flock_run(lock_style_t style, boolean_t is_exclusive, lockinfo_t *lf, pid_t *pid, int fds[]) argument 307 flock_wait(pid_t pid) argument 330 flock_cleanup_child(pid_t pid, int fds[]) argument 342 pid_t pid; local [all...] |
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | secflags_core.sh | 22 pid=$! 23 coreadm -p core $pid # We need to be able to reliably find the core 26 kill $pid >/dev/null 2>&1 34 gcore $pid >/dev/null 37 core 'core.$pid' of $pid: sleep 100000 42 /usr/bin/psecflags core.${pid} | grep -v '[LU]:' > gcore-output.$$ 49 kill -SEGV $pid 50 wait $pid >/dev/null 2>&1 53 core 'core' of $pid [all...] |
H A D | secflags_dts.sh | 53 pid=$! 54 psecflags $pid | grep -q "${set}:.*aslr" 56 kill -9 $pid
|
H A D | secflags_elfdump.sh | 22 pid=$! 23 coreadm -p core $pid # We need to be able to reliably find the core 26 kill $pid >/dev/null 2>&1 34 gcore $pid >/dev/null 50 /usr/bin/elfdump -n core.${pid} | grep -B5 -A5 prsecflags_t > gcore-output.$$ 57 kill -SEGV $pid 58 wait $pid >/dev/null 2>&1
|
H A D | secflags_forbidnullmap.sh | 19 pid=$! 22 (pmap $pid | grep -q '^00000000 ') && ret=1 23 kill -9 $pid
|
H A D | secflags_limits.sh | 22 kill $pid >/dev/null 2>&1
|
H A D | secflags_noexecstack.sh | 19 pid=$! 22 (pmap $pid | grep -q 'rwx.*\[ stack \]$') && re=1 24 kill -9 $pid
|
H A D | secflags_proc.sh | 19 pid=$! 22 kill $pid 30 $pid: sleep 100000 35 /usr/bin/psecflags $pid | grep -v '[LU]:' > /tmp/output.$$
|
H A D | secflags_psecflags.sh | 91 typeset pid; 94 pid=$! 99 /usr/bin/psecflags $pid | grep '[IE]:' > output 100 kill $pid 107 typeset pid; 111 pid=$! 116 /usr/bin/psecflags $pid | grep '[IE]:' > output 117 kill $pid 125 typeset pid; 129 pid [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/ |
H A D | cache.kshlib | 61 typeset pid=$! 66 kill -9 $pid
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mv_files/ |
H A D | mv_files_common.kshlib | 62 for pid in \$PIDS 64 \wait \$pid 113 for pid in $1 115 ps -e | grep $pid >/dev/null 2>&1 116 (( $? == 0 )) && wait $pid
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/replacement/ |
H A D | replacement_001_pos.ksh | 99 typeset pid=$! 102 if ! ps -p $pid > /dev/null 2>&1; then 106 child_pids="$child_pids $pid"
|
H A D | replacement_002_pos.ksh | 99 typeset pid=$! 102 if ! ps -p $pid > /dev/null 2>&1; then 106 child_pids="$child_pids $pid"
|
H A D | replacement_003_pos.ksh | 97 typeset pid=$! 100 if ! ps -p $pid > /dev/null 2>&1; then 104 child_pids="$child_pids $pid"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog.kshlib | 62 typeset pid=$! 67 kill -9 $pid
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 1686 pid_t pid; local 1723 pid = p->p_pid; 1732 AUDIT_SETPROC_GENERIC(&(u_ad), cr, ainfo, pid); 2094 boolean_t active, int error, pid_t pid) 2198 ((cred != NULL) ? cred : CRED()), ainfo, kctx, pid); 2093 audit_pf_policy(int cmd, cred_t *cred, netstack_t *ns, char *tun, boolean_t active, int error, pid_t pid) argument
|
H A D | audit_event.c | 1513 pid_t pid; local 1518 long pid; member in struct:a 1522 pid = (pid_t)uap->pid; 1526 if (pid > 0) { 1528 if (((p = prfind(pid)) == (struct proc *)0) || 1531 au_uwrite(au_to_arg32(1, "process", (uint32_t)pid)); 1545 au_uwrite(au_to_arg32(1, "process", (uint32_t)pid)); 1553 au_uwrite(au_to_process(uid, gid, ruid, rgid, pid, 1562 au_uwrite(au_to_arg32(1, "process", (uint32_t)pid)); 2059 long pid; member in struct:a 2103 pid_t pid; local 2110 long pid; member in struct:a 4879 long pid; member in struct:a 4886 pid_t pid; local 5021 pid_t pid; local 5210 pid_t pid; local [all...] |
H A D | audit_token.c | 249 au_to_process(uid_t uid, gid_t gid, uid_t ruid, gid_t rgid, pid_t pid, argument 267 rgid, pid, auid, asid, atid)); 271 au_to_subject(uid_t uid, gid_t gid, uid_t ruid, gid_t rgid, pid_t pid, argument 288 rgid, pid, auid, asid, atid)); 294 uid_t uid, gid_t gid, uid_t ruid, gid_t rgid, pid_t pid, 315 value = (int32_t)pid; 293 au_to_any_process(char data_header, uid_t uid, gid_t gid, uid_t ruid, gid_t rgid, pid_t pid, au_id_t auid, au_asid_t asid, const au_tid_addr_t *atid) argument
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 4290 pid_t pid = tupregs[0].dttk_value; local 4297 if (p->p_pidp->pid_id == pid) { 7284 struct pid *pid = curthread->t_procp->p_pidp; local 7290 valoffs, (uint64_t)pid->pid_id); 8692 dtrace_probe_arg(dtrace_provider_id_t id, dtrace_id_t pid) argument 8699 if ((probe = dtrace_probe_lookup_id(pid)) != NULL && 8878 dtrace_helper_provide_one(dof_helper_t *dhp, dof_sec_t *sec, pid_t pid) argument 8927 if ((parg = mops->dtms_provide_pid(meta->dtm_arg, &dhpv, pid)) == NULL) 8963 dtrace_helper_provide(dof_helper_t *dhp, pid_t pid) argument 8992 dtrace_helper_provider_remove_one(dof_helper_t *dhp, dof_sec_t *sec, pid_t pid) argument 9020 dtrace_helper_provider_remove(dof_helper_t *dhp, pid_t pid) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vnops.c | 13337 pid_t pid; local 13364 pid = ctype == NFS4_LCK_CTYPE_NORM ? curproc->p_pidp->pid_id : 13371 lop = find_lock_owner(rp, pid, LOWN_ANY); 13390 "(%ld) so return success", (long)pid)); 13449 pid_t pid; local 13475 pid = ctype == NFS4_LCK_CTYPE_NORM ? curproc->p_pid : flk->l_pid; 13477 nfs4_find_or_create_lock_owner(pid, rp, cr, &oop, &osp, &lop); 14146 * recovery, get the pid from flk instead of curproc, and don't reregister 14202 "length %"PRIu64", pid %d, sysid %d, call type %s, " 14595 "start %"PRIx64", length %"PRIx64", pid 15677 pid_t pid = 0; local [all...] |
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 109 * Contents of a /proc/<pid> directory. 176 * Contents of a /proc/<pid>/lwp/<lwpid> directory. 246 * If we are opening a file in the /proc/pid/fd directory, 599 pr_read_piddir, /* /proc/<pid> (old /proc read()) */ 600 pr_read_as, /* /proc/<pid>/as */ 601 pr_read_inval, /* /proc/<pid>/ctl */ 602 pr_read_status, /* /proc/<pid>/status */ 603 pr_read_lstatus, /* /proc/<pid>/lstatus */ 604 pr_read_psinfo, /* /proc/<pid>/psinfo */ 605 pr_read_lpsinfo, /* /proc/<pid>/lpsinf 3474 pid_t pid; local 4763 uint_t pid; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 467 pid_t pid = ddi_get_pid(); local 468 cleanlocks(vp, pid, 0); 469 cleanshares(vp, pid);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_ofile.c | 478 uint16_t pid) 490 if (of->f_opened_by_pid == pid) { 476 smb_ofile_close_all_by_pid( smb_tree_t *tree, uint16_t pid) argument
|
/illumos-gate/usr/src/uts/common/io/axf/ |
H A D | axf_usbgem.c | 114 uint16_t pid; /* usb product id */ member in struct:chip_info 1026 if (lp->chip->vid == 0x07b8 && lp->chip->pid == 0x420a) { 1242 int pid; local 1263 pid = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, 1269 if (p->vid == vid && p->pid == pid) { 1273 drv_name, unit, p->name, vid, pid, revid); 1280 drv_name, __func__, vid, pid);
|
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwn.c | 1240 iwn5000_attach(struct iwn_softc *sc, uint16_t pid) argument 1290 if (pid == PCI_PRODUCT_INTEL_WIFI_LINK_100_1 || 1291 pid == PCI_PRODUCT_INTEL_WIFI_LINK_100_2) 1299 if (pid == PCI_PRODUCT_INTEL_WIFI_LINK_6000_IPA_1 || 1300 pid == PCI_PRODUCT_INTEL_WIFI_LINK_6000_IPA_2) { 1314 if (pid == PCI_PRODUCT_INTEL_WIFI_LINK_1030_1 || 1315 pid == PCI_PRODUCT_INTEL_WIFI_LINK_1030_2 || 1316 pid == PCI_PRODUCT_INTEL_WIFI_LINK_6230_1 || 1317 pid == PCI_PRODUCT_INTEL_WIFI_LINK_6230_2 || 1318 pid [all...] |