Module Name:src
Committed By: kre
Date: Tue Nov 12 03:06:58 UTC 2024
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
dup2() must (except when there's an error) return the new fd. Not 0
unless that happens to be the new fd.
Fixes tests/lib/librumphijack/t_sh
Module Name:src
Committed By: kre
Date: Tue Nov 12 03:06:58 UTC 2024
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
dup2() must (except when there's an error) return the new fd. Not 0
unless that happens to be the new fd.
Fixes tests/lib/librumphijack/t_sh
Module Name:src
Committed By: ozaki-r
Date: Fri Aug 16 04:23:31 UTC 2024
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
librumphijack: support flock
The original author is k-goda@IIJ.
To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/lib/
Module Name:src
Committed By: ozaki-r
Date: Fri Aug 16 04:23:31 UTC 2024
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
librumphijack: support flock
The original author is k-goda@IIJ.
To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/lib/
Module Name:src
Committed By: christos
Date: Sat Sep 11 14:22:12 UTC 2021
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
remove fake closefrom()
To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/lib/librumphijack/hijack.c
Please note that
Module Name:src
Committed By: christos
Date: Sat Sep 11 14:22:12 UTC 2021
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
remove fake closefrom()
To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/lib/librumphijack/hijack.c
Please note that
Module Name:src
Committed By: rillig
Date: Sat Sep 11 08:32:11 UTC 2021
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
librumphijack: fix typo for NetBSD < 5.99.7
To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/lib/librumphijack/hijack.c
Module Name:src
Committed By: rillig
Date: Sat Sep 11 08:32:11 UTC 2021
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
librumphijack: fix typo for NetBSD < 5.99.7
To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/lib/librumphijack/hijack.c
Module Name:src
Committed By: christos
Date: Fri Sep 10 21:22:05 UTC 2021
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
Ignore closefrom(3) for now; too complicated to descern between regular
and rump fds.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: christos
Date: Fri Sep 10 21:22:05 UTC 2021
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
Ignore closefrom(3) for now; too complicated to descern between regular
and rump fds.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: christos
Date: Fri Sep 10 20:33:38 UTC 2021
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
- implement pselect so that the ssh test has a chance to work
- 1 -> EXIT_FAILURE
- more info about fds
To generate a diff of this commi
Module Name:src
Committed By: christos
Date: Fri Sep 10 20:33:38 UTC 2021
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
- implement pselect so that the ssh test has a chance to work
- 1 -> EXIT_FAILURE
- more info about fds
To generate a diff of this commi
Module Name:src
Committed By: christos
Date: Wed Sep 25 20:19:59 UTC 2019
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
teach hijack about the new vfs syscalls
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/lib/librumphijack/hijack.c
Module Name:src
Committed By: christos
Date: Wed Sep 25 20:19:59 UTC 2019
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
teach hijack about the new vfs syscalls
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/lib/librumphijack/hijack.c
Module Name:src
Committed By: kamil
Date: Mon Sep 16 00:00:57 UTC 2019
Modified Files:
src/lib/librumphijack: Makefile
Log Message:
Stop passing -D_INCOMPLETE_XOPEN_C063 (obsolete define)
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/librumphijack
Module Name:src
Committed By: kamil
Date: Mon Sep 16 00:00:57 UTC 2019
Modified Files:
src/lib/librumphijack: Makefile
Log Message:
Stop passing -D_INCOMPLETE_XOPEN_C063 (obsolete define)
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/librumphijack
On Fri Mar 11 2011 at 03:34:47 +0300, Valeriy E. Ushakov wrote:
> On Thu, Mar 10, 2011 at 23:02:56 +, Antti Kantee wrote:
>
> > Use rumphijack_dlsym() to figure out where __sysctl() is during
> > init. Otherwise powerpc dlsym() DTWT and returns NULL.
> > (now i have no idea why dlsym() it wor
On Thu, Mar 10, 2011 at 23:02:56 +, Antti Kantee wrote:
> Use rumphijack_dlsym() to figure out where __sysctl() is during
> init. Otherwise powerpc dlsym() DTWT and returns NULL.
> (now i have no idea why dlsym() it works from rcinit(), but i'll
> opt to not care)
I don't remember if I broug
On 03/09/11 16:03, Antti Kantee wrote:
Module Name:src
Committed By: pooka
Date: Wed Mar 9 15:03:18 UTC 2011
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
Add a bunch of process-wide hijack calls. Among other things, it's
now possible to use unmodified u
On Sun Feb 27 2011 at 08:12:37 +0300, Valeriy E. Ushakov wrote:
> On Fri, Feb 25, 2011 at 16:01:42 +, Antti Kantee wrote:
>
> > Module Name:src
> > Committed By: pooka
> > Date: Fri Feb 25 16:01:42 UTC 2011
> >
> > Modified Files:
> > src/lib/librumphijack: Mak
> > cvs rdiff -u -r1.7 -r1.8 src/lib/librumphijack/Makefile
> > cvs rdiff -u -r1.1 -r1.2 src/lib/librumphijack/hijackdlsym.c
>
> I think this is caused by revision 1.121 of rtld.c (hi, mac!) that
> added "hackish_return_address" for ppc.
>
> #ifdef __powerpc__
> static void *
> hackish_return_ad
On Sun, Feb 27, 2011 at 08:12:37 +0300, Valeriy E. Ushakov wrote:
> On Fri, Feb 25, 2011 at 16:01:42 +, Antti Kantee wrote:
>
> > Module Name:src
> > Committed By: pooka
> > Date: Fri Feb 25 16:01:42 UTC 2011
> >
> > Modified Files:
> > src/lib/librumphijack:
On Fri, Feb 25, 2011 at 16:01:42 +, Antti Kantee wrote:
> Module Name: src
> Committed By: pooka
> Date: Fri Feb 25 16:01:42 UTC 2011
>
> Modified Files:
> src/lib/librumphijack: Makefile hijackdlsym.c
>
> Log Message:
> Ok, for reasons I can't begin to understand, the binarie
On Wed Feb 23 2011 at 01:31:51 +, YAMAMOTO Takashi wrote:
> > On Mon Feb 21 2011 at 23:19:47 +, YAMAMOTO Takashi wrote:
> >> > Module Name: src
> >> > Committed By:pooka
> >> > Date:Mon Feb 7 19:34:39 UTC 2011
> >> >
> >> > Modified Files:
> >> > src/lib/librumphijack
> On Mon Feb 21 2011 at 23:19:47 +, YAMAMOTO Takashi wrote:
>> > Module Name: src
>> > Committed By: pooka
>> > Date: Mon Feb 7 19:34:39 UTC 2011
>> >
>> > Modified Files:
>> >src/lib/librumphijack: hijack.c
>> >
>> > Log Message:
>> > Force gcc to generate a stac
On Mon Feb 21 2011 at 23:19:47 +, YAMAMOTO Takashi wrote:
> > Module Name:src
> > Committed By: pooka
> > Date: Mon Feb 7 19:34:39 UTC 2011
> >
> > Modified Files:
> > src/lib/librumphijack: hijack.c
> >
> > Log Message:
> > Force gcc to generate a stack frame
> Module Name: src
> Committed By: pooka
> Date: Mon Feb 7 19:34:39 UTC 2011
>
> Modified Files:
> src/lib/librumphijack: hijack.c
>
> Log Message:
> Force gcc to generate a stack frame for the call to dlsym(RTLD_NEXT).
> Without this hack at least amd64 -O2 just used jmp and The
On Sun Feb 20 2011 at 04:34:02 +0100, Joerg Sonnenberger wrote:
> On Sat, Feb 19, 2011 at 07:54:25PM +0200, Antti Kantee wrote:
> > On Sat Feb 19 2011 at 14:58:45 +0100, Joerg Sonnenberger wrote:
> > > On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote:
> > > > Module Name:src
> > > >
On Sat, Feb 19, 2011 at 07:54:25PM +0200, Antti Kantee wrote:
> On Sat Feb 19 2011 at 14:58:45 +0100, Joerg Sonnenberger wrote:
> > On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote:
> > > Module Name: src
> > > Committed By: pooka
> > > Date: Sat Feb 19 13:10:35 UTC
On Sat Feb 19 2011 at 14:58:45 +0100, Joerg Sonnenberger wrote:
> On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote:
> > Module Name:src
> > Committed By: pooka
> > Date: Sat Feb 19 13:10:35 UTC 2011
> >
> > Modified Files:
> > src/lib/librumphijack: hija
On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote:
> Module Name: src
> Committed By: pooka
> Date: Sat Feb 19 13:10:35 UTC 2011
>
> Modified Files:
> src/lib/librumphijack: hijack.c
>
> Log Message:
> hijack __getcwd()
Why?
Joerg
On Wed, Feb 09, 2011 at 14:06:08 +0200, Antti Kantee wrote:
> On Wed Feb 09 2011 at 02:32:17 +, Christos Zoulas wrote:
> > >And, on a tangent, it would really help if we had some mechanism for
> > >"latest version of symbol exported by libc" (cf. mess with select,
> > >pollts, kevent and socke
On Wed Feb 09 2011 at 02:32:17 +, Christos Zoulas wrote:
> >And, on a tangent, it would really help if we had some mechanism for
> >"latest version of symbol exported by libc" (cf. mess with select,
> >pollts, kevent and socket). For working compat, I guess we'd need to
> >bump rumphijack majo
On Wed, Feb 09, 2011 at 02:30:38AM +, Christos Zoulas wrote:
> >To get the layering correct, we could make the fortification code define
> >another prototype and use double rename, e.g.
> >
> >ssize_t __real_read(int __fd, ...) __RENAME(read);
> >
> >__ssp_inline ssize_t read(int __fd, ...) __R
In article <20110208212244.gk22...@cs.hut.fi>,
Antti Kantee wrote:
>On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote:
>> On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote:
>> > Still the problem remains, how do we stack the calls to insert the ssp
>> > check at the top
In article <20110208220435.ga10...@britannica.bec.de>,
Joerg Sonnenberger wrote:
>On Tue, Feb 08, 2011 at 11:43:40PM +0200, Antti Kantee wrote:
>> On Tue Feb 08 2011 at 22:41:57 +0100, Joerg Sonnenberger wrote:
>> > On Tue, Feb 08, 2011 at 11:22:44PM +0200, Antti Kantee wrote:
>> > > On Tue Feb 0
In article <20110208210049.ga8...@britannica.bec.de>,
Joerg Sonnenberger wrote:
>On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote:
>> Still the problem remains, how do we stack the calls to insert the ssp
>> check at the top level, without resorting to rtld tricks?
>
>Let me try to
On Tue, Feb 08, 2011 at 11:43:40PM +0200, Antti Kantee wrote:
> On Tue Feb 08 2011 at 22:41:57 +0100, Joerg Sonnenberger wrote:
> > On Tue, Feb 08, 2011 at 11:22:44PM +0200, Antti Kantee wrote:
> > > On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote:
> > > > On Tue, Feb 08, 2011 at 03:
On Tue Feb 08 2011 at 23:04:35 +0100, Joerg Sonnenberger wrote:
> > > > No, it wants to override "whatever is the symbol applications are
> > > > resolved to". For -current this is "_sys_read" (on nb5 it's "read").
> > >
> > > That's not what the library is doing according to nm. It defines "read
On Tue Feb 08 2011 at 22:41:57 +0100, Joerg Sonnenberger wrote:
> On Tue, Feb 08, 2011 at 11:22:44PM +0200, Antti Kantee wrote:
> > On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote:
> > > On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote:
> > > > Still the problem remain
On Tue, Feb 08, 2011 at 11:22:44PM +0200, Antti Kantee wrote:
> On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote:
> > On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote:
> > > Still the problem remains, how do we stack the calls to insert the ssp
> > > check at the top le
On Tue Feb 08 2011 at 23:22:44 +0200, Antti Kantee wrote:
> On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote:
> > On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote:
> > > Still the problem remains, how do we stack the calls to insert the ssp
> > > check at the top level,
On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote:
> On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote:
> > Still the problem remains, how do we stack the calls to insert the ssp
> > check at the top level, without resorting to rtld tricks?
>
> Let me try to summarize th
On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote:
> Still the problem remains, how do we stack the calls to insert the ssp
> check at the top level, without resorting to rtld tricks?
Let me try to summarize the situation to make sure I get it right:
The fortification code wants to
On Feb 8, 10:30pm, po...@cs.hut.fi (Antti Kantee) wrote:
-- Subject: Re: CVS commit: src/lib/librumphijack
| On Tue Feb 08 2011 at 15:03:11 -0500, Christos Zoulas wrote:
| > [explanation]
| >
| > In your c code then in hijack.c you need to define the body of _hijack_read.
| > You
On Tue Feb 08 2011 at 15:03:11 -0500, Christos Zoulas wrote:
> [explanation]
>
> In your c code then in hijack.c you need to define the body of _hijack_read.
> You also end up needing to define the bodies of readlink and getcwd, but
> that is easily done...
>
> I hope that helps. The trick to und
On Feb 8, 5:01pm, po...@cs.hut.fi (Antti Kantee) wrote:
-- Subject: Re: CVS commit: src/lib/librumphijack
| On Tue Feb 08 2011 at 05:15:39 +, Christos Zoulas wrote:
| > In article <20110207124333.gg15...@cs.hut.fi>,
| > Antti Kantee wrote:
| > >On Mon Feb 07 2011 at 11:
On Tue Feb 08 2011 at 05:15:39 +, Christos Zoulas wrote:
> In article <20110207124333.gg15...@cs.hut.fi>,
> Antti Kantee wrote:
> >On Mon Feb 07 2011 at 11:51:02 +, Antti Kantee wrote:
> >> Module Name: src
> >> Committed By: pooka
> >> Date: Mon Feb 7 11:51:02 UT
In article <20110207124333.gg15...@cs.hut.fi>,
Antti Kantee wrote:
>On Mon Feb 07 2011 at 11:51:02 +, Antti Kantee wrote:
>> Module Name: src
>> Committed By:pooka
>> Date:Mon Feb 7 11:51:02 UTC 2011
>>
>> Modified Files:
>> src/lib/librumphijack: hijack.c
>>
>
On Mon Feb 07 2011 at 11:51:02 +, Antti Kantee wrote:
> Module Name: src
> Committed By: pooka
> Date: Mon Feb 7 11:51:02 UTC 2011
>
> Modified Files:
> src/lib/librumphijack: hijack.c
>
> Log Message:
> Unbreak the ssp lossage from the default -current build by removing
> it.
In article <20110127140249.gd23...@cs.hut.fi>,
Antti Kantee wrote:
>On Wed Jan 26 2011 at 13:48:32 -0500, Christos Zoulas wrote:
>> Module Name: src
>> Committed By:christos
>> Date:Wed Jan 26 18:48:32 UTC 2011
>>
>> Modified Files:
>> src/lib/librumphijack: hijack.c
On Wed Jan 26 2011 at 13:48:32 -0500, Christos Zoulas wrote:
> Module Name: src
> Committed By: christos
> Date: Wed Jan 26 18:48:32 UTC 2011
>
> Modified Files:
> src/lib/librumphijack: hijack.c
>
> Log Message:
> make SSP friendly
Can you add a comment stating why readlink and g
52 matches
Mail list logo