Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 351400cb authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm : adsprpc : Reject unsigned PD session"

parents bc492a33 7fb712cb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3961,12 +3961,13 @@ static int fastrpc_init_process(struct fastrpc_file *fl,
			err = -ECONNREFUSED;
			goto bail;
		}
	} else if (!(chan->unsigned_support) && (uproc->attrs & FASTRPC_MODE_UNSIGNED_MODULE)) {
		err = -ECONNREFUSED;
		goto bail;
	}

	err = fastrpc_channel_open(fl);
	if (err)
		goto bail;

	switch (init->flags) {
	case FASTRPC_INIT_ATTACH:
	case FASTRPC_INIT_ATTACH_SENSORS: