Restricting path name lookup with openat2()
Restricting path name lookup with openat2()
Posted Sep 6, 2019 7:45 UTC (Fri) by polyp (guest, #53146)In reply to: Restricting path name lookup with openat2() by sbaugh
Parent article: Restricting path name lookup with openat2()
The system call overhead is probably hundreds of CPU cycles so why worry about maybe 5 cycles for allocating and populating a small constant-size structure on the stack? IMHO the gains in extensibility clearly outweigh the performance hit.
