become root for AIO operations
authorAndrew Tridgell <tridge@samba.org>
Tue, 26 Aug 2008 16:59:54 +0000 (09:59 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 12 Jan 2009 09:11:48 +0000 (10:11 +0100)
commitc60631879dbe6e87bc03c0412a4c8857b2f4339b
tree672d1523e1124614d514b058cb81a3147956b47c
parent6b4a425a072d471a28578744f934f92d38d44d1a
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 91dcce0e4deb87c6d5e491eb9dbb09fd04981d28)
source/smbd/aio.c