Re: bash-4-2 issue

2024-01-11 Thread Chet Ramey
On 1/11/24 10:55 AM, Chet Ramey wrote: On 1/11/24 3:46 AM, Sam Kappen via Bug reports for the GNU Bourne Again SHell wrote: Thanks. I am using a Linux host with kernel version 4.x for cross building. It looks like autoconf is not defining the "PGRP_PIPE" macro variable as there is no check

Re: bash-4-2 issue

2024-01-11 Thread Chet Ramey
On 1/11/24 3:46 AM, Sam Kappen via Bug reports for the GNU Bourne Again SHell wrote: Thanks. I am using a Linux host with kernel version 4.x for cross building. It looks like autoconf is not defining the "PGRP_PIPE" macro variable as there is no check for linux kernel version 4. The uname

Re: bash-4-2 issue

2024-01-11 Thread Chet Ramey
On 1/10/24 5:33 PM, Grisha Levit wrote: On Mon, Jan 8, 2024 at 7:04 AM Sam Kappen via Bug reports for the GNU Bourne Again SHell wrote: We see that bash throws the "Operation not permitted" error when doing chained pipe operation along with a debug trap. We set a debug trap here "my_debug" to

Re: bash-4-2 issue

2024-01-11 Thread Sam Kappen via Bug reports for the GNU Bourne Again SHell
On Thu, Jan 11, 2024 at 1:03 AM Grisha Levit wrote: > On Wed, Jan 10, 2024 at 5:33 PM Grisha Levit > wrote: > > I'm not sure this is fixed. In all versions, including 4.2 [...] > > > > $ bash -m -c 'trap /usr/bin/true DEBUG; :|:' > > bash: child setpgid (49581 to 49579): Operation not

Re: bash-4-2 issue

2024-01-10 Thread Grisha Levit
On Wed, Jan 10, 2024 at 5:33 PM Grisha Levit wrote: > I'm not sure this is fixed. In all versions, including 4.2 [...] > > $ bash -m -c 'trap /usr/bin/true DEBUG; :|:' > bash: child setpgid (49581 to 49579): Operation not permitted Correction, versions prior to 4.3 did not respect the -m

Re: bash-4-2 issue

2024-01-10 Thread Grisha Levit
On Mon, Jan 8, 2024 at 7:04 AM Sam Kappen via Bug reports for the GNU Bourne Again SHell wrote: > We see that bash throws the "Operation not permitted" error when doing > chained pipe operation > along with a debug trap. > > We set a debug trap here "my_debug" to save the terminal commands

bash-4-2 issue

2024-01-08 Thread Sam Kappen via Bug reports for the GNU Bourne Again SHell
Hi, We see that bash throws the "Operation not permitted" error when doing chained pipe operation along with a debug trap. We set a debug trap here "my_debug" to save the terminal commands entered. The GNU bash, version used is 4.2. root@freescale-p2020ds:~/dir# ls -l | grep a | grep b | grep