Where is getname () defined
Vulturus <[email protected]> Fri, 29 Aug 2025 18:43:32 +0000
| Newsgroups | org.kernelnewbies.kernelnewbies |
|---|---|
| Message-ID | <qukCzdjDLoqkaHsa2aeBhlihEgme6QpGzexwP4iKf-iH3GsJrw_IzyDWIQZUR385k9DolvaqYFAJjWfTEnSB1uXZXGHIm199g29gvFOdVhk=@vulturus.xyz> |
Dear kernelnewbies subscribers, I was reading the kernel source tree in an attempt to understand how the chroot syscall workes. (I was using the linux-6.17-rc3 tarball from kernel.org.) At line 1429 of the fs/open.c file, inside the definition of the do_sys_openat2() function getname() is called. I am having trouble finding its definition. In particular, $ grep -rn 'getname' fs doesn't return a line like 'struct file *getname (args)' or similar, as I would expect. Can someone point me to the file/line where getname() is defined? Thank you, Vulturus _______________________________________________ Kernelnewbies mailing list [email protected] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies