Loading drivers/char/adsprpc.c +13 −0 Original line number Diff line number Diff line Loading @@ -3637,6 +3637,12 @@ static int fastrpc_init_attach_process(struct fastrpc_file *fl, remote_arg_t ra[1]; struct fastrpc_ioctl_invoke_async ioctl; if (fl->dev_minor == MINOR_NUM_DEV) { err = -ECONNREFUSED; ADSPRPC_ERR( "untrusted app trying to attach to privileged DSP PD\n"); return err; } /* * Prepare remote arguments for creating thread group * in guestOS/staticPD on the remote subsystem. Loading Loading @@ -3911,6 +3917,13 @@ static int fastrpc_init_create_static_process(struct fastrpc_file *fl, unsigned int pageslen; } inbuf; if (fl->dev_minor == MINOR_NUM_DEV) { err = -ECONNREFUSED; ADSPRPC_ERR( "untrusted app trying to attach to audio PD\n"); return err; } if (!init->filelen) goto bail; Loading Loading
drivers/char/adsprpc.c +13 −0 Original line number Diff line number Diff line Loading @@ -3637,6 +3637,12 @@ static int fastrpc_init_attach_process(struct fastrpc_file *fl, remote_arg_t ra[1]; struct fastrpc_ioctl_invoke_async ioctl; if (fl->dev_minor == MINOR_NUM_DEV) { err = -ECONNREFUSED; ADSPRPC_ERR( "untrusted app trying to attach to privileged DSP PD\n"); return err; } /* * Prepare remote arguments for creating thread group * in guestOS/staticPD on the remote subsystem. Loading Loading @@ -3911,6 +3917,13 @@ static int fastrpc_init_create_static_process(struct fastrpc_file *fl, unsigned int pageslen; } inbuf; if (fl->dev_minor == MINOR_NUM_DEV) { err = -ECONNREFUSED; ADSPRPC_ERR( "untrusted app trying to attach to audio PD\n"); return err; } if (!init->filelen) goto bail; Loading