become root for AIO operations
commit760fded972bc18cdaf846e8e372be7547a7201bd
authorAndrew Tridgell <tridge@samba.org>
Sun, 24 Aug 2008 03:58:05 +0000 (24 13:58 +1000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Sep 2008 11:44:11 +0000 (8 13:44 +0200)
tree91b436cc51a3103fb76a182dbe9814623ce81cd5
parent85dc4e7f4da77c329051c3de4ab0a23b321181e5
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)
(cherry picked from commit 898f1d86b048bf457468b2af8191f4e86d72e438)
source/smbd/aio.c