example cdev: use make_dev_sMake use of make_dev_s in the example cdev. While here, fix warnings.Reviewed by: rpokala
share and pc-sysinstall: adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual
share and pc-sysinstall: adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat 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 madesome nasty mistake. No functional change intended.
show more ...
Update share/examples/* to properly install /usr/share/examples.As result of this, a new examples package is now created.Note, this is only effective with 'SHARED=copies' (the default),as the 'S
Update share/examples/* to properly install /usr/share/examples.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 thesource tree version of the file(s).Sponsored by: The FreeBSD Foundation
share: minor spelling fixes.Mostly comments but these tend to be user-visible.MFC after: 2 weeks
NO_MAN= has been deprecated in favor of MAN= for some time, go aheadand finish the job. ncurses is now the only Makefile in the tree thatuses it since it wasn't a simple mechanical change, and will
NO_MAN= has been deprecated in favor of MAN= for some time, go aheadand finish the job. ncurses is now the only Makefile in the tree thatuses it since it wasn't a simple mechanical change, and will beaddressed in a future commit.
Conform style.Makefile(5) and replace = and += with ?=, which lets you tooverride WARNS.Reported by: <[email protected]> and uqs@
Include unistd.h for read(), write() and stdlib.h for exit().Bump WARNS to 5 while being here.
We don't have d_maj field in cdevsw structure anymore.
Start the dreaded NOFOO -> NO_FOO conversion.OK'ed by: core
According to module(9), when command is unrecognized, the module shouldreturn EOPNOTSUPP.
Update for struct cdevsw and dev_t -> struct cdev * changes, plus one64-bit portability fix.
Style.
Remove duplicate #include.PR: misc/67748Submitted by: bugghy <[email protected]>
Fix the cdev kld example.PR: 52954Submitted by: Priit Piipuu <[email protected]>Reviewed by: phk
Update the SUBDIR hacks to work with the current bsd.subdir.mk.
Update the KLD examples so they will work with current.Reviewed: jhb
Add `_PATH_DEVZERO'.Use _PATH_* where where possible.
Fix cdev kld example after it has been broken for year or so. Also extend listof supported operations by example read() and write() operations.Inspired by: http://www.daemonnews.org/200010/blue
Fix cdev kld example after it has been broken for year or so. Also extend listof supported operations by example read() and write() operations.Inspired by: http://www.daemonnews.org/200010/blueprints.htmlPR: 16173Submitted by: sobomax
$Id$ -> $FreeBSD$
* Tidy up a few things and fix some more warnings.* Change the devsw declaration to standard form and add missing fields* Change the filename from cdev_mod.ko to cdev.ko
Make this sample build again.
Sample modules for KLD.PR: misc/8621Submitted by: Rajesh Vaidheeswarran <[email protected]>