* Ingo Molnar (mingo@elte.hu) wrote:That would work for all system calls that doesn't have parameters like "const char __user *filename". Hrm, not sure about that : grep asmlinkage include/linux/syscalls.h|wc -l 321 grep -e asmlinkage.*__user include/linux/syscalls.h | wc -l 162 So about 50% of system calls have to get pointers from userspace. The goal of my second syscall table was to call callbacks to extract the __user parameters, nothing else, really. I currently extract the system call function names by iterating on the real system call table and by using kallsyms (it could be turned into a built-time extraction since the system call table is static to the kernel core). Yup. That's ok with me. Given we already have the syscall table, I am not sure we would need any supplementary debuginfo support. Plus, the syscall table gives us the mapping between the syscall number and the symbol of the system call function, which is exactly what we need. The only thing I dislike in my current approach is that I depend on kallsyms; it would be good to have the system call symbols without depending on it. Mathieu -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 --
| Alex Samad | page swap allocation error/failure in 2.6.25 |
| Bart Van Assche | Re: Integration of SCST in the mainstream Linux kernel |
| Andrea Arcangeli | [PATCH 06 of 11] rwsem contended |
| Chuck Ebbert | Why do so many machines need "noapic"? |
git: | |
| Andy Parkins | svn:externals using git submodules |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Marcus Griep | [PATCH] git-svn: Make it scream by minimizing temp files |
| Tommi Virtanen | [PATCH] "git shell" won't work, need "git-shell" |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Theo de Raadt | Re: Chatting with developers? Is it soo 1996? |
| Ted Unangst | Re: MAXDSIZ 1GB memory limit for process |
| Richard Stallman | Real men don't attack straw men |
| Denys Fedoryshchenko | Re: thousands of classes, e1000 TX unit hang |
| Suresh Siddha | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
| Simon Horman | Re: [PATCH] sendfile() and UDP socket |
| Jeff Garzik | Re: [PATCH] sky2: jumbo frame regression fix |
