Re: xterm killed with pledge dns violation

2020-01-14 Thread Matthieu Herrb
On Tue, Jan 14, 2020 at 04:16:46PM +0100, Benjamin Baier wrote: > On Tue, 14 Jan 2020 01:47:48 +0100 > Jeremie Courreges-Anglas wrote: > > Advertizing support for IP_ADDRESS makes little sense if we know we > > won't implement it. Maybe the use of #ifdef TCPCONN should be extended, > > but I

Re: xterm killed with pledge dns violation

2020-01-14 Thread Benjamin Baier
On Tue, 14 Jan 2020 01:47:48 +0100 Jeremie Courreges-Anglas wrote: > Advertizing support for IP_ADDRESS makes little sense if we know we > won't implement it. Maybe the use of #ifdef TCPCONN should be extended, > but I don't even know what's the deal between IP_ADDRESS and TCPCONN > (somehow

Re: xterm killed with pledge dns violation

2020-01-14 Thread Theo de Raadt
Jeremie Courreges-Anglas wrote: > I'm not ok with that approach, I think IP_ADDRESS should just go. > Upstream doesn't seem to care much about it: > > https://bugs.freedesktop.org/show_bug.cgi?id=7611 I think it is some misguided historical code which should not be in this library. It is

Re: xterm killed with pledge dns violation

2020-01-14 Thread Benjamin Baier
On Mon, 13 Jan 2020 20:45:04 +0100 Jeremie Courreges-Anglas wrote: > ... I think IP_ADDRESS should just go. > Upstream doesn't seem to care much about it: > > https://bugs.freedesktop.org/show_bug.cgi?id=7611 I agree. > Index: src/CvtStdSel.c >

Re: xterm killed with pledge dns violation

2020-01-14 Thread Jeremie Courreges-Anglas
On Mon, Jan 13 2020, Benjamin Baier wrote: > On Mon, 13 Jan 2020 20:45:04 +0100 > Jeremie Courreges-Anglas wrote: > >> ... I think IP_ADDRESS should just go. >> Upstream doesn't seem to care much about it: >> >> https://bugs.freedesktop.org/show_bug.cgi?id=7611 > I agree. > >> Index:

Re: xterm killed with pledge dns violation

2020-01-13 Thread Jeremie Courreges-Anglas
On Sun, Jan 12 2020, Matthieu Herrb wrote: > On Sun, Jan 12, 2020 at 02:59:46PM +0100, Benjamin Baier wrote: >> >> Here is my status on this. >> >> Claws-mail 3.17.4p2 has the backout diff so all the testing below was done >> with >> claws-mail 3.17.4p1. >> >> Following the advise from Thomas

Re: xterm killed with pledge dns violation

2020-01-12 Thread Matthieu Herrb
On Sun, Jan 12, 2020 at 02:59:46PM +0100, Benjamin Baier wrote: > > Here is my status on this. > > Claws-mail 3.17.4p2 has the backout diff so all the testing below was done > with > claws-mail 3.17.4p1. > > Following the advise from Thomas Dickey i compiled libXmu with > CONFIGURE_ARGS+=

Re: xterm killed with pledge dns violation

2020-01-12 Thread Benjamin Baier
On Sat, 11 Jan 2020 19:52:22 +0100 Matthieu Herrb wrote: > On Sat, Jan 11, 2020 at 05:47:05PM +, Stuart Henderson wrote: > > On 2020/01/11 17:24, Matthieu Herrb wrote: > > > On Tue, Jan 07, 2020 at 09:00:04PM +0100, Benjamin Baier wrote: > > > > > > Hi, > > > > > > While I've been able to

Re: xterm killed with pledge dns violation

2020-01-11 Thread Matthieu Herrb
On Sat, Jan 11, 2020 at 05:47:05PM +, Stuart Henderson wrote: > On 2020/01/11 17:24, Matthieu Herrb wrote: > > On Tue, Jan 07, 2020 at 09:00:04PM +0100, Benjamin Baier wrote: > > > > Hi, > > > > While I've been able to write a small application that reproduces > > this, I can't reproduce the

Re: xterm killed with pledge dns violation

2020-01-11 Thread Stuart Henderson
On 2020/01/11 17:24, Matthieu Herrb wrote: > On Tue, Jan 07, 2020 at 09:00:04PM +0100, Benjamin Baier wrote: > > Hi, > > While I've been able to write a small application that reproduces > this, I can't reproduce the conversion to XA_IP_ADDRESS with > claws-mail. (I'm trying to test options to

Re: xterm killed with pledge dns violation

2020-01-11 Thread Matthieu Herrb
On Tue, Jan 07, 2020 at 09:00:04PM +0100, Benjamin Baier wrote: Hi, While I've been able to write a small application that reproduces this, I can't reproduce the conversion to XA_IP_ADDRESS with claws-mail. (I'm trying to test options to fix this in libXmu). Do you have any special

Re: xterm killed with pledge dns violation

2020-01-08 Thread Thomas Dickey
On Wed, Jan 08, 2020 at 12:24:56PM +0100, Benjamin Baier wrote: > On Wed, 8 Jan 2020 04:31:42 -0500 > Thomas Dickey wrote: > > > On Wed, Jan 08, 2020 at 09:01:32AM +0100, Benjamin Baier wrote: > > ... > > > > Thomas Dickey wrote: > > ... > > > > > Reading the source, it seems that the client is

Re: xterm killed with pledge dns violation

2020-01-08 Thread Benjamin Baier
On Wed, 8 Jan 2020 04:31:42 -0500 Thomas Dickey wrote: > On Wed, Jan 08, 2020 at 09:01:32AM +0100, Benjamin Baier wrote: > ... > > > Thomas Dickey wrote: > ... > > > > Reading the source, it seems that the client is asking for the target > > > > with this information, that libXmu is "merely"

Re: xterm killed with pledge dns violation

2020-01-08 Thread Thomas Dickey
On Wed, Jan 08, 2020 at 09:01:32AM +0100, Benjamin Baier wrote: ... > > Thomas Dickey wrote: ... > > > Reading the source, it seems that the client is asking for the target > > > with this information, that libXmu is "merely" capable of honoring it > > > for some time. Take a look at > > > > >

Re: xterm killed with pledge dns violation

2020-01-07 Thread Theo de Raadt
Thomas Dickey wrote: > On Tue, Jan 07, 2020 at 09:00:04PM +0100, Benjamin Baier wrote: > > >Synopsis: xterm pledge dns violation > > >Category: X11 / libc? / ports? > > >Environment: > > System : OpenBSD 6.6 > > Details : OpenBSD 6.6-current (GENERIC.MP) #0: Mon Jan 6

Re: xterm killed with pledge dns violation

2020-01-07 Thread Thomas Dickey
On Tue, Jan 07, 2020 at 09:00:04PM +0100, Benjamin Baier wrote: > >Synopsis:xterm pledge dns violation > >Category:X11 / libc? / ports? > >Environment: > System : OpenBSD 6.6 > Details : OpenBSD 6.6-current (GENERIC.MP) #0: Mon Jan 6 20:17:42 > CET 2020 >

xterm killed with pledge dns violation

2020-01-07 Thread Benjamin Baier
/sys/arch/amd64/compile/GENERIC.MP Architecture: OpenBSD.amd64 Machine : amd64 >Description: While copy paste with middle mousebutton from xterm to claws-mail (into new email window) xterm always gets killed with pledge "dns" violation. >