adendum to: Re: LFS 5.0 Patch-2.5.4 Chapt 5 mktemp

Allard Welter allard at nospam.nl
Fri Jan 23 17:13:00 PST 2004


On Saturday 24 January 2004 01:47, Bill's LFS Login wrote:
> On Sat, 24 Jan 2004, Allard Welter wrote:
> > > On Friday 23 January 2004 23:51, jmh wrote:
> > > > patch.o(.text+0x2d22): In function 'make_temp':...use of
> > > > mktemp is dangerous, better use 'mkstemp'
> > > >
> > > > during make.
> > > >
> > > > Is this something to fix or should I just ignore it?
> > > >
> > > > jmh
> > >
> > > mktemp and mkstemp do the same thing (both create a unique temporary
> > > file) <snip>
> > >
> > > Regards - Allard
>
> You switched subjects on us! The below is not related to mktemp/mkstmp.
> tsk, tsk!  ;)
>

Yes, well, it's what got me digging in the first place - I'm at the stage 
where side-tracking is most wellcome.
<snip repeated>

>
> Sysvinit is not the same as SYS-V IPC (which includes semaphores, shared
> memory and message queues). Sysvinit really refs the way that boot-time
> scripts and initialization are handled.
>
> I can't say if any programs in LFS/BLFS still depend on SYS-V IPC shared
> memory or not. I presume some do. And how many depend on POSIX shared
> memory is also something I don't know.
>
> There may be some info in the archives. I recall seeing a thread on it a
> couple months back. I guess searching with just POSIX would get you
> somehwre close, but I'm sure more keywords would then be needed.
>

Will do thanks - learnt more - dig, dig, diggitty dig. Meanwhile I'll do w/o /
tmp/shm for a bit and report if the sky falls on my head.

> > I've been rebooting several times to see the results, everything seems
> > fine sans /dev/shm entry and finally I see tmpfs doing something on /tmp
>
> I don't recall seeing anything that identified bad results if POSIX
> shared memory wasn't availble. I think someone said most programs are
> smart enough to test for it and ... (I don't rember what it does then).
>
> IIRC, Greg had done some investigation regarding it and had the scoop on
> it.
>

G'night fr now

> > Cheers - Allard
>

> --
> NOTE: I'm on a new ISP, if I'm in your address book ...
> Bill Maltby
> lfsbillATearthlinkDOTnet
> Fix line above & use it to mail me direct.

-- 
allard at quicknet.nl




More information about the lfs-support mailing list