Linux Test Project
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Li Wang <liwan@redhat.com>
Cc: Charles Shi <cheshi@redhat.com>,
	ltp@lists.linux.it, Irene Diez <idiez@redhat.com>
Subject: Re: [LTP] [PATCH v4] Add test case to cover the setting resource limit64 for process
Date: Fri, 28 Feb 2025 12:37:23 +0100	[thread overview]
Message-ID: <20250228113723.GA3222454@pevik> (raw)
In-Reply-To: <CAEemH2e6XYnVwx3t+_Qn_pw5-RSnp1YRxLuEJ+EBFkF8ir3ybQ@mail.gmail.com>

> Li Wang <liwan@redhat.com> wrote:


> > P.s. the patch caused a compiling error on Alpine I haven't figured out
> > reason:).

> > https://github.com/linux-test-project/ltp/actions/runs/13580985467/job/37966850497


> Well, we have to enable _LARGEFILE64_SOURCE macro to tells glibc
> to expose 64-bit structures, see:

> $ cat /usr/include/bits/resource.h
> ...
> #ifdef __USE_LARGEFILE64
> struct rlimit64
>   {
>     /* The current (soft) limit.  */
>     rlim64_t rlim_cur;
>     /* The hard limit.  */
>     rlim64_t rlim_max;
>  };
> #endif
> ...

> Sent a patch to resolve it:
>   https://lists.linux.it/pipermail/ltp/2025-February/042497.html

FYI patch already merged.

Kind regards,
Petr

> Li Wang

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2025-02-28 11:37 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18  2:31 [LTP] [PATCH] Add test case to cover the setting resource limit64 for process chunfuwen
2025-02-18 11:44 ` Ricardo B. Marlière
2025-02-18 13:29   ` Andrea Cervesato via ltp
2025-02-19  2:35     ` Chunfu Wen
2025-02-19  9:29       ` Andrea Cervesato via ltp
2025-02-19  6:47     ` [LTP] [PATCH v2] " chunfuwen
2025-02-19 16:44       ` Petr Vorel
2025-02-20  2:08         ` Li Wang
2025-02-20  9:35           ` Petr Vorel
2025-02-20  8:01         ` Chunfu Wen
2025-02-20  8:35         ` [LTP] [PATCH v3] " Chunfu Wen
2025-02-21 10:34           ` Andrea Cervesato via ltp
2025-02-24  3:06             ` Chunfu Wen
2025-02-24  3:07             ` [LTP] [PATCH v4] " Chunfu Wen
2025-02-26  1:15               ` Chunfu Wen
2025-02-28  3:41                 ` Li Wang
2025-02-28  7:45                   ` Andrea Cervesato via ltp
2025-02-28  8:39                     ` Li Wang
2025-02-28  9:22                       ` Li Wang
2025-02-28 11:37                         ` Petr Vorel [this message]
2025-02-26  9:21               ` Li Wang
2025-02-19 16:50       ` [LTP] [PATCH v2] " Petr Vorel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250228113723.GA3222454@pevik \
    --to=pvorel@suse.cz \
    --cc=cheshi@redhat.com \
    --cc=idiez@redhat.com \
    --cc=liwan@redhat.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox