Support permission check
After this patch is applied, the packagemanager.info privilege is needed
to get the component information and the running component context.
If a process sends a request to get the component information, AMD
checks the privilege before sending the result. If the process doesn't
have a permission, the function returns AUL_R_EILLACC.
The privilege is needed to use the follwing list:
- aul_comp_info_create()
- aul_comp_info_usr_create()
- aul_comp_info_foreach_comp_info_from_app()
- aul_comp_info_usr_foreach_comp_info_from_app()
- aul_comp_info_foreach_comp_info()
- aul_comp_info_usr_foreach_comp_info()
- aul_comp_context_foreach_comp_context()
- aul_comp_context_create()
- aul_comp_context_usr_create()
Change-Id: I1494c4d6eb7e8bbd5b8c67ae181776998b518f9c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>