Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

Why kernel/drivers/char/virtd is a binary file? #12

Open
adgnaf opened this issue Aug 7, 2020 · 1 comment
Open

Why kernel/drivers/char/virtd is a binary file? #12

adgnaf opened this issue Aug 7, 2020 · 1 comment

Comments

@adgnaf
Copy link

adgnaf commented Aug 7, 2020

Noticed that file kernel/drivers/char/virtd is a binary file and will be compiled into kernel image. Is the binary file benign?

@GMMan
Copy link

GMMan commented Jul 30, 2021

It's an eMMC RPMB driver. Since it deals with DRM, it's a blob in an attempt to conceal its workings, but it's got all the symbols, so just drop it into Ghidra or something if you want to know how it works. It's not a configurable build option, so if you don't need it or it's causing you problems, remove it from the Makefile, and also make sure to update drivers/mmc/card/block.c to remove references to mmc_blk_emmc_add() and mmc_blk_emmc_remove(), or you'll get linking errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants