become root for AIO operations
commit7817de6798ecc8f5ea05541460639fb32603237b
authorAndrew Tridgell <tridge@samba.org>
Sun, 24 Aug 2008 03:58:05 +0000 (24 13:58 +1000)
committerKarolin Seeger <kseeger@samba.org>
Thu, 28 Aug 2008 14:07:45 +0000 (28 16:07 +0200)
tree640c74055dd3d296b3c6a91d1575c60ace9e2d27
parentfd7ca5a896e169e42350507e16aee63841591131
become root for AIO operations

We need to become root for AIO read and write to allow the AIO thread
to send a completion signal to the parent process when the IO
completes
(cherry picked from commit 27b1ae601542ebe2e23ab4ff81eb14f8e03a3caf)
source/smbd/aio.c