History log of /netbsd/sys/compat/ultrix/ultrix_ioctl.c (Results 1 – 25 of 40)
Revision Date Author Comments
# dbd9af58 09-Feb-2022 andvar <andvar@NetBSD.org>

fix various typos in comments.


# d50c96bb 07-Sep-2021 riastradh <riastradh@NetBSD.org>

sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it awa

sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

show more ...


# a4b99775 23-Apr-2019 msaitoh <msaitoh@NetBSD.org>

KNF. No functional change.


# b58cbc34 08-Oct-2016 maxv <maxv@NetBSD.org>

Uninitialized var, found by mootja; not tested, but obvious enough


# e110dba5 14-Dec-2009 matt <matt@NetBSD.org>

Merge from matt-nb5-mips64


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

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


# 95a19579 05-Jan-2008 dsl <dsl@NetBSD.org>

Use FILE_LOCK() and FILE_UNLOCK().
Attempt to fix all the code paths so that the 'fp' returned by fd_getfile()
isn't left locked, and is always unlocked (and ref-counted) before
doing anything that m

Use FILE_LOCK() and FILE_UNLOCK().
Attempt to fix all the code paths so that the 'fp' returned by fd_getfile()
isn't left locked, and is always unlocked (and ref-counted) before
doing anything that might sleep.

show more ...


# c9a64311 27-Dec-2007 christos <christos@NetBSD.org>

make this compile again.


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


# 8f77cc1c 01-Jun-2007 he <he@NetBSD.org>

Fallout from the interface ioctl changes:

OSIOCGIFADDR -> OOSIOCGIFADDR
OSIOCGIFDSTADDR -> OOSIOCGIFDSTADDR
OSIOCGIFNETMASK -> OOSIOCGIFNETMASK

Also, one instance of needing to include <net/if.h> b

Fallout from the interface ioctl changes:

OSIOCGIFADDR -> OOSIOCGIFADDR
OSIOCGIFDSTADDR -> OOSIOCGIFDSTADDR
OSIOCGIFNETMASK -> OOSIOCGIFNETMASK

Also, one instance of needing to include <net/if.h> before
<compat/sys/sockio.h> due to use of IFNAMSIZ in the latter.

Discussed with christos.

show more ...


# 20bfd989 29-May-2007 christos <christos@NetBSD.org>

Add a sockaddr_storage member to "struct ifreq" maintaining backwards
compatibility with the older ioctls. This avoids stack smashing and
abuse of "struct sockaddr" when ioctls placed "struct sockadd

Add a sockaddr_storage member to "struct ifreq" maintaining backwards
compatibility with the older ioctls. This avoids stack smashing and
abuse of "struct sockaddr" when ioctls placed "struct sockaddr_foo's" that
were longer than "struct sockaddr".
XXX: Some of the emulations might be broken; I tried to add code for
them but I did not test them.

show more ...


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

Merge newlock2 to head.


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

merge ktrace-lwp.


# 8aa146ce 01-Jun-2005 drochner <drochner@NetBSD.org>

avoid shadow warnings


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

nuke trailing whitespace


# 22120ad6 25-Apr-2004 matt <matt@NetBSD.org>

Constify the speedtab arrays


# b81e6f2e 21-Apr-2004 simonb <simonb@NetBSD.org>

ANSIfy, some KNF.


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


# 0a144cd9 29-Jun-2003 simonb <simonb@NetBSD.org>

Fix 'struct lwp *' lossage.


# 7218f10c 07-May-2003 christos <christos@NetBSD.org>

sort the ioctl's so we can see what we've implemented and what we have not.


# 60418b39 21-Mar-2003 dsl <dsl@NetBSD.org>

Change 'data' argument to fo_ioctl and fo_fcntl from 'caddr_t' to 'void *'.
Avoids a lot of casting and removes the need for some line breaks.
Removed a load of (caddr_t) casts from calls to copyin/c

Change 'data' argument to fo_ioctl and fo_fcntl from 'caddr_t' to 'void *'.
Avoids a lot of casting and removes the need for some line breaks.
Removed a load of (caddr_t) casts from calls to copyin/copyout as well.
(approved by christos - he has a plan to remove caddr_t...)

show more ...


# 71f181a9 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


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


12