summaryrefslogtreecommitdiffstats
path: root/sbin/devfs/rule.c
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixes for sbin/uqs2012-01-071-1/+1
|
* Add missing static keywords for global variables to tools in sbin/.ed2011-11-041-1/+1
| | | | | | These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
* o Typo in the error message: s/invald/invalid.maxim2006-01-051-1/+1
| | | | | PR: misc/91341 Submitted by: Guy Harris
* Remove filtering on major device number. These are assigned randomlyphk2005-02-271-8/+0
| | | | | these days so filtering on them makes no sense other than as a foot-shooting device.
* Parse file mode with setmode(3) for consistency with other programsdd2004-11-061-11/+7
| | | | that do this kind of thing.
* Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-221-1/+1
| | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
* Nuke whitespace at EOL.dd2002-07-281-1/+1
|
* What we're actually passing around is an ioctl request, not a command,dd2002-07-281-3/+3
| | | | and it's an unsigned long, not an int.
* Implement this (quoted from the updated man page): If the first tokendd2002-07-281-8/+63
| | | | | of a rule specification is a single dash (``-''), rules are read from the standard input and the rest of the specification is ignored.
* Introduce the DEVFS "rule" subsystem. DEVFS rules permit thedd2002-07-171-0/+419
administrator to define certain properties of new devfs nodes before they become visible to the userland. Both static (e.g., /dev/speaker) and dynamic (e.g., /dev/bpf*, some removable devices) nodes are supported. Each DEVFS mount may have a different ruleset assigned to it, permitting different policies to be implemented for things like jails. Approved by: phk
OpenPOWER on IntegriCloud