FreeBSD Bugzilla – Attachment 149293 Details for
Bug 194828
[test] lib.libc.sys.getcontext_test.setcontext_link fails on amd64, not i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
validate_mc_flags_i386.patch
file_194828.txt (text/plain), 500 bytes, created by
John Baldwin
on 2014-11-11 16:59:50 UTC
(
hide
)
Description:
validate_mc_flags_i386.patch
Filename:
MIME Type:
Creator:
John Baldwin
Created:
2014-11-11 16:59:50 UTC
Size:
500 bytes
patch
obsolete
>Index: machdep.c >=================================================================== >--- machdep.c (revision 274382) >+++ machdep.c (working copy) >@@ -3858,7 +3858,8 @@ set_mcontext(struct thread *td, const mcontext_t * > int eflags, ret; > > tp = td->td_frame; >- if (mcp->mc_len != sizeof(*mcp)) >+ if (mcp->mc_len != sizeof(*mcp) || >+ (mcp->mc_flags & ~_MC_FLAG_MASK) != 0) > return (EINVAL); > eflags = (mcp->mc_eflags & PSL_USERCHANGE) | > (tp->tf_eflags & ~PSL_USERCHANGE);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194828
: 149293 |
149687