On Wed, 11 May 2011, Will Drewry wrote:
> +void seccomp_filter_log_failure(int syscall)
> +{
> + printk(KERN_INFO
> + "%s[%d]: system call %d (%s) blocked at ip:%lx\n",
> + current->comm, task_pid_nr(current), syscall,
> + syscall_nr_to_name(syscall), KSTK_EIP(current));
> +}
I think it'd be a good idea to utilize the audit facility here.
- James
--
James Morris
<jmorris@namei.org>
|
| Previous by Date: | Re: [PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering, Ingo Molnar |
|---|---|
| Next by Date: | Re: [PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering, James Morris |
| Previous by Thread: | Re: [PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering, Frederic Weisbecker |
| Next by Thread: | Re: [PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering, Arnd Bergmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |