commit | 2c20cb8fda1ea4388802944830cb78bff1a7fe67 | [log] [tgz] |
---|---|---|
author | mseaborn@chromium.org <mseaborn@chromium.org@55e79e8e-603c-11de-8c10-5fe6993ea61f> | Fri Nov 18 18:04:10 2011 |
committer | mseaborn@chromium.org <mseaborn@chromium.org@55e79e8e-603c-11de-8c10-5fe6993ea61f> | Fri Nov 18 18:04:10 2011 |
tree | 5effff044573b0195a90617e2524908cb438aa0b | |
parent | 1bd1a03ef10ce44e3ea4e30098d5495c8b765f01 [diff] |
Add tests for glibc functions which sometimes use the x86-64 vsyscall page test_time and test_sched_getcpu reproduce a problem on Linux 3.1 (e.g. with the current version of Ubuntu Precise), which I'll fix in a later change. These tests will hang, because the untrusted thread is killed when it attempts to do a syscall. test_gettimeofday is included for completeness. BUG=http://code.google.com/p/seccompsandbox/issues/detail?id=17 TEST=should fail on Linux 3.1 but pass on earlier kernel versions Review URL: http://codereview.chromium.org/8558011 git-svn-id: http://seccompsandbox.googlecode.com/svn/trunk@176 55e79e8e-603c-11de-8c10-5fe6993ea61f