Konstantin Belousov
8284562954
Fix the syscall module name after r205320.
...
Submitted by: Vladislav Movchan <vladislav.movchan gmail com>
MFC after: 1 week
2010-06-15 09:30:36 +00:00
Wojciech A. Koszek
55f031bd90
Conform style.Makefile(5) and replace = and += with ?=, which lets you to
...
override WARNS.
Reported by: <marius@nuenneri.ch> and uqs@
2010-02-01 16:13:56 +00:00
Wojciech A. Koszek
d632071e0e
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.
2010-01-18 23:09:07 +00:00
Wojciech A. Koszek
6f31cdcdba
Include stdlib.h for exit(3) and unistd.h for syscall(2). This makes
...
this program to compile cleanly.
2010-01-18 23:04:38 +00:00
Pawel Jakub Dawidek
195ebc7e9e
Where if not in examples we should follow style(9)?
2009-06-03 09:28:58 +00:00
Kevin Lo
282a3889eb
Include the <sys/sysproto.h> header which includes the prerequisite header
...
for AUE_NULL.
Approved by: re (kensmith)
2007-07-22 06:48:34 +00:00
Ruslan Ermilov
1999b9bf80
Style.
2006-03-15 10:40:01 +00:00
Ruslan Ermilov
e653b48c80
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
Pawel Jakub Dawidek
74bf4e164b
According to module(9), when command is unrecognized, the module should
...
return EOPNOTSUPP.
2004-08-30 09:49:59 +00:00
Ruslan Ermilov
11f0b352e0
Update the SUBDIR hacks to work with the current bsd.subdir.mk.
2002-07-11 13:38:05 +00:00
Andrew R. Reiter
a220d00e74
Update the KLD examples so they will work with current.
...
Reviewed: jhb
2001-11-13 07:42:30 +00:00
Ruslan Ermilov
6990ffd8a9
Style.
2001-09-18 12:03:42 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Doug Rabson
bcb321b33e
Use modstat(2) to get the syscall number.
1999-01-09 15:03:06 +00:00
Doug Rabson
380a989b32
Replace the misc example with a simpler syscall example using the new
...
module registration hooks for syscalls.
Submitted by: Assar Westerlund <assar@sics.se>
1999-01-09 14:26:22 +00:00