become root for AIO operations
authorAndrew Tridgell <tridge@samba.org>
Sun, 24 Aug 2008 03:58:05 +0000 (13:58 +1000)
committerMichael Adam <obnox@samba.org>
Tue, 26 Aug 2008 14:14:48 +0000 (16:14 +0200)
commit898f1d86b048bf457468b2af8191f4e86d72e438
tree071ef9fda5f30791c041361bdc0252cbc9cab376
parent6b1291bdd4f8145c73684a679f895d0958df4e66
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 c548e5c69f9d8bc85a654f4d29d64c735a5e780b)
source/smbd/aio.c