Re: [HACKERS] semaphore usage "port based"?
- From: Robert Watson <rwatson@xxxxxxxxxxx>
- Date: Mon, 3 Apr 2006 23:10:39 +0100 (BST)
On Mon, 3 Apr 2006, Marc G. Fournier wrote:
The problem here is actually that two postgres instances are trying to use the same sempahore when they are actually different postgres instances.
No, the problem here is that kill(PID, 0) reports that a PID is 'not in use' when, in fact, it is, but in a different jail ... can someone explain to me how 'not hiding that fact' increases information leakage, or causes a security problem? I could see it if I could then proceed to kill that process from a seperate jail, but I don't see what as possible ...
So if it's using a different semaphore, why is it finding the semaphore of another Postgres session and trying to use that? The problem you're describing is a property of a collision on a semaphore. If there's no semaphore collision, how would it ever find the pid from another jail?
Robert N M Watson
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: [HACKERS] semaphore usage "port based"?
- From: Marc G. Fournier
- Re: [HACKERS] semaphore usage "port based"?
- References:
- Re: [HACKERS] semaphore usage "port based"?
- From: Daniel Eischen
- Re: [HACKERS] semaphore usage "port based"?
- From: Marc G. Fournier
- Re: [HACKERS] semaphore usage "port based"?
- From: Robert Watson
- Re: [HACKERS] semaphore usage "port based"?
- From: Marc G. Fournier
- Re: [HACKERS] semaphore usage "port based"?
- Prev by Date: Re: FreeBSD 2.2.9 Released
- Next by Date: Issues with nullconsole in FreeBSD 6.0-p6
- Previous by thread: Re: [HACKERS] semaphore usage "port based"?
- Next by thread: Re: [HACKERS] semaphore usage "port based"?
- Index(es):
Relevant Pages
|