Lind-Project / lind_project

Lind: Secure Lightweight Adaptive Isolation
https://hub.docker.com/r/securesystemslab/lind
Apache License 2.0
25 stars 8 forks source link

Refactor open() to remove TOCTTOU #343

Closed rennergade closed 10 months ago

rennergade commented 10 months ago

There seems to be a TOCTTOU in open() where we retrieve the inode a second time. We should only have to metawalk once and after that keep the inode open. Lets refactor the second one into the first.

I'll add some notes after discussing with @kuzeyardabulut

rennergade commented 10 months ago

Fixed by me and @RusherRG