On Fri, 3 May 2024, Fan Wu wrote: > This patch adds a target finalize hook. > > The hook is triggered just before activating an inactive table of a > mapped device. If it returns an error the __bind get cancelled. > > The dm-verity target will use this hook to attach the dm-verity's > roothash metadata to the block_device struct of the mapped device. > > Signed-off-by: Fan Wu <[email protected]> Hi Why not use the preresume callback? Is there some reason why do we need a new callback instead of using the existing one? Mikulas
- [PATCH v18 00/21] Integrity Policy Enforcement LSM (IPE) Fan Wu
- [PATCH v18 03/21] ipe: add evaluation loop Fan Wu
- [PATCH v18 01/21] security: add ipe lsm Fan Wu
- [PATCH v18 04/21] ipe: add LSM hooks on execution and... Fan Wu
- [PATCH v18 02/21] ipe: add policy parser Fan Wu
- [PATCH v18 05/21] initramfs|security: Add a security ... Fan Wu
- [PATCH v18 07/21] security: add new securityfs delete... Fan Wu
- [PATCH v18 06/21] ipe: introduce 'boot_verified' as a... Fan Wu
- [PATCH v18 08/21] ipe: add userspace interface Fan Wu
- [PATCH v18 12/21] dm: add finalize hook to target_typ... Fan Wu
- Re: [PATCH v18 12/21] dm: add finalize hook to ta... Mikulas Patocka
- Re: [PATCH v18 12/21] dm: add finalize hook t... Fan Wu
- Re: [PATCH v18 12/21] dm: add finalize ho... Mikulas Patocka
- Re: [PATCH v18 12/21] dm: add finali... Fan Wu
- Re: [PATCH v18 12/21] dm: add fi... Mikulas Patocka
- [PATCH v18 11/21] block,lsm: add LSM blob and new LSM... Fan Wu
- [PATCH v18 10/21] ipe: add permissive toggle Fan Wu
- [PATCH v18 16/21] fsverity: expose verified fsverity ... Fan Wu
- [PATCH v18 15/21] security: add security_inode_setint... Fan Wu
