diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2009-10-24 04:55:14 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2009-10-24 04:55:14 +0000 |
| commit | f47552e770ac51134e605d93efd6c534b2809388 (patch) | |
| tree | 0483c4d2594c00ada1aeb80547a753779f4480c9 /sys/kern/stack_protector.c | |
| parent | 115753ce9eb755279fea668547d1692b4ec06ddf (diff) | |
Notes
Diffstat (limited to 'sys/kern/stack_protector.c')
| -rw-r--r-- | sys/kern/stack_protector.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/stack_protector.c b/sys/kern/stack_protector.c index 554d47d0a833..b5f9973e24cf 100644 --- a/sys/kern/stack_protector.c +++ b/sys/kern/stack_protector.c @@ -28,5 +28,4 @@ __stack_chk_init(void *dummy __unused) for (i = 0; i < __arraycount(guard); i++) __stack_chk_guard[i] = guard[i]; } -/* SI_SUB_EVENTHANDLER is right after SI_SUB_LOCK used by arc4rand() init. */ -SYSINIT(stack_chk, SI_SUB_EVENTHANDLER, SI_ORDER_ANY, __stack_chk_init, NULL); +SYSINIT(stack_chk, SI_SUB_RANDOM, SI_ORDER_ANY, __stack_chk_init, NULL); |
