[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes
From: |
Samuel Thibault |
Subject: |
Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes |
Date: |
Tue, 2 Feb 2021 18:25:17 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Paul Dufresne, le mar. 02 févr. 2021 12:05:54 -0500, a ecrit:
> root@kibar:~/procps-3.3.16# diff -u pgrep.c ../orig/procps-3.3.16/pgrep.c
> --- pgrep.c 2021-02-02 11:39:44.000000000 -0500
> +++ ../orig/procps-3.3.16/pgrep.c 2020-02-06 06:04:02.000000000 -0500
> @@ -498,8 +498,6 @@
> pid_t myself = getpid();
> struct el *list = NULL;
> long cmdlen = sysconf(_SC_ARG_MAX) * sizeof(char);
> - if (cmdlen==-1) // sysconf returned "no limitations"
> - cmdlen=1000; // 1000 chars (arbitrary value)
Yes, possibly something like this, I'll upload a package containing
it. Please discuss about it with upstream of procps, for the long run.
Samuel
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, (continued)
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Samuel Thibault, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Jessica Clarke, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Samuel Thibault, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Samuel Thibault, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes,
Samuel Thibault <=
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Samuel Thibault, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Samuel Thibault, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Paul Dufresne, 2021/02/02
- Re: pgrep and pkill (any? arguments): cannot allocate 4294967295 bytes, Samuel Thibault, 2021/02/02