[grsec] pid randomization problem - process won't execute and will return zero value

Brad Spengler spender at grsecurity.net
Sun Aug 21 20:27:45 EDT 2005


> P.S. Race condition (setpgid/waitpid) in bash?

That seems to be the issue, as I've been able to eliminate the 
possibility of a pid reuse race, and even changed the lock in setpgid to 
a writelock so that it cannot race at the kernel level with pid 
selection, and /bin/false will eventually still return true.

-Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://grsecurity.net/pipermail/grsecurity/attachments/20050821/31c2f13f/attachment.pgp


More information about the grsecurity mailing list