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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1261c28e-3de5-8122-d3db-fa78fb89e34a@schaufler-ca.com>
Date:   Mon, 6 Apr 2020 08:46:33 -0700
From:   Casey Schaufler <casey@...aufler-ca.com>
To:     Jordan Glover <Golden_Miller83@...tonmail.ch>,
        LSM List <linux-security-module@...r.kernel.org>
Cc:     "SMACK-discuss@...ts.01.org" <SMACK-discuss@...ts.01.org>,
        Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
        "Schaufler, Casey" <casey.schaufler@...el.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Casey Schaufler <casey@...aufler-ca.com>
Subject: Re: [SMACK] Build-time warning from Linux 5.6.2: unused variable ‘sip’

On 4/6/2020 5:02 AM, Jordan Glover wrote:
> Hello, during build of Linux 5.6.2 (also happened on 5.5.x series)
> gcc (9.3) prints following warning:
>
> security/smack/smack_lsm.c: In function ‘smack_socket_connect’:
> security/smack/smack_lsm.c:2838:24: warning: unused variable ‘sip’ [-Wunused-variable]
>  2838 |   struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap;
>
> My kernel has set CONFIG_IPV6=n during build.

Thank you for reporting this.

>
> Jordan
>
>
>
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ