Skip to content

Commit f097734

Browse files
committed
filesystem: update inode security properties
1 parent 9e11fed commit f097734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hooks/filesystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,10 +456,10 @@ def process_checksec_file(self, event):
456456
inode = event.inode
457457
checksec_file = event.checksec_file
458458
self.fs[str(inode.path)].checksec = True
459-
self.fs[str(inode.path)].relro = checksec_file.relro
459+
self.fs[str(inode.path)].relro = checksec_file.relro.name
460460
self.fs[str(inode.path)].canary = checksec_file.canary
461461
self.fs[str(inode.path)].nx = checksec_file.nx
462-
self.fs[str(inode.path)].pie = checksec_file.pie
462+
self.fs[str(inode.path)].pie = checksec_file.pie.name
463463
self.fs[str(inode.path)].rpath = checksec_file.rpath
464464
self.fs[str(inode.path)].runpath = checksec_file.runpath
465465
self.fs[str(inode.path)].symbols = checksec_file.symbols

0 commit comments

Comments
 (0)