Re: [PATCH 1/4] file: export __alloc_fd()

From: Christoph Hellwig
Date: Mon Jul 30 2018 - 12:31:59 EST


On Mon, Jul 30, 2018 at 04:37:07PM +0200, Christian Brauner wrote:
> The Android binder driver will be turned into a module. Since it uses
> __alloc_fd() we need to export this function.

Err, hell no.

It should be using an anon fd probably.