#
aece7a90 |
| 06-Sep-2005 |
kleink <kleink@NetBSD.org> |
Change the driver open function's conditional for overriding exclusive tty use from checking the proc's uid to suser(9), and account for the use of privileges. Noted by David Holland in PR kern/3112
Change the driver open function's conditional for overriding exclusive tty use from checking the proc's uid to suser(9), and account for the use of privileges. Noted by David Holland in PR kern/31126.
show more ...
|
#
803a5ae1 |
| 13-Jun-2005 |
jmc <jmc@NetBSD.org> |
Fix a ton of const/volatile issues shown with new warning flags
|
#
22120ad6 |
| 25-Apr-2004 |
matt <matt@NetBSD.org> |
Constify the speedtab arrays
|
#
21f2c02f |
| 28-Mar-2004 |
mhitch <mhitch@NetBSD.org> |
Remove license clauses 3 and 4 in my licenses.
|
#
aad01611 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
e0cc03a0 |
| 23-Oct-2002 |
jdolecek <jdolecek@NetBSD.org> |
merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes
merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
show more ...
|
#
c5e91d44 |
| 02-Oct-2002 |
thorpej <thorpej@NetBSD.org> |
Use CFATTACH_DECL().
|
#
9a711d69 |
| 27-Sep-2002 |
thorpej <thorpej@NetBSD.org> |
Declare all cfattach structures const.
|
#
77a6b82b |
| 06-Sep-2002 |
gehenna <gehenna@NetBSD.org> |
Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant st
Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
show more ...
|
#
31144d99 |
| 17-Mar-2002 |
atatat <atatat@NetBSD.org> |
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
show more ...
|
#
f12a3476 |
| 17-Feb-2002 |
veego <veego@NetBSD.org> |
Add a missing ) from an 6 year old cleanup commit (rev 1.10): s/sizeof(struct mfcp_softc,/sizeof(struct mfcp_softc),/ Noticed by Nagilum on irc.
|
#
1ea4df81 |
| 28-Jan-2002 |
aymeric <aymeric@NetBSD.org> |
add __KERNEL_RCSID as suggested by Luke Mewburn
|
#
9382c873 |
| 26-Jan-2002 |
aymeric <aymeric@NetBSD.org> |
- ANSIfy - remove some trailing spaces/tabs - minor style nits
|
#
d84d2c6c |
| 30-May-2001 |
lukem <lukem@NetBSD.org> |
add missing #include "opt_kgdb.h"
|
#
2963ff5c |
| 02-May-2001 |
scw <scw@NetBSD.org> |
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
|
#
032ced3b |
| 13-Jan-2001 |
aymeric <aymeric@NetBSD.org> |
Make these compile again, plus minor aesthetic changes.
|
#
bc736332 |
| 02-Nov-2000 |
eeh <eeh@NetBSD.org> |
Adapt to new line discipline scheme.
|
#
b741e970 |
| 01-Sep-1998 |
mhitch <mhitch@NetBSD.org> |
Quick fix for TS_WOPEN -> t_wopen change. Compiles and works.
|
#
0b6e56ec |
| 12-Jan-1998 |
thorpej <thorpej@NetBSD.org> |
Adjust for changes to config.
|
#
94b63124 |
| 23-Dec-1996 |
veego <veego@NetBSD.org> |
Get rid of __BROKEN_INDIRECT_CONFIG.
|
#
ca36ac9e |
| 13-Oct-1996 |
christos <christos@NetBSD.org> |
backout previous kprintf change
|
#
94683385 |
| 10-Oct-1996 |
christos <christos@NetBSD.org> |
printf -> kprintf, sprintf -> ksprintf
|
#
b3eac79b |
| 02-Sep-1996 |
mycroft <mycroft@NetBSD.org> |
tty stop functions really should return void, not int, and certainly not both.
|
#
2a73ef60 |
| 27-Aug-1996 |
cgd <cgd@NetBSD.org> |
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could bec
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
show more ...
|
#
c16e87c7 |
| 06-Jun-1996 |
mhitch <mhitch@NetBSD.org> |
Add tty_attach() calls for pstat -t. Closes PR #2519
|