History log of /freebsd-9.3-release/share/examples/kld/syscall/test/call.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 209199 15-Jun-2010 kib

Fix the syscall module name after r205320.

Submitted by: Vladislav Movchan <vladislav.movchan gmail com>
MFC after: 1 week


# 202602 18-Jan-2010 wkoszek

Small cleanup while being here:
- sort includes
- remove usage(), since it seems to come from older version
of the KLD
- remove unnecessary variable
- mark argc/argv as unused

Bring WARNS = 5 to the Makefile.


# 202601 18-Jan-2010 wkoszek

Include stdlib.h for exit(3) and unistd.h for syscall(2). This makes
this program to compile cleanly.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 42436 09-Jan-1999 dfr

Use modstat(2) to get the syscall number.


# 42434 09-Jan-1999 dfr

Replace the misc example with a simpler syscall example using the new
module registration hooks for syscalls.

Submitted by: Assar Westerlund <assar@sics.se>