git: syscall.9: Add some missing info and fix outdated contents

Aaron LI aly at crater.dragonflybsd.org
Wed Jan 20 06:06:02 PST 2021


commit ea735b6bba3e51e320d1c3b1077a0d5ab7ae4a10
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jan 19 22:41:43 2021 +0800

    syscall.9: Add some missing info and fix outdated contents
    
    * Update the syscall decleration (in syscalls.master) and generated
      prototype (in sysproto.h) examples to match the current syntax.
    * Fix 'uap->sysmsg_result' to 'sysmsg->sysmsg_result', and be explicit
      that the function need to return 0 when the default 'sysmsg_result' is
      updated.
    * Don't mention the 'SCARG' macro (to extract syscall argument) since
      it's now seldomly used in our codebase.  (Syscall argument can be
      intuitively extracted by 'uap->arg'.)
    * Add a paragraph to describe the symbol exportation in libc via the
      'libc/sys/Symbol.map' file.
    * Mention the syscall entry point in the kernel a bit.
    * Add 'sys/sys/sysmsg.h' and 'sys/sys/sysunion.h' to the FILES section,
      while remove the obsolete 'sys/kern/syscalls.conf' (already folded
      into makesyscalls.sh).
    * Some minor formatting and wording tweaks.
    
    Reviewed-by: swildner

Summary of changes:
 share/man/man9/syscall.9 | 83 ++++++++++++++++++++++++++++++++----------------
 1 file changed, 56 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ea735b6bba3e51e320d1c3b1077a0d5ab7ae4a10


-- 
DragonFly BSD source repository



More information about the Commits mailing list