Date: Wed, 22 Jan 2014 23:38:36 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: current@freebsd.org Subject: any use for sys/sys/selinfo.h outside the kernel ? Message-ID: <20140122223836.GA292@onelab2.iet.unipi.it>
next in thread | raw e-mail | index | archive | help
Looking at sys/sys/selinfo.h i see that parts of it are in #ifdef _KERNEL ... #endif but it seems to me that also the remaining content (definition of struct selinfo) is only of use within the kernel -- or possibly to programs who want to peek into kmem. So i wonder, does it make sense to have the #ifdef _KERNEL guard at all, or should we push it to the entire content of the file ? Same goes probably for other files in sys/sys describing kernel data structures, e.g. sys/sys/socketvar.h etc. cheers luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140122223836.GA292>