]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Long overdue MFC r284377:
authorjlh <jlh@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 22 Sep 2015 10:48:28 +0000 (10:48 +0000)
committerjlh <jlh@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 22 Sep 2015 10:48:28 +0000 (10:48 +0000)
commitd02f1fd1f480e5dbcc71b6456d64850c7c5d4381
tree5928208742a172f0091fc667696ab4c3fe6e943b
parentca7a55e71cb17e31b01710cb071dcbaff9529a16
Long overdue MFC r284377:
  NetBSD commit log:
    Use a constant array for the MIB. Newer LLVM decided that mib[] warranted
    stack protections, with the obvious crash after the setup was done.
    As a positive side effect, code size shrinks a bit.

  I'm not sure why this hasn't bitten us yes, but it is certainly possible and
  there are no real drawbacks to this change anyway.

  Submitted by: pfg
  Obtained from:        NetBSD

git-svn-id: svn://svn.freebsd.org/base/stable/10@288105 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/sys/stack_protector.c