dma(8): Fix race condition in multi-recipient delivery

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Fri Jul 10 01:57:29 PDT 2009


Simon 'corecode' Schubert wrote:
Matthew Dillon wrote:
    dup() doesn't solve the problem.  A dup()'d descriptor still
    points to a common file pointer and thus a common seek position.
    Only open() will generate a new file pointer backing the file
    descriptor.
That's not true.
Nevermind, you're right.  I'm too close to sleeping times, and stdio is 
doing some heavy buffering.

--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low CHF NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




More information about the Submit mailing list