aboutsummaryrefslogtreecommitdiff
path: root/share/examples/kld/syscall
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-233-3/+0
| | | | | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/ Similar commit in main: (cherry picked from commit d0b2dbfa0ecf)
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-232-4/+0
| | | | | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit b3e7694832e8)
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-07-252-2/+2
| | | | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix (cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
* share and pc-sysinstall: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-272-0/+4
| | | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Commit these apart because compile testing doesn't guarantee I didn't made some nasty mistake. No functional change intended. Notes: svn path=/head/; revision=326275
* Update share/examples/* to properly install /usr/share/examples.Glen Barber2016-05-103-0/+6
| | | | | | | | | | | | | As result of this, a new examples package is now created. Note, this is only effective with 'SHARED=copies' (the default), as the 'SHARED=symlinks' mechanism will create a symlink to the source tree version of the file(s). Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299293
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* Fix typo.Gleb Smirnoff2013-07-171-1/+1
| | | | | | | Submitted by: ae Notes: svn path=/head/; revision=253421
* Improve example, so that it doesn't dump core when example moduleGleb Smirnoff2013-07-171-2/+6
| | | | | | | isn't loaded. Notes: svn path=/head/; revision=253420
* Fix the syscall module name after r205320.Konstantin Belousov2010-06-151-1/+1
| | | | | | | | Submitted by: Vladislav Movchan <vladislav.movchan gmail com> MFC after: 1 week Notes: svn path=/head/; revision=209199
* Conform style.Makefile(5) and replace = and += with ?=, which lets you toWojciech A. Koszek2010-02-011-1/+1
| | | | | | | | | override WARNS. Reported by: <marius@nuenneri.ch> and uqs@ Notes: svn path=/head/; revision=203349
* Small cleanup while being here:Wojciech A. Koszek2010-01-182-14/+6
| | | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=202602
* Include stdlib.h for exit(3) and unistd.h for syscall(2). This makesWojciech A. Koszek2010-01-181-0/+2
| | | | | | | this program to compile cleanly. Notes: svn path=/head/; revision=202601
* Where if not in examples we should follow style(9)?Pawel Jakub Dawidek2009-06-031-12/+8
| | | | Notes: svn path=/head/; revision=193374
* Include the <sys/sysproto.h> header which includes the prerequisite headerKevin Lo2007-07-221-0/+1
| | | | | | | | | for AUE_NULL. Approved by: re (kensmith) Notes: svn path=/head/; revision=171536
* Style.Ruslan Ermilov2006-03-151-2/+2
| | | | Notes: svn path=/head/; revision=156733
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+2
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* According to module(9), when command is unrecognized, the module shouldPawel Jakub Dawidek2004-08-301-1/+1
| | | | | | | return EOPNOTSUPP. Notes: svn path=/head/; revision=134520
* Update the SUBDIR hacks to work with the current bsd.subdir.mk.Ruslan Ermilov2002-07-111-4/+2
| | | | Notes: svn path=/head/; revision=99771
* Update the KLD examples so they will work with current.Andrew R. Reiter2001-11-131-1/+1
| | | | | | | Reviewed: jhb Notes: svn path=/head/; revision=86316
* Style.Ruslan Ermilov2001-09-181-13/+3
| | | | Notes: svn path=/head/; revision=83608
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Use modstat(2) to get the syscall number.Doug Rabson1999-01-091-6/+7
| | | | Notes: svn path=/head/; revision=42436
* Replace the misc example with a simpler syscall example using the newDoug Rabson1999-01-095-0/+171
module registration hooks for syscalls. Submitted by: Assar Westerlund <assar@sics.se> Notes: svn path=/head/; revision=42434