I need to know how does GNOME/Nautilus mounts a network shares (like smb://-shares through Nautilus), what syscalls it calls to it.
I setted up __NR_mount syscall hook in kernel, but it never calls. So, Nautilus calls something else. But what? If I try to mount my share through a 'mount -t cifs', my hook executes, but if I mount it from Nautilus, it doesn't.
My goal is kernel filtering of network shares mounting by hooking syscalls in my kernel module.
I've tried to found it in gvfs-mount and Nautilus sources, but without any result. So, where can I find some information about it or what exactly syscalls Nautilus performs to mount network shares?