| Summary: | [libc] [patch] __stack_chk_guard setup is bogus in src/lib/libc/sys/stack_protector.c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Antoine Brodin <antoine.brodin> | ||||
| Component: | kern | Assignee: | Antoine Brodin <antoine> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 8.0-CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Antoine Brodin
2007-12-29 13:10:01 UTC
As the problem is more likely in src/sys/kern/kern_mib.c:sysctl_kern_arnd(), this PR may be in "kern" category. Here is a patch, tested on i386 only. I tried to mimic what OpenBSD does. Responsible Changed From-To: freebsd-bugs->antoine Take. antoine 2008-02-17 16:44:48 UTC
FreeBSD src repository
Modified files:
sys/kern kern_mib.c
Log:
Make sysctl_kern_arnd return a random buffer instead of a random long,
as it is expected by userland (stack protector guard setup for example).
PR: 119129
Approved by: rwatson (mentor)
MFC after: 1 month
Revision Changes Path
1.88 +9 -5 src/sys/kern/kern_mib.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->patched Patched in revision 1.88 of src/sys/kern/kern_mib.c antoine 2008-03-24 14:28:33 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern kern_mib.c
Log:
MFC to RELENG_7:
Make sysctl_kern_arnd return a random buffer instead of a random long,
as it is expected by userland (stack protector guard setup for example).
PR: 119129
Approved by: rwatson (mentor)
MFC after: 1 month
Revision Changes Path
1.84.2.2 +9 -5 src/sys/kern/kern_mib.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: patched->closed Close: committed in HEAD and RELENG_7. |