[uml-devel] Re: Bug in COW format - 64-bit incompatible with 32-bit due to struct padding (was: Re: [uml-user] uml_moo and large files)

2005-12-20 Thread Joel Palmius
On Tue, 20 Dec 2005, Blaisorblade wrote: So we need an utility doing just the setup and the writeout. Should be easy to do, but I must learn the complete COW API. I will dismiss this task if I see (as it seems) that there are no existing COW files. Personally I stopped trusting COW files once

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Blaisorblade
On Tuesday 20 December 2005 21:01, Rob Landley wrote: > On Monday 19 December 2005 12:33, Antoine Martin wrote: > > I think I'll rebuild it with compartment and build su without pam to > > trim it down even more. > > > > (also lib/security so I can get into the chroot) > > > That's for su, right?

[uml-devel] Re: Bug in COW format - 64-bit incompatible with 32-bit due to struct padding (was: Re: [uml-user] uml_moo and large files)

2005-12-20 Thread Blaisorblade
On Friday 16 December 2005 17:03, Blaisorblade wrote: > On Thursday 15 December 2005 21:15, Jeff Dike wrote: > > On Thu, Dec 15, 2005 at 05:26:44PM +0100, Blaisorblade wrote: > We want a utility read-wrong-V3-header / write right one. I have this support - indeed I've integrated the code to recog

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Antoine Martin
On Tue, 2005-12-20 at 14:01 -0600, Rob Landley wrote: > On Monday 19 December 2005 12:33, Antoine Martin wrote: > > Yep, it's a shame compartment does not ship with all distros. > > chroot without su is pointless (since you can use 'chroot-again' to > > escape) changing uid/guid should really be in

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Rob Landley
On Monday 19 December 2005 12:33, Antoine Martin wrote: > I think I'll rebuild it with compartment and build su without pam to > trim it down even more. > > > > (also lib/security so I can get into the chroot) > > > > That's for su, right? There are some tools (including "compartment") to > > combi

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Blaisorblade
On Tuesday 20 December 2005 17:25, Antoine Martin wrote: > > > > $ gcc -print-file-name=libpcap.a > > > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libpcap.a > > > > $ gcc -m32 -print-file-name=libpcap.a > > > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib32/libpcap.a > > >

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Antoine Martin
> > > $ gcc -print-file-name=libpcap.a > > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libpcap.a > > > $ gcc -m32 -print-file-name=libpcap.a > > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib32/libpcap.a > > > > Works for me (tm) too. > > > Can this be merged? (I can't see

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Blaisorblade
On Monday 19 December 2005 22:47, Antoine Martin wrote: > > > So I added this statement to the Makefile (patch attached) and now all > > > is well: > > > +ifeq ($(SUBARCH),i386) > > > +LDFLAGS_pcap.o := -r /usr/lib32/libpcap.a > > > +else > > ahh, so this is the right way to find the lib... (cool)