mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "msm: adsprpc: use current PID instead of stored PID for validation"
This commit is contained in:
commit
1eb1237f1e
1 changed files with 1 additions and 1 deletions
|
|
@ -3211,7 +3211,7 @@ static int fastrpc_init_create_dynamic_process(struct fastrpc_file *fl,
|
|||
* apps are not allowed to offload to signedPD on DSP. This is detected
|
||||
* by comparing current PID with the one stored during device open.
|
||||
*/
|
||||
if (fl->tgid != fl->tgid_open) {
|
||||
if (current->tgid != fl->tgid_open) {
|
||||
VERIFY(err, uproc->attrs & FASTRPC_MODE_UNSIGNED_MODULE);
|
||||
if (err) {
|
||||
err = -EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue