History log of /netbsd-src/sys/compat/linux/common/linux_ioctl.c (Results 26 – 50 of 60)
Revision Date Author Comments
# 960df3c8 28-Jun-2003 darrenr <darrenr@NetBSD.org>

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various fu

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

show more ...


# 9d352b5c 23-Jun-2003 christos <christos@NetBSD.org>

PR/21936: Todd Vierling: ioctl 'r' misinterpreted


# 5879a5dc 20-Jun-2003 christos <christos@NetBSD.org>

PR/21936: Todd Vierling: compat/linux: ioctl 'r' misinterpreted


# da8d9f98 27-Feb-2003 yamt <yamt@NetBSD.org>

make compat_linux struct file interlock friendly.


# 46141a31 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# 8465b6a9 22-Oct-2002 simonb <simonb@NetBSD.org>

Don't call cdevsw_lookup() with an uninitialised variable in
linux_sys_ioctl().


# 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 ...


# dab6ef8b 13-Nov-2001 lukem <lukem@NetBSD.org>

add RCSIDs (including regeneration of files as appropriate)


# 80cc38a1 14-Jun-2001 thorpej <thorpej@NetBSD.org>

Fix a partial construction problem that can cause race conditions
between creation of a file descriptor and close(2) when using kernel
assisted threads. What we do is stick descriptors in the table,

Fix a partial construction problem that can cause race conditions
between creation of a file descriptor and close(2) when using kernel
assisted threads. What we do is stick descriptors in the table, but
mark them as "larval". This causes essentially everything to treat
it as a non-existent descriptor, except for fdalloc(), which sees a
filled slot so that it won't (incorrectly) allocate it again. When
a descriptor is fully constructed, the code that has constructed it
marks it as "mature" (which actually clears the "larval" flag), and
things continue to work as normal.

While here, gather all the code that gets a descriptor from the table
into a fd_getfile() function, and call it, rather than having the
same (sometimes incorrect) code copied all over the place.

show more ...


# 6a89288a 30-May-2001 mrg <mrg@NetBSD.org>

use _KERNEL_OPT.


# d772be16 10-Jan-2001 fvdl <fvdl@NetBSD.org>

Declare linux_ioctl_blkio and call it from the main routine.


# a499e569 10-Dec-2000 fvdl <fvdl@NetBSD.org>

Add some ioctls for harddisk, floppy disk and console handling.
Implement a few extra cdrom ioctl calls.
Make sure to correctly use FILE_USE and FILE_UNUSE.


# 73f3cd8c 29-Nov-2000 jdolecek <jdolecek@NetBSD.org>

LKMify


# 57186cce 15-Dec-1998 augustss <augustss@NetBSD.org>

Slight code rearrangement and more defensive tests for the sequencer device.


# 8096c25a 04-Oct-1998 fvdl <fvdl@NetBSD.org>

Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.


# 908291d2 03-Oct-1998 christos <christos@NetBSD.org>

Attempt to fix the mess.


# f7ec9947 01-Oct-1998 erh <erh@NetBSD.org>

Move compat/linux/linux_ioctl.c to common.


# 48bae9ee 07-Aug-1998 augustss <augustss@NetBSD.org>

Add MIDI support. The MIDI devices can be accessed as ``raw'' through
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port

Add MIDI support. The MIDI devices can be accessed as ``raw'' through
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).

show more ...


# 05d3f8a2 15-Jan-1998 christos <christos@NetBSD.org>

PR/4794: Urban Boquist: Linux cdrom ioctls are missing


# 32801cf3 04-Apr-1997 augustss <augustss@NetBSD.org>

* Move the Linux audio emulation into its own directory and rename it
OSS (aka VoxWare) audio emulation.
* Use the OSS audio emulation for Linux and FreeBSD.
* Add mixer emulation to the OSS emulat

* Move the Linux audio emulation into its own directory and rename it
OSS (aka VoxWare) audio emulation.
* Use the OSS audio emulation for Linux and FreeBSD.
* Add mixer emulation to the OSS emulator.

show more ...


# eb41ccd5 19-Mar-1997 mycroft <mycroft@NetBSD.org>

Emulate the SOUND_PCM_WRITE_CHANNELS ioctl. From PR 3356, by Lennart
Augustsson. Also add hooks for mixer ioctls.


# 151fa70f 05-Apr-1996 christos <christos@NetBSD.org>

Prototyping changes.


# 6bc0baa1 08-Mar-1996 mycroft <mycroft@NetBSD.org>

Separate ioctl emulation by group. Add (minimal) audio emulation.


# 5cdb5e8e 27-Feb-1996 mycroft <mycroft@NetBSD.org>

Map SIOCGIFFLAGS and SIOCGIFADDR (et al).


# 48ec0383 27-Feb-1996 mycroft <mycroft@NetBSD.org>

Use OSIOCGIFCONF in previous.


123