Re:Landrun: Sandbox any Linux process using Landlock, no roo...
by mikedelfino on Sunday March 23, 2025 @08:52AM
(#43452563)
Could you please help me understand why exec is required for this touch example? Is it necessary to actually launch the touch binary? Or touch itself exec()s something else?
Re:Landrun: Sandbox any Linux process using Landlock, no roo...
by extraduder_ire on Sunday March 23, 2025 @01:51PM
(#43454519)
This might be related to needing execute permissions (filesystem x bit) on the directory to modify files within.
Re:Landrun: Sandbox any Linux process using Landlock, no roo...
by mikedelfino on Sunday March 23, 2025 @02:25PM
(#43454742)
Got it. I thought it had to do with execve() syscall.
either case have a look at latest release, it's a bit cleaner.