看板 FB_security 關於我們 聯絡資訊
--VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.05.18 08:41:14 -0700, Max Okumoto wrote: > Alexander suggested that I replace that code with > mkdtemp(template) > mkfifo(tempalte + "/fifo") >=20 > Which removed alot of the code duplication, but added the race > back in. [...] Ehh, where is the race? mkdtemp creates a unique directory with permissions 0700 so nobody else can race make(1) to the fifo in the temporary... or am I missing something? --=20 Simon L. Nielsen --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCjIoHh9pcDSc1mlERAka1AJ0RQkmhA/tH0QFM4kSyuw80H4cdpQCgtV7f idxRSQv7KRdi9RTmXJPUym8= =PY9+ -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--