From: Dmitry V. Levin Date: Thu, 5 May 2016 21:50:23 +0000 (+0000) Subject: xlat: do not strip "1<<" prefix from xlat strings X-Git-Tag: v4.12~226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d17ac7c32759abeb0e9b127523d61477deb63df;p=strace xlat: do not strip "1<<" prefix from xlat strings * xlat/gen.sh (cond_xlat, gen_header): Do not strip "1<<" prefix from xlat strings to fix incorrect output. * tests/caps.awk: Update. Reported-by: Dr. David Alan Gilbert --- diff --git a/tests/caps.awk b/tests/caps.awk index ecf1a282..67003ac3 100644 --- a/tests/caps.awk +++ b/tests/caps.awk @@ -28,7 +28,7 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. BEGIN { - cap = "(0|CAP_[A-Z_]+(\\|CAP_[A-Z_]+)*|CAP_[A-Z_]+(\\|CAP_[A-Z_]+){37}\\|0xffffffc0)" + cap = "(0|1<