Searched refs:PGRAB_RDONLY (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_audit.c116 P = Pgrab(getpid(), PGRAB_RDONLY, &err);
H A Ddt_proc.c45 * Handle Caching: If a handle is grabbed PGRAB_RDONLY (e.g. by ustack()) and
52 * Process Control: For processes that are grabbed for control (~PGRAB_RDONLY)
923 if (dpr->dpr_rdonly && !(flags & PGRAB_RDONLY)) {
966 if (nomonitor || (flags & PGRAB_RDONLY)) {
977 if (flags & PGRAB_RDONLY) {
H A Ddt_pid.c662 if ((P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE,
827 p = dt_proc_grab(dtp, dmp->dm_pid, 0, PGRAB_RDONLY | PGRAB_FORCE);
H A Ddt_consume.c1359 P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE, 0);
1470 PGRAB_RDONLY | PGRAB_FORCE, 0)) != NULL) {
1511 P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE, 0);
H A Ddt_aggregate.c337 if ((P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE, 0)) == NULL)
360 if ((P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE, 0)) == NULL)
H A Ddt_subr.c880 P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE, 0);
H A Ddt_module.c632 p = dt_proc_grab(dtp, dmp->dm_pid, 0, PGRAB_RDONLY | PGRAB_FORCE);
/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c174 PGRAB_RETAIN | PGRAB_FORCE | (doset ? 0 : PGRAB_RDONLY) |
/illumos-gate/usr/src/cmd/ptools/ptime/
H A Dptime.c72 Fflag | PGRAB_RDONLY, &gret)) == NULL) {
/illumos-gate/usr/src/cmd/ptools/psecflags/
H A Dpsecflags.c131 int pgrab_flags = PGRAB_RDONLY;
/illumos-gate/usr/src/cmd/ptools/psig/
H A Dpsig.c193 if ((Pr = proc_arg_grab(arg, PR_ARG_PIDS, PGRAB_RDONLY|PGRAB_FORCE,
/illumos-gate/usr/src/cmd/plockstat/
H A Dplockstat.c590 P = dtrace_proc_grab(g_dtp, pid, PGRAB_RDONLY);
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptrace.c395 proc_hdl = Pgrab(getpid(), PGRAB_RDONLY, &perr);
/illumos-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c147 PGRAB_RETAIN | PGRAB_FORCE | PGRAB_RDONLY | PGRAB_NOSTOP, &gcode,
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c1413 if ((Pr = proc_arg_grab(arg, PR_ARG_ANY, PGRAB_RDONLY,
/illumos-gate/usr/src/cmd/ptools/ppriv/
H A Dppriv.c178 PGRAB_RETAIN | PGRAB_FORCE | (set ? 0 : PGRAB_RDONLY) |
/illumos-gate/usr/src/lib/libproc/common/
H A Dlibproc.h119 #define PGRAB_RDONLY 0x04 /* Open the process or core w/ O_RDONLY */ macro
H A DPcontrol.c760 * PGRAB_RDONLY Open the address space file O_RDONLY instead of O_RDWR,
775 * PGRAB_RDONLY means that we do not open the /proc/<pid>/control file,
778 if (flags & PGRAB_RDONLY)
822 omode = (flags & PGRAB_RDONLY) ? O_RDONLY : O_RDWR;
874 if (!(flags & PGRAB_RDONLY)) {
953 * If we are, make sure we are doing it PGRAB_RDONLY.
973 !(flags & PGRAB_RDONLY)) {
984 !(flags & PGRAB_RDONLY)) {
1014 if (!(flags & PGRAB_RDONLY)) {
H A DPcore.c2835 int fd, oflag = (gflag & PGRAB_RDONLY) ? O_RDONLY : O_RDWR;
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c204 int prg_gflags = PGRAB_RDONLY;

Completed in 100 milliseconds