make safe for user-land consumption.

This commit is contained in:
cgd 1994-05-05 06:34:18 +00:00
parent 36f4beef88
commit d14ddb730d

View File

@ -36,7 +36,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: lkm.h,v 1.2 1994/01/08 05:50:42 mycroft Exp $
* $Id: lkm.h,v 1.3 1994/05/05 06:34:18 cgd Exp $
*/
#ifndef _SYS_LKM_H_
@ -56,8 +56,12 @@ typedef enum loadmod {
#define LKM_VERSION 1 /* version of module loader*/
#define MAXLKMNAME 32
/****************************************************************************/
#ifdef KERNEL
/*
* Loadable system call
*/
@ -185,7 +189,6 @@ union lkm_all {
/*
* Per module information structure
*/
#define MAXLKMNAME 32
struct lkm_table {
int type;
unsigned long size;
@ -286,10 +289,10 @@ extern int nosys();
} \
return( lkmdispatch( lkmtp, cmd));
#endif /* KERNEL */
/****************************************************************************/
/*
* IOCTL's recognized by /dev/lkm
*/