Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 11:56:41 +0200 (CEST)
From:      Dirk Gouders <gouders@et.bocholt.fh-ge.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/84790: Error in SYSCALL_MODULE(9) manual page
Message-ID:  <200508110956.j7B9uf2v077266@musashi.et.bocholt.fh-gelsenkirchen.de>
Resent-Message-ID: <200508111000.j7BA0cUW091727@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         84790
>Category:       docs
>Synopsis:       Error in SYSCALL_MODULE(9) manual page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 11 10:00:38 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Gouders
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
FH Gelsenkirchen, Abt. Bocholt
>Environment:
System: FreeBSD musashi.et.bocholt.fh-gelsenkirchen.de 4.11-STABLE FreeBSD 4.11-STABLE #6: Fri Aug 5 12:54:25 CEST 2005 root@musashi.et.bocholt.fh-gelsenkirchen.de:/usr/src/sys/compile/MUSASHI i386


	
>Description:
	The third parameter of the SYSCALL_MODULE macro is a pointer to a
    sysent structure and not the sysent structure itself.
>How-To-Repeat:
	man SYSCALL_MODULE
>Fix:

	--- SYSCALL_MODULE.9.orig       Mon Dec 17 12:30:18 2001
    +++ SYSCALL_MODULE.9    Thu Aug 11 11:46:34 2005
    @@ -38,7 +38,7 @@
     .In sys/proc.h
     .In sys/module.h
     .In sys/sysent.h
    -.Fn SYSCALL_MODULE name "int *offset" "struct sysent new_sysent" "modeventhand_t evh" "void *arg"
    +.Fn SYSCALL_MODULE name "int *offset" "struct sysent *new_sysent" "modeventhand_t evh" "void *arg"
     .Sh DESCRIPTION
     The
     .Fn SYSCALL_MODULE
    @@ -56,8 +56,8 @@
     syscall is allocated.
     .Pp
     .Fa new_sysent
    -specifies the function implementing the syscall and the number of
    -arguments this function needs (see
    +is a pointer to a structure that specifies the function implementing
    +the syscall and the number of arguments this function needs (see
     .Aq Pa sys/sysent.h ) .
     .Pp
     .Fa evh


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508110956.j7B9uf2v077266>