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

Commit e9b429dd authored by Amir Samuelov's avatar Amir Samuelov
Browse files

pft: add allow_merge_bio() hook when PFT is LSM



When PFT is the chosen-LSM (Linux Security Module) ,
and it registers to the Security-Framework,
it should provide the allow_merge_bio() callback hook.

Change-Id: I2c98536828476fc79ecaf59a2e21c19b530bd3d9
Signed-off-by: default avatarAmir Samuelov <amirs@codeaurora.org>
parent 0396aa30
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -201,6 +201,8 @@ static struct security_operations pft_security_ops = {
	.file_open		= pft_file_open,
	.file_permission	= pft_file_permission,
	.file_close		= pft_file_close,

	.allow_merge_bio	= pft_allow_merge_bio,
};

static int __init pft_lsm_init(struct pft_device *dev)