History log of /freebsd-10.1-release/share/examples/kld/syscall/test/call.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

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

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

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


# 253421 17-Jul-2013 glebius

Fix typo.

Submitted by: ae


# 253420 17-Jul-2013 glebius

Improve example, so that it doesn't dump core when example module
isn't loaded.


# 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>