Skip to content

Commit eb164cc

Browse files
committed
security: run kconfig for each /boot/config- file
1 parent 46ef6fe commit eb164cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hooks/security.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def __init__(self, parameters):
4040
self.kconfig = str(self.KCONFIG_BIN)
4141

4242
self.context.subscribe('filesystem_new_file_mime', self.check_file)
43+
self.context.subscribe('filesystem_new_file', self.kconfig_check)
4344

4445
def check_file(self, event):
4546
filepath = event.filepath

0 commit comments

Comments
 (0)