History log of /netbsd-src/sys/compat/linux/common/linux_ioctl.c (Results 1 – 25 of 60)
Revision Date Author Comments
# eab38032 01-Oct-2024 riastradh <riastradh@NetBSD.org>

sys/compat/linux/common: Nix trailing whitespace, and one blank line.

No functional change intended.


# 185d6cd7 19-Sep-2021 thorpej <thorpej@NetBSD.org>

Add the timerfd syscalls to COMPAT_LINUX and COMPAT_LINUX32.


# 39aea573 23-Mar-2014 dholland <dholland@NetBSD.org>

typos in comments


# f2b31f39 19-Sep-2012 bouyer <bouyer@NetBSD.org>

Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls

Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.

show more ...


# 2cc7a01f 14-Oct-2011 hannken <hannken@NetBSD.org>

Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock. Make all calls outside of file systems respect it.

The calls from file systems need review.

No objections from

Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock. Make all calls outside of file systems respect it.

The calls from file systems need review.

No objections from tech-kern.

show more ...


# a9b5dcaa 19-Jul-2008 jmcneill <jmcneill@NetBSD.org>

ioctl compatibility for v4l2 and drm


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# a9ca7a37 21-Mar-2008 ad <ad@NetBSD.org>

Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.


# 7e2790cf 20-Dec-2007 dsl <dsl@NetBSD.org>

Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code

Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

show more ...


# 28bae79b 08-Dec-2007 dsl <dsl@NetBSD.org>

ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...


# 61e8303e 26-Nov-2007 pooka <pooka@NetBSD.org>

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp shoul

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

show more ...


# a478f23b 19-Oct-2007 njoly <njoly@NetBSD.org>

Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.


# 8e418a4b 16-Jun-2007 dsl <dsl@NetBSD.org>

Delete stuff in comment about use of stackgap.


# 53524e44 04-Mar-2007 christos <christos@NetBSD.org>

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.


# b07ec3fc 09-Feb-2007 ad <ad@NetBSD.org>

Merge newlock2 to head.


# f474dceb 23-Jul-2006 ad <ad@NetBSD.org>

Use the LWP cached credentials where sane.


# 874fef37 14-May-2006 elad <elad@NetBSD.org>

integrate kauth.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 18d6a304 28-Feb-2005 soren <soren@NetBSD.org>

Emulate basic mtio ioctls.


# 477853c3 26-Feb-2005 perry <perry@NetBSD.org>

nuke trailing whitespace


# d3b9209d 03-Feb-2005 christos <christos@NetBSD.org>

Add linux scsi-generic to work for simple cases. Allows gendalia's change
to limp along. From soren with fixes from me.


# 6c4915e3 03-Jun-2004 yamt <yamt@NetBSD.org>

linux_sys_ioctl: map EPASSTHROUGH to EINVAL as sys_ioctl does.
otherwise, linux_syscall() returns garbage, at least on i386.
(it returns native_to_linux_errno[EPASSTHROUGH] where EPASSTHROUGH == -4.)

linux_sys_ioctl: map EPASSTHROUGH to EINVAL as sys_ioctl does.
otherwise, linux_syscall() returns garbage, at least on i386.
(it returns native_to_linux_errno[EPASSTHROUGH] where EPASSTHROUGH == -4.)

i choose EINVAL rather than ENOTTY, because linux's pipe returns it
and i think that it's a common case.

show more ...


# d5aece61 29-Jun-2003 fvdl <fvdl@NetBSD.org>

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.


# 618a0ff6 29-Jun-2003 enami <enami@NetBSD.org>

Redo previous; struct proc *p is necessary if NSEQUENCER is non zero.


# 63d28e64 28-Jun-2003 bouyer <bouyer@NetBSD.org>

Kill unused variable.


123