Create copy of device nodes when starting app
Create copy of device nodes when starting app

Originally if an app required a device, the device's permissions would
be set to 006, then a SMACK label & policy applied to limit access to
the app.  This had a few problems:

 1) User & Group permissions were unnecessarily removed from the device.
 2) Permissions were not reset once the app was removed.
 3) If SMACK is disabled, device will become wide open to be accessed by
    any app on the system.

Therefore instead of bind mounting devices, create a copy of the device node
owned by the app user.

Resolves: LE-6544
Change-Id: I81e7ea76604b41d051f43e47d99d15cab885c919

legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af