lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ec6245eb-4bee-f3f3-6bc1-c91ef2b06aa4@gmail.com>
Date:   Tue, 7 Dec 2021 20:54:42 -0700
From:   David Ahern <dsahern@...il.com>
To:     "Zhou, Jie2X" <jie2x.zhou@...el.com>,
        Jakub Kicinski <kuba@...nel.org>,
        "lizhijian@...itsu.com" <lizhijian@...itsu.com>
Cc:     "davem@...emloft.net" <davem@...emloft.net>,
        "shuah@...nel.org" <shuah@...nel.org>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "Li, Philip" <philip.li@...el.com>, lkp <lkp@...el.com>,
        "Ma, XinjianX" <xinjianx.ma@...el.com>,
        "Li, ZhijianX" <zhijianx.li@...el.com>
Subject: Re: selftests/net/fcnal-test.sh: ipv6_ping test failed

On 12/7/21 8:50 PM, Zhou, Jie2X wrote:
> hi,
> 
>   man ip, the output about exit value is like following.
>   "Exit status is 0 if command was successful, and 1 if there is a syntax error.  If an error was reported by the kernel exit status is 2."
>   Did the following COMMAND have syntax error? If not, should I still change the expected rc from 2 to 1?

strace of ping6 shows it is failing with '1'.

As for 'ip', it returns the exit code of the command run. iproute2 code,
lib/exec.c, cmd_exec().

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ