DELTA 330539 0 453 SVN”$”6^‰S†…Q‰=€Vƒ6n\md_varbool old_wp; int ret; old_wp = false; prev_jb = kdb_jmpbuf(jb); ret = setjmp(jb); if (ret == 0) { old_wp = disable_wp(); dst = (char *)addr; while (size-- > 0) *dst++ = *data++; } restore_wp(old_wpENDREP DELTA 330539 479 240 SVN¡L¡?u†“>Œq€n¡Ftmd_var return (disable_wp() ? &gdb_begin_write : NULL); } void gdb_end_write(void *arg) { restore_wp(arg != NULLENDREP DELTA 328908 0 176 SVN„¡>„¤A‚„žH€‚}‚|„žB‚}/* * Enable and restore kernel text write permissions. * Callers must ensure that disable_wp()/restore_wp() are executed * without rescheduling on the same core. */ bool disable_wp(void) { u_int cr0; cr0 = rcr0(); if ((cr0 & CR0_WP) == 0) return (false); load_cr0(cr0 & ~CR0_WP); return (true); } void restore_wp(bool old_wp) { if (old_wp) load_cr0(rcr0() | CR0_WPENDREP DELTA 328625 1722 437 SVN™™H 3 q²ˆ%n2bool disable_wp(void); void restore_wp(bool old_wpENDREP id: 18-4.f-5.r331252/991 type: file pred: 18-4.f-5.r330539/7550 count: 86 text: 331252 0 253 2614 d9bf9b9427da5de6cc8f23a8a5e09ba0 007db46b07ce5a3f2da1fed7084a84a1f205b959 331251-73x1/_5 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/amd64/amd64/db_interface.c copyroot: 5 /head/sys/amd64/amd64/db_interface.c id: b-131899.0.r331252/1326 type: file pred: b-131899.0.r330539/7885 count: 9 text: 331252 279 144 4287 f14c5834a4ed42ca2ed45c43bae51835 35f5f0985d28bc0c34266eae395e9ec4efcb4f32 331251-73x1/_6 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/amd64/amd64/gdb_machdep.c copyroot: 0 / id: 1k-4.l-5.r331252/1631 type: file pred: 1k-4.l-5.r328954/8206 count: 858 text: 331252 451 412 70209 669b9ca3510dd389bc2d5ebe6df75ab8 f60b4e917eb118574d8c13d94b6cdbc3230a2abd 331251-73x1/_7 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/amd64/amd64/machdep.c copyroot: 5 /head/sys/amd64/amd64/machdep.c PLAIN K 13 apic_vector.S V 28 file 4-26168.0.r328470/11069 K 8 atomic.c V 28 file 4-49999.0.r326257/17171 K 14 atpic_vector.S V 35 file 7-26168.0-204309.r328083/19226 K 6 bios.c V 28 file 4-27823.0.r326257/17468 K 17 bpf_jit_machdep.c V 27 file 4-153151.0.r328218/398 K 17 bpf_jit_machdep.h V 30 file 7-153151.0.r326023/185977 K 12 cpu_switch.S V 26 file 4-757.0.r328083/19588 K 11 db_disasm.c V 26 file 16-4.e-5.r314068/4586 K 14 db_interface.c V 25 file 18-4.f-5.r331252/991 K 10 db_trace.c V 25 file 1a-4.g-5.r330338/140 K 15 efirt_machdep.c V 34 file 4-84121.0-324177.r330868/7736 K 13 elf_machdep.c V 28 file 4-40129.0.r326257/17766 K 11 exception.S V 25 file 7-757.0.r328625/3548 K 5 fpu.c V 26 file 1c-4.h-5.r329878/2159 K 13 gdb_machdep.c V 28 file b-131899.0.r331252/1326 K 10 genassym.c V 26 file 1e-4.i-5.r328625/3846 K 10 in_cksum.c V 29 file 4-66458.0.r325966/164654 K 9 initcpu.c V 27 file 4-24113.0.r330539/8191 K 4 io.c V 29 file c-132956.0.r326257/18674 K 8 locore.S V 26 file 1g-4.j-5.r263002/9409 K 9 machdep.c V 26 file 1k-4.l-5.r331252/1631 K 5 mem.c V 28 file 1m-4.m-5.r326023/186946 K 18 minidump_machdep.c V 29 file 6-157908.0.r326257/18970 K 12 mp_machdep.c V 28 file h-25164.0.r328470/11374 K 8 mpboot.S V 27 file j-25164.0.r330539/8492 K 6 pmap.c V 26 file 1o-4.n-5.r330539/8792 K 14 prof_machdep.c V 28 file 8-13107.0.r326257/19590 K 16 ptrace_machdep.c V 29 file f-230426.0.r326257/19895 K 10 sigtramp.S V 29 file r-114349.0.r114349/47991 K 9 support.S V 24 file g-757.0.r328628/153 K 13 sys_machdep.c V 27 file 1q-4.o-5.r328083/21489 K 6 trap.c V 25 file 1s-4.p-5.r328205/107 K 13 uio_machdep.c V 30 file 4-127236.0.r326023/187611 K 13 uma_machdep.c V 28 file 6-121081.0.r329023/6936 K 12 vm_machdep.c V 27 file 1w-4.r-5.r328083/22155 K 12 xen-locore.S V 27 file 7-263002.0.r284870/356 END ENDREP id: q-5.0.r331252/3788 type: dir pred: q-5.0.r330868/9961 count: 4371 text: 331252 1961 1814 0 88e363e998333d40562c9e3aa358bee6 cpath: /head/sys/amd64/amd64 copyroot: 0 / minfo-cnt: 1 id: g-7090.0.r331252/3973 type: file pred: g-7090.0.r328625/7943 count: 113 text: 331252 889 73 3272 86fe3efdf9770f13f1023b6e07ca82d4 0a1f813d894ced9c1c44f79a20d9a81a8f1a63ef 331251-73x1/_9 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/amd64/include/md_var.h copyroot: 0 / PLAIN K 8 _align.h V 27 file 4-196994.0.r215856/213 K 6 _bus.h V 29 file 9-145253.0.r326257/23663 K 11 _inttypes.h V 26 file f-85892.0.r217157/124 K 9 _limits.h V 26 file 4-99129.0.r232262/397 K 9 _stdint.h V 27 file d-100882.0.r232264/391 K 8 _types.h V 28 file 1q-102227.0.r232261/538 K 16 acpica_machdep.h V 27 file 4-100969.0.r254305/130 K 10 apm_bios.h V 32 file 4-3263.0-197536.r215140/271 K 5 asm.h V 27 file 4-23571.0.r326123/6885 K 10 asmacros.h V 24 file n-757.0.r329365/144 K 8 atomic.h V 27 file b-38517.0.r326971/1834 K 5 bus.h V 24 file 4-32517.0.r244191/0 K 9 bus_dma.h V 28 file b-32517.0.r326257/24269 K 7 clock.h V 26 file 6-2858.0.r263008/6967 K 9 counter.h V 29 file a-249268.0.r326257/24573 K 5 cpu.h V 27 file 1z-4.s-5.r330539/11134 K 9 cpufunc.h V 25 file 22-4.t-5.r327965/203 K 10 cputypes.h V 25 file 4-553.0.r305836/3254 K 12 db_machdep.h V 26 file 24-4.u-5.r316001/2185 K 6 dump.h V 29 file 4-276772.0.r276772/15567 K 5 efi.h V 27 file 4-306091.0.r330783/530 K 5 elf.h V 27 file a-25984.0.r247047/3669 K 8 endian.h V 26 file 7-99129.0.r232266/454 K 6 exec.h V 28 file 4-1543.0.r326023/192034 K 5 fdt.h V 28 file 6-250840.0.r250840/9876 K 7 float.h V 25 file 26-4.v-5.r232491/314 K 15 floatingpoint.h V 27 file 4-326.0.r325966/169116 K 5 fpu.h V 26 file 28-4.w-5.r329878/4490 K 7 frame.h V 27 file 2a-4.x-5.r328083/25963 K 13 gdb_machdep.h V 29 file e-131899.0.r330539/11459 K 8 ieeefp.h V 28 file 6-1834.0.r325966/169422 K 10 in_cksum.h V 29 file 7-66458.0.r326023/192663 K 14 intr_machdep.h V 28 file 7-121982.0.r328157/8505 K 7 iodev.h V 29 file j-132956.0.r326257/25499 K 5 kdb.h V 29 file 8-131903.0.r326257/25801 K 8 limits.h V 29 file 9-99129.0.r326023/192966 K 8 md_var.h V 26 file g-7090.0.r331252/3973 K 8 memdev.h V 29 file m-132956.0.r326257/26101 K 10 metadata.h V 34 file 8-114373.0-293343.r293343/127 K 10 minidump.h V 29 file c-157908.0.r326257/26404 K 13 mp_watchdog.h V 29 file 7-133759.0.r326257/26710 K 10 nexusvar.h V 28 file 9-177157.0.r177157/9996 K 5 npx.h V 28 file 6-233044.0.r233044/3139 K 13 ofw_machdep.h V 29 file a-250840.0.r250840/10446 K 7 param.h V 29 file 4-99123.0.r325966/169725 K 2 pc V 23 dir u-5.0.r326257/27426 K 5 pcb.h V 27 file 2i-4.10-5.r328177/5732 K 12 pci_cfgreg.h V 27 file 4-26159.0.r223440/1340 K 6 pcpu.h V 25 file 4-35069.0.r329340/53 K 6 pmap.h V 28 file 2k-4.11-5.r328470/14328 K 10 pmc_mdep.h V 30 file 17-145256.0.r326257/27901 K 8 ppireg.h V 29 file e-146211.0.r326257/28210 K 6 proc.h V 27 file 2m-4.12-5.r328082/2564 K 9 profile.h V 26 file 7-1543.0.r326123/7484 K 5 psl.h V 27 file 2o-4.13-5.r233204/1649 K 8 ptrace.h V 26 file 9-1543.0.r232520/3262 K 9 pvclock.h V 28 file 4-278183.0.r278183/3267 K 5 reg.h V 27 file 2q-4.14-5.r233124/1048 K 7 reloc.h V 28 file b-1543.0.r326023/194867 K 10 resource.h V 28 file 4-40713.0.r261790/19062 K 6 runq.h V 28 file 8-97261.0.r326257/28515 K 10 segments.h V 29 file 2s-4.15-5.r326023/195168 K 8 setjmp.h V 26 file 4-32411.0.r232275/125 K 8 sf_buf.h V 29 file c-122780.0.r326257/28816 K 5 sgx.h V 29 file 6-322574.0.r322574/17092 K 8 sgxreg.h V 29 file 8-322574.0.r322574/17368 K 10 sigframe.h V 27 file m-51792.0.r247047/4287 K 8 signal.h V 26 file d-1543.0.r247047/4587 K 5 smp.h V 29 file 13-25164.0.r328470/14661 K 12 specialreg.h V 26 file 2u-4.16-5.r233207/912 K 7 stack.h V 28 file e-174195.0.r287643/5550 K 8 stdarg.h V 26 file 4-99122.0.r232276/121 K 9 sysarch.h V 24 file 4-550.0.r233209/640 K 10 timerreg.h V 29 file h-146211.0.r326257/29120 K 6 trap.h V 26 file 2w-4.17-5.r232492/121 K 5 tss.h V 29 file 2y-4.18-5.r326023/195508 K 10 ucontext.h V 27 file p-51792.0.r247047/4883 K 6 vdso.h V 29 file 4-237433.0.r237433/16634 K 4 vm.h V 29 file 4-195033.0.r326257/29426 K 5 vmm.h V 34 file q-221828.2-245652.r330615/513 K 9 vmm_dev.h V 35 file s-221828.3-245652.r330032/9728 K 22 vmm_instruction_emul.h V 36 file 7-243640.4-245652.r330032/10090 K 9 vmparam.h V 27 file 30-4.19-5.r328168/3152 K 3 xen V 35 dir h-183906.1-189699.r298096/19502 END ENDREP id: s-5.0.r331252/8262 type: dir pred: s-5.0.r330783/4819 count: 1883 text: 331252 4272 3977 0 36e3df54b132d2ccf23aa455fe139d85 cpath: /head/sys/amd64/include copyroot: 0 / PLAIN K 8 Makefile V 24 file z-4.c-5.r290081/890 K 6 acpica V 25 dir 3-67760.0.r329889/684 K 5 amd64 V 22 dir q-5.0.r331252/3788 K 10 cloudabi32 V 26 dir 3-304744.0.r326228/801 K 10 cloudabi64 V 27 dir 3-285641.0.r326228/1374 K 7 compile V 23 dir 3-99481.0.r250544/0 K 4 conf V 26 dir 3-3668.0.r330304/50355 K 4 ia32 V 26 dir 3-94380.0.r328625/7765 K 7 include V 22 dir s-5.0.r331252/8262 K 5 linux V 27 dir 3-283424.0.r331226/2420 K 7 linux32 V 27 dir 6-133819.0.r331226/4123 K 3 pci V 26 dir 3-6104.0.r326257/37792 K 3 sgx V 26 dir a-322574.0.r322660/632 K 3 vmm V 34 dir u-221828.5-245652.r330615/7560 END ENDREP id: o-5.0.r331252/9052 type: dir pred: o-5.0.r331226/4921 count: 7386 text: 331252 8436 603 0 24621ba5e9e79fc94d67e6b3e7fde31b cpath: /head/sys/amd64 copyroot: 0 / minfo-cnt: 1 PLAIN K 8 Makefile V 27 file 2-1598.0.r325834/47771 K 5 amd64 V 22 dir o-5.0.r331252/9052 K 3 arm V 27 dir 2-70651.0.r331229/24866 K 5 arm64 V 28 dir 2-280364.0.r330868/14524 K 3 bsm V 29 dir 2-141144.0.r326023/239523 K 3 cam V 26 dir 2-39212.0.r331240/1976 K 4 cddl V 28 dir br-168404.0.r331134/2975 K 6 compat V 25 dir k-9313.0.r331057/3967 K 4 conf V 22 dir y-5.0.r331099/3533 K 7 contrib V 27 dir 2-23283.0.r331115/11265 K 6 crypto V 26 dir 7-55009.0.r331049/4817 K 3 ddb V 23 dir 10-5.0.r330374/1809 K 3 dev V 24 dir 12-5.0.r331241/14456 K 3 dts V 26 dir j-325826.0.r331210/788 K 2 fs V 26 dir 2-1541.0.r331095/35991 K 3 gdb V 28 dir h-131899.0.r330539/27205 K 4 geom V 26 dir 2-13041.0.r331118/3729 K 3 gnu V 25 dir 2-1421.0.r329228/2261 K 4 i386 V 23 dir 1c-5.0.r331234/2429 K 3 isa V 23 dir 1w-5.0.r330783/6785 K 4 kern V 24 dir 20-5.0.r331245/12020 K 7 kgssapi V 28 dir 13-184588.0.r329251/2144 K 7 libkern V 25 dir 9-1542.0.r330027/4445 K 4 mips V 28 dir 2-178171.0.r330817/22596 K 7 modules V 26 dir i-2834.0.r331102/20827 K 3 net V 25 dir x-1542.0.r331098/8333 K 8 net80211 V 28 dir 2-116742.0.r330688/31619 K 8 netgraph V 28 dir 69-52419.0.r329873/58246 K 7 netinet V 27 dir 4f-1541.0.r331214/49303 K 8 netinet6 V 27 dir q-52904.0.r331098/19862 K 8 netipsec V 27 dir 2-105197.0.r331248/6360 K 7 netpfil V 28 dir 11-240494.0.r331225/1563 K 6 netsmb V 27 dir u-75374.0.r328238/42315 K 3 nfs V 26 dir 4l-1541.0.r329025/1561 K 9 nfsclient V 27 dir 4r-1541.0.r328417/47275 K 9 nfsserver V 28 dir 5l-1541.0.r326272/257416 K 3 nlm V 28 dir 1i-177633.0.r329097/1315 K 4 ofed V 29 dir 1hj-219820.0.r331204/3936 K 10 opencrypto V 27 dir 2-104476.0.r328453/3512 K 7 powerpc V 23 dir 22-5.0.r331231/1889 K 5 riscv V 28 dir 2-292407.0.r330410/24118 K 3 rpc V 27 dir u-1839.0.r327173/160363 K 8 security V 26 dir 2-86630.0.r331105/2220 K 7 sparc64 V 27 dir 2-79054.0.r330539/48950 K 3 sys V 24 dir 28-5.0.r331245/28068 K 5 teken V 36 dir h-186681.0-196775.r326272/289606 K 5 tests V 27 dir f-290663.0.r318010/1117 K 5 tools V 25 dir 6k-1541.0.r328507/939 K 3 ufs V 27 dir 1a-1542.0.r331095/41387 K 2 vm V 26 dir 1k-1542.0.r331247/3181 K 3 x86 V 28 dir 11-204309.0.r331215/3454 K 3 xdr V 30 dir 46-177633.0.r326272/311489 K 3 xen V 29 dir 2-181624.0.r326272/314303 END ENDREP id: g-5.0.r331252/11504 type: dir pred: g-5.0.r331248/8812 count: 118059 text: 331252 9230 2261 0 abfea1572793d32de002c444c5a710c2 props: 201826 13530 46 0 af763326b561c4148fb4456ebd5fd345 cpath: /head/sys copyroot: 0 / minfo-cnt: 14 PLAIN K 10 .arcconfig V 26 file 1-265842.0.r306435/41 K 8 .arclint V 25 file 1-266959.0.r326959/0 K 14 .gitattributes V 27 file 1-327183.0.r327183/306 K 10 .gitignore V 27 file 4-327183.0.r327183/561 K 9 COPYRIGHT V 25 file 1-2656.0.r327435/106 K 5 LOCKS V 27 file 1-146890.0.r255635/270 K 11 MAINTAINERS V 26 file 1-94742.0.r330039/147 K 8 Makefile V 30 file 3-1594.0-1595.r330364/112 K 13 Makefile.inc1 V 26 file 5-38666.0.r330929/162 K 18 Makefile.libcompat V 33 file 5-38666.0-296709.r328347/494 K 16 Makefile.sys.inc V 27 file 3-325973.0.r326580/260 K 17 ObsoleteFiles.inc V 27 file 4-148330.0.r331232/574 K 6 README V 26 file 1-21173.0.r326502/228 K 9 README.md V 27 file 1-314473.0.r330278/550 K 8 UPDATING V 24 file 1-41806.0.r331242/0 K 3 bin V 22 dir 1-5.0.r330872/4291 K 4 cddl V 27 dir 1-168404.0.r331222/7191 K 7 contrib V 27 dir 1-16755.0.r331244/17597 K 6 crypto V 26 dir 1-25405.0.r329022/3806 K 3 etc V 23 dir 1-38.0.r331212/5728 K 3 gnu V 22 dir 1-3.0.r330708/4264 K 7 include V 25 dir 1-697.0.r330653/57261 K 9 kerberos5 V 29 dir 4q-29815.0.r326276/191943 K 3 lib V 22 dir 6-5.0.r331146/8600 K 7 libexec V 22 dir c-5.0.r330742/3415 K 7 release V 25 dir 1-3027.0.r330929/4659 K 6 rescue V 26 dir 7-117035.0.r325633/917 K 4 sbin V 23 dir fa-4.0.r331203/5744 K 6 secure V 25 dir r-1553.0.r329024/7241 K 5 share V 23 dir e-3.0.r331244/23524 K 5 stand V 34 dir 6j-38465.0-325834.r331213/2618 K 3 sys V 23 dir g-5.0.r331252/11504 K 7 targets V 36 dir 2-242818.1-284345.r330653/148111 K 5 tests V 27 dir g-257097.0.r331221/2811 K 5 tools V 28 dir 43-1590.0.r330653/165652 K 7 usr.bin V 23 dir m-3.0.r331153/16395 K 8 usr.sbin V 23 dir q-3.0.r331180/17168 END ENDREP id: 5-1.0.r331252/13417 type: dir pred: 5-1.0.r331248/10723 count: 220960 text: 331252 11739 1665 0 cdc608068278de2a0bea2ccfd8e735f0 props: 328091 5791 3051 0 2ece12adb998edfbd21c47354093903b cpath: /head copyroot: 0 / minfo-cnt: 126 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.r331252/13417 K 8 projects V 23 dir 6-1.0.r331012/30476 K 7 release V 22 dir 7-1.0.r324101/3266 K 6 releng V 24 dir 8-1.0.r330908/117521 K 6 stable V 23 dir 9-1.0.r331251/53701 K 8 svnadmin V 27 dir 0-179447.0.r331200/1313 K 4 user V 24 dir a-1.0.r331243/988022 K 6 vendor V 24 dir b-1.0.r331218/856440 K 13 vendor-crypto V 25 dir 0-1575.0.r329021/7502 K 10 vendor-sys V 27 dir 0-12116.0.r330973/16516 END ENDREP id: 0.0.r331252/14158 type: dir pred: 0.0.r331251/54370 count: 331252 text: 331252 13666 479 0 e2b8a14f424d95458f1239df959a8c28 props: 289270 0 4229 0 20f578acc837c5e58fc64b9eaa493aea cpath: / copyroot: 0 / minfo-cnt: 44870 18-4.f-5.t331251-73x1 modify-file true false /head/sys/amd64/amd64/db_interface.c b-131899.0.t331251-73x1 modify-file true false /head/sys/amd64/amd64/gdb_machdep.c 1k-4.l-5.t331251-73x1 modify-file true false /head/sys/amd64/amd64/machdep.c g-7090.0.t331251-73x1 modify-file true false /head/sys/amd64/include/md_var.h 14158 14383