The 14-reset test on x86 wasn't correctly skipping the "write" sycall (number 4). This moves the ranges over by one to line up correctly. Without this, "regression -b 14-reset -s 007" would always fail.
Signed-off-by: Kees Cook <[email protected]> --- --- libseccomp-1.0.1.orig/tests/14-reset.tests +++ libseccomp-1.0.1/tests/14-reset.tests @@ -13,10 +13,10 @@ test type: bpf-sim 14-reset all close 4 N N N N N KILL 14-reset all rt_sigreturn N N N N N N KILL 14-reset all open 0x856B008 4 N N N N KILL -14-reset x86 0-2 N N N N N N KILL -14-reset x86 4-350 N N N N N N KILL +14-reset x86 0-3 N N N N N N KILL +14-reset x86 5-360 N N N N N N KILL 14-reset x86_64 0 N N N N N N KILL -14-reset x86_64 2-350 N N N N N N KILL +14-reset x86_64 2-360 N N N N N N KILL test type: bpf-sim-fuzz -- Kees Cook Chrome OS Security ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ libseccomp-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss
