apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: svn commit: r746589 - in /apr/apr/trunk: ./ include/ include/arch/unix/ include/arch/win32/ misc/unix/ misc/win32/ threadproc/beos/ threadproc/netware/ threadproc/os2/ threadproc/unix/ threadproc/win32/
Date Mon, 23 Feb 2009 15:05:26 GMT
Joe Orton wrote:
> 
>> Also shm name is not predictable because the child pid is not
>> known in advance (well one can make all 1...PID_MAX shm's, sure),
> 
> tmp races are a security issue regardless of pid predicatibility (and in 
> fact, pids are predictable on many platforms).
> 

I made it unique. It can still fail in theory during the
transition from two consequtive api calls
(file_close and shm_create)

If you still insist on -1, I'll have to remove it :(

Regards
-- 
^(TM)

Mime
View raw message