[strace/strace] tests: modify_ldt failed in x86_64 (#118)
xuchunmei000
notifications at github.com
Fri Jan 17 01:54:38 UTC 2020
the testcase modify_ldt is still failed:
../../strace: umoven: short read (4 < 16) @0x7f354d1bbffc: Input/output error
--- exp 2020-01-17 09:53:14.565195760 +0800
+++ log 2020-01-17 09:53:14.565195760 +0800
@@ -1,9 +1,9 @@
-modify_ldt(0, NULL, 0) = -1
-modify_ldt(-629534633, 0xffffffffffffffff, 16045756814261206767) = -1
-modify_ldt(-629534633, 0x7f354d38a000, 0) = -1
-modify_ldt(-629534633, 0x7f354d389ff0, 42) = -1
-modify_ldt(-629534633, 0x7f354d38a000, 16) = -1
-modify_ldt(-629534633, 0x7f354d1bbffc, 16) = -1
-modify_ldt(-629534633, {entry_number=2206368128, base_addr=0x87868584, limit=0x8b8a8988, seg_32bit=0, contents=2, read_exec_only=1, limit_in_pages=0, seg_not_present=0, useable=0, lm=1}, 16) = -1
-modify_ldt(-629534633, {entry_number=-1, base_addr=00000000, limit=00000000, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=0, seg_not_present=1, useable=1, lm=0}, 16) = -1
+modify_ldt(0, NULL, 0) = -1 ENOSYS (Function not implemented)
+modify_ldt(-629534633, 0xffffffffffffffff, 16045756814261206767) = -1 ENOSYS (Function not implemented)
+modify_ldt(-629534633, 0x7f354d38a000, 0) = -1 ENOSYS (Function not implemented)
+modify_ldt(-629534633, 0x7f354d389ff0, 42) = -1 ENOSYS (Function not implemented)
+modify_ldt(-629534633, 0x7f354d38a000, 16) = -1 ENOSYS (Function not implemented)
+modify_ldt(-629534633, 0x7f354d1bbffc, 16) = -1 ENOSYS (Function not implemented)
+modify_ldt(-629534633, {entry_number=2206368128, base_addr=0x87868584, limit=0x8b8a8988, seg_32bit=0, contents=2, read_exec_only=1, limit_in_pages=0, seg_not_present=0, useable=0, lm=1}, 16) = -1 ENOSYS (Function not implemented)
+modify_ldt(-629534633, {entry_number=-1, base_addr=00000000, limit=00000000, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=0, seg_not_present=1, useable=1, lm=0}, 16) = -1 ENOSYS (Function not implemented)
+++ exited with 0 +++
modify_ldt.gen.test: failed test: ../../strace -e trace=modify_ldt -a23 ../modify_ldt output mismatch
may be should be fixed like this:
if (err > 0 && err < 0x1000) {
if (rc != -1) {
errno = err;
}
printf(" %s (%m)", errno2name());
}
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/issues/118#issuecomment-575429403
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200117/cb4ce91f/attachment.html>
More information about the Strace-devel
mailing list