A new system call added to the very feature rich Linux 5.6 kernel is openat2() for more extensible behavior compared to the existing openat() functionality.
The openat() system call has long existed as similar to open() but allowing relative paths to the directory stipulated by the passed file descriptor. With time trying to extend openat() has led to headaches for developers that is now made more extensible with openat2().