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: <CAK7LNATm3n3FVqmbRA-U3GWeCW_X0L8Twy6zgVYC3Tdz3xwTcA@mail.gmail.com>
Date: Sun, 10 Nov 2024 20:21:22 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: HONG Yifan <elsk@...gle.com>
Cc: enh@...gle.com, ccross@...gle.com, Miguel Ojeda <ojeda@...nel.org>, 
	Matthias Maennich <maennich@...gle.com>, kernel-team@...roid.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] kheaders: prevent `find` from seeing perl temp files

On Sun, Nov 10, 2024 at 8:18 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
> On Thu, Nov 7, 2024 at 9:58 AM HONG Yifan <elsk@...gle.com> wrote:
> >
> > Symptom:
> >
> > The command
> >
> >     find ... | xargs ... perl -i
> >
> > occasionally triggers error messages like the following, with the build
> > still succeeding:
> >
> >     Can't open <redacted>/kernel/.tmp_cpio_dir/include/dt-bindings/clock/XXNX4nW9: No such file or directory.
>
>
> I tested this patch on Alpine Linux
> with "for i in $(seq 100); do" loop.

FWIW, I used Docker for testing.


This is the Dockerfile for my setup.

---------->8------------
ARG FROM=alpine

FROM ${FROM}

RUN \
apk add \
bash \
bison \
diffutils \
elfutils-dev \
emacs \
flex \
gcc \
git \
linux-headers \
make \
# c library
musl-dev \
nano \
openssl-dev \
perl \
python3 \
# useradd
shadow \
sudo \
tar
---------->8------------


I used linux-next-20241108 for the test kernel.


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ