[RFC][PATCH] (#7U4) file system auditing by location and name

David Woodhouse dwmw2 at infradead.org
Sat May 7 22:52:31 UTC 2005


On Sat, 2005-05-07 at 18:40 -0400, Steve Grubb wrote:
> +#ifdef CONFIG_AUDITSYSCALL
>                 err = audit_list_watches(pid, seq);
> +#else
> +               err = -EOPNOTSUPP;
> +#endif

Don't do this kind of thing. Just make audit_list_watches() return
-EOPNOTSUPP in the !CONFIG_AUDITSYSCALL case.

-- 
dwmw2




More information about the Linux-audit mailing list