| @@ -1,105 +1,117 @@ | | | @@ -1,105 +1,117 @@ |
1 | # $NetBSD: CHANGES-7.0.1,v 1.1.2.7 2015/11/08 00:16:39 riz Exp $ | | 1 | # $NetBSD: CHANGES-7.0.1,v 1.1.2.8 2015/11/08 00:31:15 riz Exp $ |
2 | | | 2 | |
3 | A complete list of changes from the NetBSD 7.0 release to the NetBSD 7.0.1 | | 3 | A complete list of changes from the NetBSD 7.0 release to the NetBSD 7.0.1 |
4 | release: | | 4 | release: |
5 | | | 5 | |
6 | gnu/usr.bin/groff/tmac/mdoc.local patched by hand | | 6 | gnu/usr.bin/groff/tmac/mdoc.local patched by hand |
7 | sys/sys/param.h patched by hand | | 7 | sys/sys/param.h patched by hand |
8 | | | 8 | |
9 | Welcome to 7.0.0_PATCH. | | 9 | Welcome to 7.0.0_PATCH. |
10 | [snj] | | 10 | [snj] |
11 | | | 11 | |
12 | distrib/amd64/ramdisks/common/Makefile.ramdisk 1.11 | | 12 | distrib/amd64/ramdisks/common/Makefile.ramdisk 1.11 |
13 | distrib/amd64/ramdisks/common/list.ramdisk 1.20 | | 13 | distrib/amd64/ramdisks/common/list.ramdisk 1.20 |
14 | distrib/i386/ramdisks/common/Makefile.ramdisk 1.12 | | 14 | distrib/i386/ramdisks/common/Makefile.ramdisk 1.12 |
15 | distrib/i386/ramdisks/common/list.ramdisk 1.26 | | 15 | distrib/i386/ramdisks/common/list.ramdisk 1.26 |
16 | | | 16 | |
17 | PR install/50311: missing gptmbr.bin on ramdisk based installs. | | 17 | PR install/50311: missing gptmbr.bin on ramdisk based installs. |
18 | [martin, ticket #992] | | 18 | [martin, ticket #992] |
19 | | | 19 | |
20 | sys/dev/cgd.c 1.97 | | 20 | sys/dev/cgd.c 1.97 |
21 | | | 21 | |
22 | Use explicit_memset to zero key material. | | 22 | Use explicit_memset to zero key material. |
23 | [riastradh, ticket #899] | | 23 | [riastradh, ticket #899] |
24 | | | 24 | |
25 | sys/dev/mii/atphy.c 1.17 | | 25 | sys/dev/mii/atphy.c 1.17 |
26 | | | 26 | |
27 | Fix incorrect argument of mii_anar(). Fixes PR#50206. | | 27 | Fix incorrect argument of mii_anar(). Fixes PR#50206. |
28 | [msaitoh, ticket #971] | | 28 | [msaitoh, ticket #971] |
29 | | | 29 | |
30 | sys/kern/kern_exec.c 1.419, 1.420 | | 30 | sys/kern/kern_exec.c 1.419, 1.420 |
31 | sys/kern/kern_exit.c 1.246, 1.247 | | 31 | sys/kern/kern_exit.c 1.246, 1.247 |
32 | sys/kern/kern_synch.c 1.309 | | 32 | sys/kern/kern_synch.c 1.309 |
33 | | | 33 | |
34 | In execve_runproc(), update the p_waited entry for the process | | 34 | In execve_runproc(), update the p_waited entry for the process |
35 | being moved to SSTOP state, not for its parent. If the value is | | 35 | being moved to SSTOP state, not for its parent. If the value is |
36 | not already zero, it could prevent its parent from waiting for | | 36 | not already zero, it could prevent its parent from waiting for |
37 | the process. Fixes PR kern/50298 | | 37 | the process. Fixes PR kern/50298 |
38 | -- | | 38 | -- |
39 | When clearing out the scheduler queues during system shutdown, | | 39 | When clearing out the scheduler queues during system shutdown, |
40 | we move all processes to the SSTOP state. Make sure we update | | 40 | we move all processes to the SSTOP state. Make sure we update |
41 | each process's p_waited and the parents' p_nstopchild counters | | 41 | each process's p_waited and the parents' p_nstopchild counters |
42 | to maintain consistent values. Fixes PR kern/50318 | | 42 | to maintain consistent values. Fixes PR kern/50318 |
43 | -- | | 43 | -- |
44 | Currently, if a process is exiting and its parent has indicated | | 44 | Currently, if a process is exiting and its parent has indicated |
45 | no intent of reaping the process (nor any other children), the | | 45 | no intent of reaping the process (nor any other children), the |
46 | process will get reparented to init. Since the state of the | | 46 | process will get reparented to init. Since the state of the |
47 | exiting process at this point is SDEAD, proc_reparent() will not | | 47 | exiting process at this point is SDEAD, proc_reparent() will not |
48 | update either the old or new parent's p_nstopchild counters. | | 48 | update either the old or new parent's p_nstopchild counters. |
49 | This change causes both old and new parents to be properly | | 49 | This change causes both old and new parents to be properly |
50 | updated. Fixes PR kern/50300 | | 50 | updated. Fixes PR kern/50300 |
51 | -- | | 51 | -- |
52 | For processes marked with PS_STOPEXIT, update the process's | | 52 | For processes marked with PS_STOPEXIT, update the process's |
53 | p_waited value, and update its parent's p_nstopchild value when | | 53 | p_waited value, and update its parent's p_nstopchild value when |
54 | marking the process's p_stat to SSTOP. The process needed to be | | 54 | marking the process's p_stat to SSTOP. The process needed to be |
55 | SACTIVE to get here, so this transition represents an additional | | 55 | SACTIVE to get here, so this transition represents an additional |
56 | process for which the parent needs to wait. Fixes PR kern/50308 | | 56 | process for which the parent needs to wait. Fixes PR kern/50308 |
57 | -- | | 57 | -- |
58 | In spawn_return() we temporarily move the process state to SSTOP, | | 58 | In spawn_return() we temporarily move the process state to SSTOP, |
59 | but without updating its p_waited value or its parent's | | 59 | but without updating its p_waited value or its parent's |
60 | p_nstopchild counter. Later, we restore the original state, | | 60 | p_nstopchild counter. Later, we restore the original state, |
61 | again without any adjustment of the related values. This leaves | | 61 | again without any adjustment of the related values. This leaves |
62 | a relatively short window when the values are inconsistent and | | 62 | a relatively short window when the values are inconsistent and |
63 | could interfere with the proper operation of sys_wait() for the | | 63 | could interfere with the proper operation of sys_wait() for the |
64 | parent. If during this window, any of the checks being made | | 64 | parent. If during this window, any of the checks being made |
65 | result in an error, we call exit1() which will eventually migrate | | 65 | result in an error, we call exit1() which will eventually migrate |
66 | the process's state to SDEAD (with an intermediate transition to | | 66 | the process's state to SDEAD (with an intermediate transition to |
67 | SDYING). At this point the other variables get updated, and we | | 67 | SDYING). At this point the other variables get updated, and we |
68 | finally restore a consistent state. | | 68 | finally restore a consistent state. |
69 | This change updates the p_waited and parent's p_nstopchild at each | | 69 | This change updates the p_waited and parent's p_nstopchild at each |
70 | step to eliminate any windows during which the values could lead | | 70 | step to eliminate any windows during which the values could lead |
71 | to incorrect decisions. Fixes PR kern/50330 | | 71 | to incorrect decisions. Fixes PR kern/50330 |
72 | [pgoyette, ticket #996] | | 72 | [pgoyette, ticket #996] |
73 | | | 73 | |
74 | sys/kern/kern_sig.c 1.321 | | 74 | sys/kern/kern_sig.c 1.321 |
75 | | | 75 | |
76 | When delivering a signal, it's possible that the process's state | | 76 | When delivering a signal, it's possible that the process's state |
77 | in p_stat is SACTIVE yet p_sflag is PS_STOPPING (while waiting | | 77 | in p_stat is SACTIVE yet p_sflag is PS_STOPPING (while waiting |
78 | for other LWPs to stop). In that case, we don't want to adjust | | 78 | for other LWPs to stop). In that case, we don't want to adjust |
79 | the parent's p_nstopchild count. | | 79 | the parent's p_nstopchild count. |
80 | [pgoyette, ticket #997] | | 80 | [pgoyette, ticket #997] |
81 | | | 81 | |
82 | sys/compat/linux/arch/arm/linux_ptrace.c 1.19 | | 82 | sys/compat/linux/arch/arm/linux_ptrace.c 1.19 |
83 | sys/compat/linux/arch/i386/linux_ptrace.c 1.31 | | 83 | sys/compat/linux/arch/i386/linux_ptrace.c 1.31 |
84 | sys/compat/linux/arch/powerpc/linux_ptrace.c 1.29 | | 84 | sys/compat/linux/arch/powerpc/linux_ptrace.c 1.29 |
85 | | | 85 | |
86 | Don't release proc_lock until we're done looking at things that | | 86 | Don't release proc_lock until we're done looking at things that |
87 | are protected by the lock, particularly p_stat and p_waited. | | 87 | are protected by the lock, particularly p_stat and p_waited. |
88 | [pgoyette, ticket #998] | | 88 | [pgoyette, ticket #998] |
89 | | | 89 | |
90 | sys/kern/kern_exit.c 1.248 | | 90 | sys/kern/kern_exit.c 1.248 |
91 | | | 91 | |
92 | Update value of p_stat before we release the proc_lock. | | 92 | Update value of p_stat before we release the proc_lock. |
93 | [pgoyette, ticket #999] | | 93 | [pgoyette, ticket #999] |
94 | | | 94 | |
95 | sys/arch/arm/allwinner/awin_mmc.c 1.22 | | 95 | sys/arch/arm/allwinner/awin_mmc.c 1.22 |
96 | | | 96 | |
97 | Avoid a divide by 0 when unplugging a sd card. | | 97 | Avoid a divide by 0 when unplugging a sd card. |
98 | [bouyer, ticket #1006] | | 98 | [bouyer, ticket #1006] |
99 | | | 99 | |
100 | sys/arch/x86/x86/cpu.c 1.116 | | 100 | sys/arch/x86/x86/cpu.c 1.116 |
101 | | | 101 | |
102 | Don't disable/re-enable interrupts if they are already disabled. | | 102 | Don't disable/re-enable interrupts if they are already disabled. |
103 | Fixes i386 PAE kernels. PR#48196. | | 103 | Fixes i386 PAE kernels. PR#48196. |
104 | [nat, ticket #984] | | 104 | [nat, ticket #984] |
105 | | | 105 | |
| | | 106 | sys/arch/x86/x86/bus_dma.c 1.72-1.74 |
| | | 107 | |
| | | 108 | - If we succeeded allocating a buffer that did not need bouncing |
| | | 109 | before, but the buffer in the previous mapping did, clear the |
| | | 110 | bounce bit. Fixes the ld_virtio.c bug with machines 8GB and |
| | | 111 | dd if=/dev/zero of=crash bs=1g count=4. |
| | | 112 | - Allocate with M_ZERO instead of doing memset |
| | | 113 | - The panic string can take a format, use it. |
| | | 114 | - When checking for the bounce buffer boundary, |
| | | 115 | check addr + len < limit, not addr < limit. |
| | | 116 | [christos, ticket #1011] |
| | | 117 | |