Changed the creation location of the NI file to configure smack for RPK
authorj-h.choi <j-h.choi@samsung.com>
Wed, 21 Feb 2024 05:05:44 +0000 (14:05 +0900)
committer조웅석/MDE Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Wed, 28 Feb 2024 06:16:25 +0000 (15:16 +0900)
commitcc0b219c237b8b49cd92408911bbe7d8c72f8a4b
treef4b7a3b40a6f8a8b0a425caac2ad4a9d9d9a191a
parent18bd8723ac6603b9a5ad549ebb293b8af39b5d6a
Changed the creation location of the NI file to configure smack for RPK

When the RPK(resource package) is installed through pkgcmd, AOT is performed.
At this time, there was an issue that the smack label did not change for the NI created in the lib folder.
Because the installer does not have the capability of cap_mac_admin.

Change-Id: I74d47104d9edf07187fd1bd942a2993c280a7219
NativeLauncher/inc/ni_common.h
NativeLauncher/tool/ni_common.cc
NativeLauncher/tool/r2r_checker.cc