DELTA 179163 840 891 SVNŒSŒ2!ŒgENDREP DELTA 309595 0 36 SVN••H > Œs½ˆŒi=GRAB_RDONLY PATTACH_RDONLY #define PGRAB_FORCE PATTACH_FORCE ENDREP DELTA 309595 64 22 SVNͺO«B o ŽY€n›{ŽTnFlags for proc_attach(). */ #define PATTACH_FORCE 0x01 #define PATTACH_RDONLY 0x02 #define PATTACH_NOSTOP 0x04ENDREP DELTA 309596 284 150 SVN°±&ƒoš:±‚šH€6<§€‚+ \ƒm(pid == getpid() && (flags & PATTACH_RDONLY) == 0(flags & PATTACH_RDONLY) == 0) { if (ptrace(PT_ATTACH, proc_getpid(phdl), 0, 0) != 0) { error = errno; DPRINTF("ERROR: cannot ptrace child process %d", pid); goto out; }out; } /* Check for an unexpected status. */ if (!WIFSTOPPED(status)) DPRINTFX("ERROR: child process %d status 0x%x", pid, status); else phdl->status = PS_STOP; if ((flags & PATTACH_NOSTOP) != 0) proc_continue(phdl); } out: if (error != 0ENDREP DELTA 309592 408 503 SVN§b¨QG“.€#W“j‰ ”K™‘}•eEHANG) return (EINVAL); if (reason == PRELEASE_KILL) { kill(proc_getpid(phdl), SIGKILL); goto free; } if ((phdl->flags & PATTACH_RDONLY) != 0) goto free;goto free} free: proc_free(phdl);ENDREP id: 8-179163.0.r309597/1142 type: file pred: 8-179163.0.r179163/2028 count: 1 text: 309597 0 20 1619 f9442e9e4c15e4ca58e5e38e664215b9 92199693fcfb35ea31369d01ea9f82dfa2690c0b 309596-6n7h/_6 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/cddl/compat/opensolaris/include/libproc.h copyroot: 0 / PLAIN K 8 alloca.h V 25 file 5-174035.0.r177698/0 K 8 assert.h V 28 file 5-196992.0.r222950/1347 K 7 devid.h V 28 file d-168404.0.r178414/1497 K 8 dtrace.h V 28 file 5-179163.0.r179163/1744 K 7 fcntl.h V 30 file 8-174035.0.r219089/600688 K 9 fsshare.h V 27 file g-168404.0.r177698/937 K 9 libintl.h V 28 file i-168404.0.r178414/1808 K 9 libproc.h V 28 file 8-179163.0.r309597/1142 K 10 libshare.h V 30 file 5-185029.0.r185029/700538 K 8 mnttab.h V 30 file k-168404.0.r219089/601001 K 6 priv.h V 30 file m-168404.0.r219089/601319 K 6 sha2.h V 30 file 9-219089.0.r219089/601633 K 9 solaris.h V 30 file o-168404.0.r219089/601924 K 7 stdio.h V 28 file a-174035.0.r177698/2533 K 8 stdlib.h V 27 file c-174035.0.r234856/150 K 9 strings.h V 28 file e-174035.0.r177698/3166 K 13 thread_pool.h V 28 file c-219089.0.r265689/5536 K 8 unistd.h V 28 file g-174035.0.r177698/3484 K 6 zone.h V 28 file q-168404.0.r178414/3063 END ENDREP id: b-168404.0.r309597/2378 type: dir pred: b-168404.0.r265689/6784 count: 13 text: 309597 1456 909 0 c0d7739c924b08ce1c1aae66bc863b12 cpath: /head/cddl/compat/opensolaris/include copyroot: 0 / PLAIN K 7 include V 27 dir b-168404.0.r309597/2378 K 3 lib V 27 dir s-168404.0.r178414/5188 K 4 misc V 27 dir 10-168404.0.r299342/780 END ENDREP id: 9-168404.0.r309597/2718 type: dir pred: 9-168404.0.r299342/1116 count: 21 text: 309597 2573 132 0 c2cbcc33db28ab62d5eba76738b316b5 cpath: /head/cddl/compat/opensolaris copyroot: 0 / PLAIN K 11 opensolaris V 27 dir 9-168404.0.r309597/2718 END ENDREP id: 8-168404.0.r309597/2972 type: dir pred: 8-168404.0.r299342/1369 count: 21 text: 309597 2905 54 0 bea86f722e6a81403c14fe75af494b1a cpath: /head/cddl/compat copyroot: 0 / id: q-211554.0.r309597/3146 type: file pred: q-211554.0.r309595/901 count: 7 text: 309597 48 84 2760 00ed0cbb9dac78f320bfb1a31be7fa50 32ca024d20c0723a2565a4732729d61e6228ff41 309596-6n7h/_9 props: 179448 45543 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/cddl/lib/libdtrace/libproc_compat.h copyroot: 0 / PLAIN K 8 Makefile V 27 file e-179189.0.r308773/329 K 15 Makefile.depend V 30 file 3o-284345.0.r295989/13204 K 7 errno.d V 29 file h-179189.0.r179189/11012 K 4 io.d V 27 file 4-236628.0.r286420/691 K 4 ip.d V 27 file 6-254889.0.r287807/166 K 16 libproc_compat.h V 28 file q-211554.0.r309597/3146 K 5 net.d V 29 file j-179189.0.r179189/11287 K 5 nfs.d V 28 file l-179189.0.r286420/1283 K 8 nfssrv.d V 35 file l-179189.0-249526.r286420/1581 K 8 psinfo.d V 26 file n-179189.0.r304825/49 K 10 regs_x86.d V 28 file s-211554.0.r286420/2236 K 7 sched.d V 28 file p-179189.0.r286420/2546 K 7 siftr.d V 28 file 6-283026.0.r286420/2848 K 8 signal.d V 29 file r-179189.0.r179189/12383 K 5 tcp.d V 28 file 8-254889.0.r302474/1742 K 5 udp.d V 28 file a-254889.0.r286420/3455 K 8 unistd.d V 29 file t-179189.0.r179189/12658 END ENDREP id: d-179189.0.r309597/4280 type: dir pred: d-179189.0.r309595/2034 count: 53 text: 309597 3459 808 0 20b521558360c3d604f17f5e04da1caf cpath: /head/cddl/lib/libdtrace copyroot: 0 / PLAIN K 8 Makefile V 30 file 55-168404.0.r300618/23150 K 12 Makefile.inc V 28 file 58-168404.0.r284421/376 K 4 drti V 26 dir 5-179189.0.r291729/558 K 6 libavl V 27 dir 5a-168404.0.r302141/664 K 6 libctf V 27 dir 9-179189.0.r302141/1257 K 9 libdtrace V 27 dir d-179189.0.r309597/4280 K 9 libnvpair V 28 dir 5e-168404.0.r302141/1859 K 7 libumem V 28 dir 5i-168404.0.r302141/2465 K 8 libuutil V 28 dir 5m-168404.0.r302141/3069 K 6 libzfs V 29 dir 5q-168404.0.r291738/10148 K 11 libzfs_core V 36 dir 14-247831.3-248571.r291738/10818 K 8 libzpool V 29 dir 5u-168404.0.r291738/11476 K 5 tests V 28 dir 6-264741.0.r299094/51684 END ENDREP id: 54-168404.0.r309597/5094 type: dir pred: 54-168404.0.r309595/2848 count: 123 text: 309597 4462 619 0 c6c46cdc767df1d26617133f70a85991 cpath: /head/cddl/lib copyroot: 0 / PLAIN K 8 Makefile V 28 file 3-168404.0.r289393/9162 K 12 Makefile.inc V 27 file 6-168404.0.r270358/521 K 6 compat V 27 dir 8-168404.0.r309597/2972 K 7 contrib V 28 dir 1c-168404.0.r309490/5017 K 3 lib V 28 dir 54-168404.0.r309597/5094 K 4 sbin V 29 dir 5y-168404.0.r299094/53533 K 5 tests V 28 dir g-264741.0.r299094/54139 K 7 usr.bin V 29 dir 6c-168404.0.r299094/55428 K 8 usr.sbin V 28 dir 6m-168404.0.r307400/2027 END ENDREP id: 1-168404.0.r309597/5698 type: dir pred: 1-168404.0.r309595/3452 count: 860 text: 309597 5269 416 0 29eb2aaa27633286003fa059072b4820 props: 309124 13138 660 0 235c2a73c1c3947c76126a01413a92af cpath: /head/cddl copyroot: 0 / minfo-cnt: 6 minfo-here: y id: 7-179185.0.r309597/5953 type: file pred: 7-179185.0.r309595/3707 count: 11 text: 309597 157 134 5570 0ba3f794743e02b79e42cc750f032eb8 1c5d78aef47b660325aecc8023126a6512169aa9 309596-6n7h/_c props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/lib/libproc/libproc.h copyroot: 0 / id: 9-179185.0.r309597/6251 type: file pred: 9-179185.0.r309596/2136 count: 13 text: 309597 317 534 6310 3adaa5553688ad2afe12dfced3cbf2a1 2572d2bd25a694c92c1b3b03b447572cab1c462b 309596-6n7h/_d props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/lib/libproc/proc_create.c copyroot: 0 / id: d-179185.0.r309597/6553 type: file pred: d-179185.0.r309592/2128 count: 11 text: 309597 879 235 5201 89432cb8b9879dfea1f273c6cae1bde6 4596c65cb50a162cd8d634b7ac63e227aaa87f3c 309596-6n7h/_e props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/lib/libproc/proc_util.c copyroot: 0 / PLAIN K 8 Makefile V 28 file 3-179186.0.r309593/3613 K 15 Makefile.depend V 31 file 13v-284345.0.r305146/20195 K 12 Makefile.inc V 28 file d-296129.0.r296129/4601 K 10 _libproc.h V 28 file 4-179185.0.r309596/1839 K 7 crc32.c V 28 file 5-309593.0.r309593/3906 K 7 crc32.h V 28 file 7-309593.0.r309593/4176 K 9 libproc.h V 28 file 7-179185.0.r309597/5953 K 11 proc_bkpt.c V 28 file 7-210688.0.r309591/5106 K 13 proc_create.c V 28 file 9-179185.0.r309597/6251 K 11 proc_regs.c V 28 file a-210688.0.r309591/5709 K 11 proc_rtld.c V 28 file c-210688.0.r309594/4206 K 10 proc_sym.c V 28 file b-179185.0.r309596/2438 K 11 proc_util.c V 28 file d-179185.0.r309597/6553 K 5 tests V 27 dir 5-271937.0.r309595/4846 END ENDREP id: 2-179185.0.r309597/7567 type: dir pred: 2-179185.0.r309596/3453 count: 76 text: 309597 6853 701 0 413b099366a922dedac9c2ef7050c700 cpath: /head/lib/libproc copyroot: 0 / PLAIN K 8 Makefile V 32 file 20-1573.0-1574.r308308/3530 K 12 Makefile.inc V 26 file 2-1848.0.r201381/3832 K 3 atf V 27 dir l-241823.0.r305170/1456 K 5 clang V 27 dir 2-208963.0.r309150/1112 K 3 csu V 22 dir 7-5.0.r308712/1693 K 8 lib80211 V 29 dir 4-291464.0.r298107/140688 K 8 libalias V 28 dir 2-26027.0.r298107/141696 K 10 libarchive V 28 dir 2-125635.0.r309590/97797 K 9 libauditd V 30 dir 30-186647.0.r298107/143932 K 10 libbegemot V 29 dir 4-135771.0.r298107/144536 K 12 libblacklist V 27 dir h-301226.0.r301283/7150 K 16 libblocksruntime V 29 dir c-215125.0.r298107/145194 K 12 libbluetooth V 28 dir d-121054.0.r299090/18944 K 10 libbsdstat V 26 dir 4-262821.0.r299950/574 K 6 libbsm V 29 dir 4-155212.0.r298107/147364 K 8 libbsnmp V 26 dir 2-122405.0.r299699/456 K 6 libbz2 V 28 dir 4-78559.0.r298107/148604 K 4 libc V 26 dir 2-1052.0.r309460/16565 K 6 libc++ V 30 dir l-227983.0.r309124/2194606 K 14 libc_nonshared V 29 dir h-258283.0.r284345/607529 K 11 libcalendar V 28 dir 2-31530.0.r298107/174568 K 6 libcam V 26 dir 2-39209.0.r300547/3168 K 11 libcapsicum V 26 dir 4-306657.0.r309366/848 K 9 libcasper V 27 dir 2-258843.0.r307863/4479 K 11 libclang_rt V 30 dir 2-276857.0.r309124/2203172 K 10 libcom_err V 27 dir 2-5623.0.r298107/182229 K 9 libcompat V 26 dir 1l-1574.0.r300664/1054 K 14 libcompiler_rt V 30 dir j-215125.0.r309124/2204161 K 8 libcrypt V 26 dir 2-1985.0.r303920/13375 K 7 libcuse V 26 dir 7-266581.0.r298602/629 K 8 libcxxrt V 26 dir p-227983.0.r302278/941 K 9 libdevctl V 27 dir 7-278320.0.r305034/3458 K 10 libdevdctl V 28 dir 20-300906.0.r307364/1116 K 10 libdevinfo V 28 dir 2-75726.0.r298107/188383 K 10 libdevstat V 28 dir 2-39211.0.r298107/189125 K 6 libdpv V 29 dir 4-274116.0.r298107/190394 K 8 libdwarf V 27 dir 2-179187.0.r298401/1098 K 7 libedit V 26 dir 21-1574.0.r306297/6626 K 9 libefivar V 27 dir 4-307071.0.r308605/1821 K 6 libelf V 27 dir 9-164190.0.r298401/1689 K 8 libelftc V 28 dir 9-275373.0.r305130/29007 K 8 libevent V 37 dir 1i-171173.0-273065.r298107/196863 K 11 libexecinfo V 29 dir 2-254709.0.r298107/197508 K 8 libexpat V 29 dir 2-104352.0.r298107/198222 K 8 libfetch V 25 dir 2-37536.0.r309051/991 K 9 libfigpar V 30 dir 10-274116.0.r298107/200226 K 9 libgcc_eh V 26 dir 2-307230.0.r308563/525 K 8 libgcc_s V 27 dir 9-307230.0.r308563/1107 K 7 libgeom V 29 dir 2-110545.0.r298107/201185 K 7 libgpio V 26 dir 7-274987.0.r298272/755 K 9 libgssapi V 29 dir 14-153838.0.r298896/19459 K 16 libiconv_modules V 29 dir 41-219019.0.r291307/83135 K 11 libifconfig V 33 dir 4-304815.0-305290.r305700/728 K 8 libipsec V 26 dir 4-55505.0.r309144/8695 K 7 libjail V 26 dir 9-194869.0.r306580/732 K 9 libkiconv V 28 dir 9-120492.0.r298896/20371 K 6 libkvm V 25 dir b-1539.0.r302976/9797 K 7 libldns V 29 dir q-246827.0.r298107/214746 K 7 liblzma V 29 dir d-207842.0.r298107/215499 K 8 libmagic V 28 dir 2-133362.0.r308420/44399 K 5 libmd V 25 dir 2-1803.0.r307584/3745 K 10 libmemstat V 27 dir 2-147997.0.r308873/1931 K 9 libmilter V 28 dir 4-90796.0.r298107/219515 K 5 libmp V 25 dir 2-80529.0.r299510/742 K 5 libmt V 26 dir 8-279219.0.r300327/762 K 9 libnandfs V 29 dir 9-235537.0.r298107/222469 K 9 libnetbsd V 26 dir 4-244557.0.r307871/943 K 11 libnetgraph V 28 dir 9-52419.0.r298107/224412 K 8 libngatm V 29 dir 2-121336.0.r298107/225019 K 5 libnv V 27 dir 7-258065.0.r304909/2486 K 10 libopenbsd V 36 dir 9-228063.0-290351.r298107/228304 K 7 libopie V 28 dir 7-22373.0.r298107/229084 K 6 libpam V 25 dir 2-1589.0.r304635/2935 K 11 libpathconv V 28 dir 2-309035.0.r309035/14658 K 7 libpcap V 24 dir 2-5740.0.r303893/583 K 5 libpe V 26 dir 5-295581.0.r295650/971 K 9 libpjdlog V 29 dir 5-258791.0.r298107/234692 K 6 libpmc V 28 dir 9-145256.0.r298896/26834 K 7 libproc V 27 dir 2-179185.0.r309597/7567 K 11 libprocstat V 27 dir 4-221807.0.r306297/8067 K 9 libradius V 25 dir 2-41119.0.r300602/846 K 13 librpcsec_gss V 28 dir 1d-181344.0.r299455/1956 K 9 librpcsvc V 27 dir 2-1983.0.r298107/245169 K 6 librss V 26 dir 4-306525.0.r307832/695 K 5 librt V 27 dir 2-156136.0.r306588/8078 K 10 librtld_db V 27 dir 2-210678.0.r309591/8297 K 7 libsbuf V 28 dir 7-74840.0.r298107/248189 K 6 libsdp V 28 dir n-121054.0.r298896/27760 K 5 libsm V 28 dir 8-90796.0.r298107/249716 K 6 libsmb V 28 dir a-87874.0.r298107/250314 K 7 libsmdb V 28 dir c-64567.0.r298107/250913 K 9 libsmutil V 28 dir g-64567.0.r298107/251515 K 10 libsqlite3 V 37 dir 1e-251886.0-274885.r298107/252180 K 8 libstand V 27 dir 3j-38451.0.r309369/8083 K 9 libstdbuf V 29 dir 7-234772.0.r298107/257549 K 13 libstdthreads V 29 dir 9-228904.0.r298107/258541 K 12 libsysdecode V 27 dir a-292236.0.r308603/2159 K 10 libtacplus V 28 dir 2-41121.0.r298107/260663 K 9 libtelnet V 28 dir 3q-1574.0.r298107/261321 K 6 libthr V 27 dir 2-112918.0.r306297/9297 K 12 libthread_db V 29 dir 2-132172.0.r298107/265363 K 6 libucl V 26 dir a-262398.0.r307365/469 K 6 libufs V 25 dir 5-99193.0.r300163/979 K 9 libugidfw V 29 dir 2-101206.0.r298107/268088 K 7 libulog V 29 dir 8-200062.0.r298107/269115 K 10 libunbound V 28 dir a-255597.0.r305381/58513 K 6 libusb V 34 dir 2-184610.0-189587.r307774/1737 K 9 libusbhid V 28 dir l-61560.0.r298107/272554 K 7 libutil V 25 dir n-1553.0.r309344/4040 K 6 libvgl V 28 dir 2-28328.0.r298107/278403 K 9 libvmmapi V 35 dir 5-221828.0-245652.r298896/30454 K 7 libwrap V 28 dir 4-44746.0.r298107/279968 K 5 libxo V 28 dir 7-273567.0.r300925/31641 K 4 liby V 28 dir 41-1574.0.r298107/282777 K 9 libypclnt V 28 dir 2-94575.0.r298107/283732 K 4 libz V 28 dir 2-17652.0.r298107/286399 K 4 msun V 26 dir 1f-1573.0.r309298/3095 K 7 ncurses V 27 dir 7c-3410.0.r299289/21288 K 5 tests V 29 dir 4-257852.0.r299094/175914 END ENDREP id: 6-5.0.r309597/13391 type: dir pred: 6-5.0.r309596/9277 count: 17139 text: 309597 7742 5636 0 1e20f500dac67891a33a0befd23bf16d cpath: /head/lib copyroot: 0 / minfo-cnt: 1 PLAIN K 10 .arcconfig V 26 file 1-265842.0.r306435/41 K 8 .arclint V 27 file 1-266959.0.r281789/766 K 9 COPYRIGHT V 25 file 1-2656.0.r292983/104 K 5 LOCKS V 27 file 1-146890.0.r255635/270 K 11 MAINTAINERS V 26 file 1-94742.0.r309124/514 K 8 Makefile V 32 file 3-1594.0-1595.r308731/17562 K 13 Makefile.inc1 V 27 file 5-38666.0.r309412/1404 K 18 Makefile.libcompat V 33 file 5-38666.0-296709.r304695/805 K 17 ObsoleteFiles.inc V 28 file 4-148330.0.r309204/1055 K 6 README V 25 file 1-21173.0.r300137/48 K 8 UPDATING V 27 file 1-41806.0.r309124/1405 K 3 bin V 22 dir 1-5.0.r309239/2488 K 4 cddl V 27 dir 1-168404.0.r309597/5698 K 7 contrib V 27 dir 1-16755.0.r309590/96526 K 6 crypto V 29 dir 1-25405.0.r309124/2159464 K 3 etc V 23 dir 1-38.0.r309534/4855 K 3 gnu V 22 dir 1-3.0.r309142/5534 K 7 include V 24 dir 1-697.0.r309476/5451 K 9 kerberos5 V 27 dir 4q-29815.0.r301891/5356 K 3 lib V 23 dir 6-5.0.r309597/13391 K 7 libexec V 22 dir c-5.0.r309411/6703 K 7 release V 25 dir 1-3027.0.r309339/3071 K 6 rescue V 27 dir 7-117035.0.r308606/4476 K 4 sbin V 23 dir fa-4.0.r309513/5694 K 6 secure V 25 dir r-1553.0.r307977/2425 K 5 share V 23 dir e-3.0.r309582/33323 K 3 sys V 23 dir g-5.0.r309588/18253 K 7 targets V 37 dir 2-242818.1-284345.r309124/2326294 K 5 tests V 27 dir g-257097.0.r309525/2884 K 5 tools V 27 dir 43-1590.0.r309554/37544 K 7 usr.bin V 23 dir m-3.0.r309589/25110 K 8 usr.sbin V 23 dir q-3.0.r309409/11414 END ENDREP id: 5-1.0.r309597/15000 type: dir pred: 5-1.0.r309596/10885 count: 208989 text: 309597 13566 1421 0 1e8157492398193b492a608a9380e672 props: 309124 2418818 2776 0 e65e402d6ed8ecd46726bf9131f5512e cpath: /head copyroot: 0 / minfo-cnt: 115 minfo-here: y PLAIN K 11 ROADMAP.txt V 26 file 0-179453.0.r285589/70 K 4 head V 23 dir 5-1.0.r309597/15000 K 8 projects V 24 dir 6-1.0.r309519/520275 K 7 release V 22 dir 7-1.0.r306421/3182 K 6 releng V 23 dir 8-1.0.r309584/30281 K 6 stable V 24 dir 9-1.0.r309580/125119 K 8 svnadmin V 27 dir 0-179447.0.r309301/1309 K 4 user V 24 dir a-1.0.r309585/880936 K 6 vendor V 23 dir b-1.0.r309587/79714 K 13 vendor-crypto V 26 dir 0-1575.0.r308196/22446 K 10 vendor-sys V 26 dir 0-12116.0.r309265/3770 END ENDREP id: 0.0.r309597/15744 type: dir pred: 0.0.r309596/11628 count: 309597 text: 309597 15252 479 0 a83b1b49d2db870c23e0156f4c5fbdce props: 289270 0 4229 0 20f578acc837c5e58fc64b9eaa493aea cpath: / copyroot: 0 / minfo-cnt: 44586 8-179163.0.t309596-6n7h modify-file true false /head/cddl/compat/opensolaris/include/libproc.h q-211554.0.t309596-6n7h modify-file true false /head/cddl/lib/libdtrace/libproc_compat.h 7-179185.0.t309596-6n7h modify-file true false /head/lib/libproc/libproc.h 9-179185.0.t309596-6n7h modify-file true false /head/lib/libproc/proc_create.c d-179185.0.t309596-6n7h modify-file true false /head/lib/libproc/proc_util.c 15744 15969