Home | History | Annotate | Download | only in common
History log of /src/sys/compat/linux/common/linux_blkio.c
RevisionDateAuthorComments
 1.18  08-Dec-2015  christos Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.
 1.17  21-Mar-2008  ad branches: 1.17.6; 1.17.48; 1.17.68;
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
 1.16  20-Dec-2007  dsl branches: 1.16.6;
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.
 1.15  19-Oct-2007  njoly branches: 1.15.4; 1.15.8;
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.
 1.14  04-Mar-2007  christos branches: 1.14.14; 1.14.16; 1.14.20;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.13  09-Feb-2007  ad branches: 1.13.2;
Merge newlock2 to head.
 1.12  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.11  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.10  11-Dec-2005  christos branches: 1.10.20; 1.10.22;
merge ktrace-lwp.
 1.9  29-Jun-2003  fvdl branches: 1.9.2; 1.9.18;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.8  28-Jun-2003  darrenr 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
 1.7  21-Mar-2003  dsl 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...)
 1.6  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.5  13-Nov-2001  lukem add RCSIDs (including regeneration of files as appropriate)
 1.4  14-Jun-2001  thorpej branches: 1.4.2;
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.
 1.3  18-Jan-2001  tv branches: 1.3.2; 1.3.4;
No-op commit to force update to a non-"-kk" revision.
 1.2  10-Jan-2001  fvdl branches: 1.2.2;
Correct copyright year.
 1.1  10-Jan-2001  fvdl Add some BLK* ioctl calls. Currently only the easy and useful ones
are implemented.
 1.2.2.2  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.2.2.1  10-Jan-2001  bouyer file linux_blkio.c was added on branch thorpej_scsipi on 2001-01-18 09:23:13 +0000
 1.3.4.2  30-Mar-2001  he Pull up revisions 1.1-1.3 (new, requested by fvdl):
Add some required Linux emulation bits to support the Linux
version of VMware.
 1.3.4.1  18-Jan-2001  he file linux_blkio.c was added on branch netbsd-1-5 on 2001-03-30 21:36:59 +0000
 1.3.2.3  29-May-2002  nathanw #include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)
 1.3.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.3.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.4.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.9.18.7  24-Mar-2008  yamt sync with head.
 1.9.18.6  21-Jan-2008  yamt sync with head
 1.9.18.5  27-Oct-2007  yamt sync with head.
 1.9.18.4  03-Sep-2007  yamt sync with head.
 1.9.18.3  26-Feb-2007  yamt sync with head.
 1.9.18.2  30-Dec-2006  yamt sync with head.
 1.9.18.1  21-Jun-2006  yamt sync with head.
 1.9.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.2.1  02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.10.22.2  10-Dec-2006  yamt sync with head.
 1.10.22.1  22-Oct-2006  yamt sync with head
 1.10.20.2  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.10.20.1  18-Nov-2006  ad Sync with head.
 1.13.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.14.20.1  25-Oct-2007  bouyer Sync with HEAD.
 1.14.16.2  09-Jan-2008  matt sync with HEAD
 1.14.16.1  06-Nov-2007  matt sync with HEAD
 1.14.14.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.15.8.1  02-Jan-2008  bouyer Sync with HEAD
 1.15.4.1  26-Dec-2007  ad Sync with head.
 1.16.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.17.68.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.17.48.1  03-Dec-2017  jdolecek update from HEAD
 1.17.6.2  14-May-2008  wrstuden Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
 1.17.6.1  10-May-2008  wrstuden Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

RSS XML Feed