]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: add file_remove() function to undo file_insert_tail().
authortsoome <tsoome@FreeBSD.org>
Sun, 7 Apr 2019 13:36:17 +0000 (13:36 +0000)
committertsoome <tsoome@FreeBSD.org>
Sun, 7 Apr 2019 13:36:17 +0000 (13:36 +0000)
commitc3adce9014300cfb657486c240afbce421c7c079
treec4c1de7356f9289ae5bfedf63c4db62f6d46c6d5
parenta1f406478daaa6d72d9d2e1ca715436086ca0ffa
loader: add file_remove() function to undo file_insert_tail().

346002 did miss the fact that we do not only undo the loadaddr, but also
we need to remove the inserted module. Implement file_remove() to do the job.

MFC after: 1w
stand/common/module.c