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-next>] [day] [month] [year] [list]
Message-ID: <2322a626-ac5a-9400-82bf-3aaccc5fddb7@oracle.com>
Date:   Fri, 13 Jan 2023 15:32:25 +0530
From:   Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
To:     stable@...r.kernel.org
Cc:     pbonzini@...hat.com, shuah@...nel.org, kvm@...r.kernel.org,
        LKML <linux-kernel@...r.kernel.org>,
        Darren Kenny <darren.kenny@...cle.com>,
        Liam Merwick <liam.merwick@...cle.com>,
        Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
Subject: 5.15.y backport request to fix compilation error in selftests/kvm

Hi,

On arm machine we have a compilation error while building 
tools/testing/selftests/kvm/ with LTS 5.15.y kernel

rseq_test.c: In function ‘main’:
rseq_test.c:236:33: warning: implicit declaration of function ‘gettid’; 
did you mean ‘getgid’? [-Wimplicit-function-declaration]
           (void *)(unsigned long)gettid());
                                  ^~~~~~
                                  getgid
/tmp/cc4Wfmv2.o: In function `main':
/home/test/linux/tools/testing/selftests/kvm/rseq_test.c:236: undefined 
reference to `gettid'
collect2: error: ld returned 1 exit status
make: *** [../lib.mk:151: 
/home/test/linux/tools/testing/selftests/kvm/rseq_test] Error 1
make: Leaving directory '/home/test/linux/tools/testing/selftests/kvm'


This is fixed by commit 561cafebb2cf97b0927b4fb0eba22de6200f682e upstream.
Kernel version to apply: 5.15.y LTS

Could we please backport the above fix onto 5.15.y LTS. It applies 
cleanly and the kvm selftests compile properly after applying the patch.

Liam pointed the same in [1]

Thanks,
Harshit

[1] 
https://lore.kernel.org/all/fdfb143a-45c4-aaff-aa95-d20c076ff555@oracle.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ