Re: [patch 7/7] fdinfo: Show sigmask for signalfd fd v2

From: Andrew Morton
Date: Mon Nov 12 2012 - 20:05:07 EST


On Mon, 12 Nov 2012 14:14:47 +0400
Cyrill Gorcunov <gorcunov@xxxxxxxxxx> wrote:

>
> ...
>
> --- linux-2.6.git.orig/include/linux/proc_fs.h
> +++ linux-2.6.git/include/linux/proc_fs.h
> @@ -290,4 +290,7 @@ static inline struct net *PDE_NET(struct
> return pde->parent->data;
> }
>
> +#include <asm/signal.h>
> +
> +void render_sigset_t(struct seq_file *m, const char *header, sigset_t *set);
> #endif /* _LINUX_PROC_FS_H */

hm. Are you sure asm/signal.h is the way to get sigset_t? "grep -l
sigset_t arch/*/include/asm/signal.h" is unpromising and
kernel/signal.c doesn't do it this way?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/