mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
In order to serve MEMSERV70-REQ-670 requirement, which makes validation checks mandatory for input flowing across execution boundary. Hence add checks for input flags in nvmap and make sure the execution does not proceed if flag other than read or write is provided in handle duplication, creating sciipc id or during handle creation from sciipc id even though the checks are present at libnvrm_mem layer. JIRA TMM-5962 Change-Id: I1fc6ce6ec4435c50220d4e49a08de50320a8f574 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3295201 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com>