CVS commit: src/lib/librumpuser

2024-04-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Apr 4 17:27:23 UTC 2024 Modified Files: src/lib/librumpuser: rumpuser_daemonize.c Log Message: rumpuser(3): New RUMP_STDOUT, RUMP_STDERR environment variables. If set, then when rump daemonizes, it opens the path in RUMP_

CVS commit: src/lib/librumpuser

2024-04-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Apr 4 17:27:23 UTC 2024 Modified Files: src/lib/librumpuser: rumpuser_daemonize.c Log Message: rumpuser(3): New RUMP_STDOUT, RUMP_STDERR environment variables. If set, then when rump daemonizes, it opens the path in RUMP_

CVS commit: src/lib/librumpuser

2023-07-15 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jul 15 09:22:44 UTC 2023 Modified Files: src/lib/librumpuser: configure Log Message: librumpuser/configure: regen for URL fixes To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/configure Please

CVS commit: src/lib/librumpuser

2023-07-15 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jul 15 09:22:44 UTC 2023 Modified Files: src/lib/librumpuser: configure Log Message: librumpuser/configure: regen for URL fixes To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/configure Please

CVS commit: src/lib/librumpuser

2023-07-15 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jul 15 09:21:36 UTC 2023 Modified Files: src/lib/librumpuser: configure.ac Log Message: librumpuser/configure: fix missing directory warning Use "build-aux" instead of the non-existant "m4" as the directory for AC_CONFIG_MACRO

CVS commit: src/lib/librumpuser

2023-07-15 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jul 15 09:21:36 UTC 2023 Modified Files: src/lib/librumpuser: configure.ac Log Message: librumpuser/configure: fix missing directory warning Use "build-aux" instead of the non-existant "m4" as the directory for AC_CONFIG_MACRO

CVS commit: src/lib/librumpuser

2021-12-07 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Tue Dec 7 10:39:33 UTC 2021 Modified Files: src/lib/librumpuser: sp_common.c Log Message: In unix_parse(), always allocate memory for the entire struct sockaddr_un and not just the part used by the present pathname, because the ent

CVS commit: src/lib/librumpuser

2021-12-07 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Tue Dec 7 10:39:33 UTC 2021 Modified Files: src/lib/librumpuser: sp_common.c Log Message: In unix_parse(), always allocate memory for the entire struct sockaddr_un and not just the part used by the present pathname, because the ent

Re: CVS commit: src/lib/librumpuser

2020-05-06 Thread Alistair Crooks
On Tue, 5 May 2020 at 20:54, Kamil Rytarowski wrote: > Ping? We are blocked by this in GSoC now. > > > I doubt that you are "blocked by this in GSoC", as the GSoC projects were just announced yesterday. You should be planning the milestones right now with your student

Re: CVS commit: src/lib/librumpuser

2020-05-05 Thread Robert Elz
Date:Wed, 6 May 2020 07:30:17 +0200 From:Kamil Rytarowski Message-ID: | I reverted my fix It wasn't a fix, it simply made the problem go away, incorrectly. If you want you can just delete the relevant lines (the ones you changed). I've been running like that now

Re: CVS commit: src/lib/librumpuser

2020-05-05 Thread Kamil Rytarowski
On 06.05.2020 07:17, Alistair Crooks wrote: > > > On Tue, 5 May 2020 at 20:54, Kamil Rytarowski > wrote: > > Ping? We are blocked by this in GSoC now. > > > I doubt that you are "blocked by this in GSoC", as the GSoC projects > were just announced yesterday. > > You

Re: CVS commit: src/lib/librumpuser

2020-05-05 Thread Kamil Rytarowski
Ping? We are blocked by this in GSoC now. On 01.04.2020 20:19, Kamil Rytarowski wrote: > On 01.04.2020 17:06, Robert Elz wrote: >> Date:Wed, 1 Apr 2020 15:54:15 +0200 >> From:Kamil Rytarowski >> Message-ID: <969362d2-d93e-2cf4-7437-ab593ab11...@gmx.com> >> >> | Ping

Re: CVS commit: src/lib/librumpuser

2020-04-01 Thread Kamil Rytarowski
On 01.04.2020 17:06, Robert Elz wrote: > Date:Wed, 1 Apr 2020 15:54:15 +0200 > From:Kamil Rytarowski > Message-ID: <969362d2-d93e-2cf4-7437-ab593ab11...@gmx.com> > > | Ping? This still breaks. > > I am still working on it.Best I can tell at the minute is that the

Re: CVS commit: src/lib/librumpuser

2020-04-01 Thread Robert Elz
Date:Wed, 1 Apr 2020 15:54:15 +0200 From:Kamil Rytarowski Message-ID: <969362d2-d93e-2cf4-7437-ab593ab11...@gmx.com> | Ping? This still breaks. I am still working on it.Best I can tell at the minute is that the \0 is potentially needed (in a theoretical sense)

Re: CVS commit: src/lib/librumpuser

2020-04-01 Thread Kamil Rytarowski
On 24.03.2020 19:37, Kamil Rytarowski wrote: > On 24.03.2020 15:41, Robert Elz wrote: >> Date:Tue, 24 Mar 2020 13:27:45 +0100 >> From:Kamil Rytarowski >> Message-ID: <5ec1195a-f1c8-cd46-6a14-ea29da109...@gmx.com> >> >> | I patched it myself only when I reproduced the

Re: CVS commit: src/lib/librumpuser

2020-03-24 Thread Robert Elz
Date:Tue, 24 Mar 2020 19:37:02 +0100 From:Kamil Rytarowski Message-ID: <57a7e062-9af0-0be9-cb24-e155c5f83...@gmx.com> | ASan detects not a hypothetical, but factual momory corruption. Yes, I know that - and I believed you from the start that there was a buffer over

Re: CVS commit: src/lib/librumpuser

2020-03-24 Thread Kamil Rytarowski
On 24.03.2020 15:41, Robert Elz wrote: > Date:Tue, 24 Mar 2020 13:27:45 +0100 > From:Kamil Rytarowski > Message-ID: <5ec1195a-f1c8-cd46-6a14-ea29da109...@gmx.com> > > | I patched it myself only when I reproduced the problems myself. > > I have no doubt that there's

Re: CVS commit: src/lib/librumpuser

2020-03-24 Thread Robert Elz
Date:Tue, 24 Mar 2020 13:27:45 +0100 From:Kamil Rytarowski Message-ID: <5ec1195a-f1c8-cd46-6a14-ea29da109...@gmx.com> | I patched it myself only when I reproduced the problems myself. I have no doubt that there's a bug that needs fixing - it is the fix proposed tha

Re: CVS commit: src/lib/librumpuser

2020-03-24 Thread Kamil Rytarowski
On 24.03.2020 06:09, Robert Elz wrote: > Date:Tue, 24 Mar 2020 05:40:13 +0100 > From:Kamil Rytarowski > Message-ID: > > > | This patch was sitting in the tree since August 2019. > > In your tree I assume you mean, it certainly hasn't been in mine. > A similar f

Re: CVS commit: src/lib/librumpuser

2020-03-23 Thread Robert Elz
Date:Tue, 24 Mar 2020 05:40:13 +0100 From:Kamil Rytarowski Message-ID: | This patch was sitting in the tree since August 2019. In your tree I assume you mean, it certainly hasn't been in mine. Was a PR filed about the issue back then? If so, shouldn't it have

Re: CVS commit: src/lib/librumpuser

2020-03-23 Thread Kamil Rytarowski
On 24.03.2020 05:27, Robert Elz wrote: > There was no great urgency to "fix" > this particular one, it doesn't seem to have been causing any real problems, > and could have easily waited a few days (or weeks, or even months) until > the correct solution was found. > > kre > This patch was sittin

Re: CVS commit: src/lib/librumpuser

2020-03-23 Thread Robert Elz
Date:Tue, 24 Mar 2020 01:56:56 + From:"Kamil Rytarowski" Message-ID: <20200324015656.33df1f...@cvs.netbsd.org> | Module Name:src | Committed By: kamil | Date: Tue Mar 24 01:56:56 UTC 2020 | | Modified Files: | src/lib/li

Re: CVS commit: src/lib/librumpuser/build-aux

2016-10-30 Thread coypu
For the record, this is because the build server is running -6-1..

Re: CVS commit: src/lib/librumpuser/build-aux

2016-10-19 Thread coypu
On Wed, Oct 19, 2016 at 09:41:30AM +, Antti Kantee wrote: > No idea about the cause, but there seem to be other variants of the same > theme in the build logs, suggesting a more general problem, e.g.: > https://releng.netbsd.org/builds/HEAD/201610171520Z/sbmips-mipseb.build.failed > > In all o

Re: CVS commit: src/lib/librumpuser/build-aux

2016-10-19 Thread Antti Kantee
On 19/10/16 06:05, co...@sdf.org wrote: Maybe I should revert it because I misunderstood things and it does not matter... sorry for the noise Yes. I was trying to do something about the random failures in builds http://releng.netbsd.org/builds/netbsd-6/201610160430Z/ews4800mips.build.failed

Re: CVS commit: src/lib/librumpuser/build-aux

2016-10-18 Thread coypu
On Tue, Oct 18, 2016 at 10:28:04PM +, Antti Kantee wrote: > On 17/10/16 18:24, Maya Rashish wrote: > >Module Name: src > >Committed By:maya > >Date:Mon Oct 17 18:24:42 UTC 2016 > > > >Modified Files: > > src/lib/librumpuser/build-aux: install-sh > > > >Log Message: >

Re: CVS commit: src/lib/librumpuser/build-aux

2016-10-18 Thread Antti Kantee
On 17/10/16 18:24, Maya Rashish wrote: Module Name:src Committed By: maya Date: Mon Oct 17 18:24:42 UTC 2016 Modified Files: src/lib/librumpuser/build-aux: install-sh Log Message: use mktemp instead of $RANDOM for tmpdir ..$RANDOM won't work with our /bin/sh. unsure if

Re: CVS commit: src/lib/librumpuser/build-aux

2016-10-18 Thread coypu
On Mon, Oct 17, 2016 at 06:24:42PM +, Maya Rashish wrote: > Module Name: src > Committed By: maya > Date: Mon Oct 17 18:24:42 UTC 2016 > > Modified Files: > src/lib/librumpuser/build-aux: install-sh > > Log Message: > use mktemp instead of $RANDOM for tmpdir > Woops, this is

Re: CVS commit: src/lib/librumpuser

2014-10-07 Thread Justin Cormack
On Tue, Oct 7, 2014 at 10:19 AM, Marc Balmer wrote: >> -/* NetBSD is the only(?) platform with getenv_r() */ >> -#if !defined(__NetBSD__) >> +/* NetBSD is almost the only platform with getenv_r() */ >> +#if !(defined(__NetBSD__) || defined(__minix__)) > > Minix defines __minix, not __minix__, thou

Re: CVS commit: src/lib/librumpuser

2014-10-07 Thread Marc Balmer
Am 29.09.2014 um 17:54 schrieb Justin Cormack : > Module Name: src > Committed By: justin > Date: Mon Sep 29 15:54:28 UTC 2014 > > Modified Files: > src/lib/librumpuser: rumpuser_port.h > > Log Message: > Minix also has getenv_r support > > > To generate a diff of this commit:

Re: CVS commit: src/lib/librumpuser

2014-07-22 Thread Alexander Nasonov
Justin Cormack wrote: > Module Name: src > Committed By: justin > Date: Tue Jul 22 22:41:58 UTC 2014 > > Modified Files: > src/lib/librumpuser: Makefile rumpfiber.c rumpuser.c rumpuser_int.h > rumpuser_port.h > Added Files: > src/lib/librumpuser: rumpuser_random.c >

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Alexander Nasonov
Valery Ushakov wrote: > In that case a local rump header plays that role (either including > cdefs.h or providing the necessary definition). Yes, I believe that rumpuser_port.h includes . > The conditional is a separate issue and yes it shoud be gc'ed. I agree but I wanted to be consistent with

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Alexander Nasonov
Alexander Nasonov wrote: > I'm following a common practice of calling __clear_cache for JIT code > except that I wrap it as a hypercall. As pointed out a while back by justin@, icache sync is a hypercall under Xen (though, I'm not sure which of the cache related ops on that page is icache sync -

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Valery Ushakov
On Tue, Jun 17, 2014 at 16:20:57 +0200, Joerg Sonnenberger wrote: > On Tue, Jun 17, 2014 at 06:43:21AM +, Alexander Nasonov wrote: > > Module Name:src > > Committed By: alnsn > > Date: Tue Jun 17 06:43:21 UTC 2014 > > > > Modified Files: > > src/lib/librumpuser

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Joerg Sonnenberger
On Tue, Jun 17, 2014 at 06:43:21AM +, Alexander Nasonov wrote: > Module Name: src > Committed By: alnsn > Date: Tue Jun 17 06:43:21 UTC 2014 > > Modified Files: > src/lib/librumpuser: rumpuser_pth_dummy.c > > Log Message: > For consistency with other files in the same directory

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Alexander Nasonov
Antti Kantee wrote: > Ok, one more try, this time with an example: > > * fact: interface will be used to say "I have loaded code here, please > arrange things so that it can be executed" > * fact: you want to call the interface "sync icache" and possess those > semantics > > the example: > Let's

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Antti Kantee
On 17/06/14 11:52, Alexander Nasonov wrote: That's one more indication that "sync icache" is the wrong level of problem to represent at the interface level. Existence of __clear_cache is an indication of the opposite. Let's be thankful we're not discussing implementing a compiler. If it wer

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Antti Kantee
On 17/06/14 11:23, Alexander Nasonov wrote: If you don't have time to wait for discussion or coordination, do everything in the privacy of the sljit component. Please teach me how to create a private component. Use RUMPCOMP_USER_SRCS, several examples under src/sys/rump I'm not saying that

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Alexander Nasonov
Antti Kantee wrote: > Use RUMPCOMP_USER_SRCS, several examples under src/sys/rump Thanks for the pointer, will do. > That's one more indication that "sync icache" is the wrong level of problem > to represent at the interface level. Existence of __clear_cache is an indication of the opposite. I'm

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Alexander Nasonov
Antti Kantee wrote: > I think that will be overengineering it, but if you want to come up with a > concrete proposal patch, please. I'd simply use discussion and not rushing > commits to avoid issues here. The code is in the tree already. I don't need anything else for sljit. The sljit library do

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Antti Kantee
On 17/06/14 09:46, Alexander Nasonov wrote: Antti Kantee wrote: To be clear: the objection was to modifying a stable interface without coordination. The hypercall interface is implemented in multiple places outside of the NetBSD tree, including by 3rd parties. Stable interface in -current? Ho

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Alexander Nasonov
Antti Kantee wrote: > To be clear: the objection was to modifying a stable interface > without coordination. The hypercall interface is implemented in > multiple places outside of the NetBSD tree, including by 3rd parties. Stable interface in -current? How are you supposed to make any significant

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Antti Kantee
On Tue, Jun 17, 2014 at 08:42:35AM +, Alexander Nasonov wrote: > Module Name: src > Committed By: alnsn > Date: Tue Jun 17 08:42:35 UTC 2014 > > Modified Files: > src/lib/librumpuser: Makefile > > Log Message: > Antti objected to including rumpuser_sync_icache. Exclude it from

Re: CVS commit: src/lib/librumpuser

2014-06-16 Thread Alexander Nasonov
Alan Barrett wrote: > Some historical uses of __RCSID have an unnecessary #if/#endif wrapper > around them, but for new uses, please just write __RCSID(...); > without any #if/#endif wrapper. I copy/pasted this block from another file from the same directory. Alex

Re: CVS commit: src/lib/librumpuser

2014-06-16 Thread Alan Barrett
On Mon, 16 Jun 2014, Alexander Nasonov wrote: Log Message: Add __RCSID. +#if !defined(lint) +__RCSID("$NetBSD: rumpuser_bio.c,v 1.8 2014/06/16 21:07:28 alnsn Exp $"); +#endif /* !lint */ Some historical uses of __RCSID have an unnecessary #if/#endif wrapper around them, but for new uses, ple

Re: CVS commit: src/lib/librumpuser

2014-03-10 Thread Justin Cormack
On Mon, Mar 10, 2014 at 11:10 AM, Justin Cormack wrote: > On Mon, Mar 10, 2014 at 8:38 AM, Martin Husemann > wrote: >> On Sun, Mar 09, 2014 at 11:01:11PM +, Justin Cormack wrote: >>> Module Name: src >>> Committed By: justin >>> Date: Sun Mar 9 23:01:11 UTC 2014 >>> >>> Modified Fil

Re: CVS commit: src/lib/librumpuser

2014-03-10 Thread Justin Cormack
On Mon, Mar 10, 2014 at 8:38 AM, Martin Husemann wrote: > On Sun, Mar 09, 2014 at 11:01:11PM +, Justin Cormack wrote: >> Module Name: src >> Committed By: justin >> Date: Sun Mar 9 23:01:11 UTC 2014 >> >> Modified Files: >> src/lib/librumpuser: rumpuser_pth.c >> >> Log Message:

Re: CVS commit: src/lib/librumpuser

2014-03-10 Thread Martin Husemann
On Sun, Mar 09, 2014 at 11:01:11PM +, Justin Cormack wrote: > Module Name: src > Committed By: justin > Date: Sun Mar 9 23:01:11 UTC 2014 > > Modified Files: > src/lib/librumpuser: rumpuser_pth.c > > Log Message: > Use __thread rather than pthread_getspecific for rumpuser curl

Re: CVS commit: src/lib/librumpuser

2013-09-26 Thread David Laight
On Thu, Sep 26, 2013 at 12:41:51AM +, Mindaugas Rasiukevicius wrote: > Module Name: src > Committed By: rmind > Date: Thu Sep 26 00:41:51 UTC 2013 > > Modified Files: > src/lib/librumpuser: rumpuser_pth.c > > Log Message: > Give RUMP mutex and rwlock their own cache-line. Also

CVS commit: src/lib/librumpuser

2010-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 1 17:20:44 UTC 2010 Modified Files: src/lib/librumpuser: rumpuser.3 Log Message: Join today's manpage mania by updating this to reflect the current situation a "little" better. To generate a diff of this commit: cvs rdif

CVS commit: src/lib/librumpuser

2010-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 1 17:20:44 UTC 2010 Modified Files: src/lib/librumpuser: rumpuser.3 Log Message: Join today's manpage mania by updating this to reflect the current situation a "little" better. To generate a diff of this commit: cvs rdif

CVS commit: src/lib/librumpuser

2010-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 1 13:13:48 UTC 2010 Modified Files: src/lib/librumpuser: rumpuser_dl.c Log Message: Introduce RUMP_COMPONENT. It behaves mostly like a simplified module which is linked into the kernel and cannot be unloaded. The main pur

CVS commit: src/lib/librumpuser

2010-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 1 13:13:48 UTC 2010 Modified Files: src/lib/librumpuser: rumpuser_dl.c Log Message: Introduce RUMP_COMPONENT. It behaves mostly like a simplified module which is linked into the kernel and cannot be unloaded. The main pur