Changed the kernel sigaction structure in test syscalls_sigaction.cc for MIPS according to the structure defined in kernel.
Details
Details
Diff Detail
Diff Detail
Event Timeline
test/msan/Linux/syscalls_sigaction.cc | ||
---|---|---|
21 | Are you sure that restorer follows mask? Length of the mask field (20 here) does not match any kernel definition - it is simply large enough to avoid out-of-bounds access. The kernel definition does not seem to have a restorer field at all. |
Comment Actions
Removed the restorer field from the kernel sigaction structure for MIPS.
test/msan/Linux/syscalls_sigaction.cc | ||
---|---|---|
21 | Yes you are right, the sigaction structure for MIPS does not have a restorer field. |
Are you sure that restorer follows mask? Length of the mask field (20 here) does not match any kernel definition - it is simply large enough to avoid out-of-bounds access.
The kernel definition does not seem to have a restorer field at all.