I have a Nautilus/linux question.
Where is the boundary between the user-level and kernel-level code in the Nautilus source code? For example, when I double-click a text file, there is inevitably a call to sys_execve with '/usr/bin/gedit' as an argument. What if I wanted to dump a message in /var/log/syslog every time I double-clicked to execute an app? I know I can modify the kernel so that the execve system call does a 'printk', but what if I wanted to do it at the user-level?
Any pointers to relevant code/readme's will be greately appreciated!