Home | History | Annotate | Download | only in arm
History log of /src/sys/compat/linux/arch/arm/linux_commons.c
RevisionDateAuthorComments
 1.14  12-Oct-2021  andvar fix various typos, mainly in comments.
 1.13  03-May-2020  thorpej Always clear FUTEX_PRIVATE_FLAG for Linux processes. NetBSD-native futexes
exist in different namespace depending on FUTEX_PRIVATE_FLAG. This appears
not to be the case in Linux, and some futex users will mix private and non-
private ops on the same futex object. Provide a convenience wrapper that
puts this logic in one place witn a comment explaining why.

While here, move the Linux futex wrapper out of its own file and plop
it in linux_misc.c, which is where it lives in the linux32 module.
 1.12  31-May-2011  njoly Fix path for fadvise64 files.
 1.11  30-May-2011  alnsn Add fadvise64 and fadvise64_64 syscalls to compat_linux and compat_linux32.
 1.10  07-Jul-2010  chs branches: 1.10.2;
many changes for COMPAT_LINUX:
- update the linux syscall table for each platform.
- support new-style (NPTL) linux pthreads on all platforms.
clone() with CLONE_THREAD uses 1 process with many LWPs
instead of separate processes.
- move the contents of sys__lwp_setprivate() into a new
lwp_setprivate() and use that everywhere.
- update linux_release[] and linux32_release[] to "2.6.18".
- adjust placement of emul fork/exec/exit hooks as needed
and adjust other emul code to match.
- convert all struct emul definitions to use named initializers.
- change the pid allocator to allow multiple pids to refer to the same proc.
- remove a few fields from struct proc that are no longer needed.
- disable the non-functional "vdso" code in linux32/amd64,
glibc works fine without it.
- fix a race in the futex code where we could miss a wakeup after
a requeue operation.
- redo futex locking to be a little more efficient.
 1.9  02-Mar-2010  pooka branches: 1.9.2;
Nuke fs_lfs.h included for unknown reasons (if there was a reason
other than "accident", i hereby declare that reason invalid)
 1.8  19-Nov-2008  ad branches: 1.8.6;
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
 1.7  02-Feb-2008  dsl branches: 1.7.6; 1.7.10; 1.7.12; 1.7.16; 1.7.18;
Extract the fcntl64() suppoort from linux_file64.c into linux_fcntl64.c
Unravel some of the knots that caused linux_file64.c to be compiled twice
for an amd64 kernel (once for linux and once for linux32) with different
parts being skipped each time.
 1.6  15-Jan-2008  njoly compat linux (and linux32) uid16 functions cleanup and fixes.

- Move uid16 functions to their own file linux_uid16.c, included by
needed archs (arm, i386 and m68k).
- Add new MI types linux_{u,g}id16_t.
- Add macros to handle linux_uid16_t and uid_t conversions.
- Add linux_sys_getres{uid,gid}16 syscalls, to fix an overflow with
bad sizes given to copyout when linux_sys_getres{uid,gid} are used.
- Update arm syscall table to use more uid16 functions.
 1.5  15-Aug-2007  ad branches: 1.5.2; 1.5.8; 1.5.14;
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.
 1.4  09-Feb-2007  ad branches: 1.4.6; 1.4.14; 1.4.18;
Merge newlock2 to head.
 1.3  18-Jan-2003  thorpej branches: 1.3.18; 1.3.48;
Merge the nathanw_sa branch.
 1.2  17-Feb-2002  bjh21 branches: 1.2.2;
linux_sys_break() is marked OBSOL, so don't include it.
 1.1  14-Jan-2002  bjh21 branches: 1.1.2;
Crude first cut at ARMLinux binary compatibility. Successfully runs
"/emul/linux/bin/echo hello, world", dynamically linked.
 1.1.2.3  16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1  14-Jan-2002  jdolecek file linux_commons.c was added on branch kqueue on 2002-02-11 20:09:28 +0000
 1.2.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.2.2.2  28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1  17-Feb-2002  nathanw file linux_commons.c was added on branch nathanw_sa on 2002-02-28 04:12:46 +0000
 1.3.48.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.3.18.4  04-Feb-2008  yamt sync with head.
 1.3.18.3  21-Jan-2008  yamt sync with head
 1.3.18.2  03-Sep-2007  yamt sync with head.
 1.3.18.1  26-Feb-2007  yamt sync with head.
 1.4.18.1  16-Aug-2007  jmcneill Sync with HEAD.
 1.4.14.1  03-Sep-2007  skrll Sync with HEAD.
 1.4.6.1  20-Aug-2007  ad Sync with HEAD.
 1.5.14.1  19-Jan-2008  bouyer Sync with HEAD
 1.5.8.1  18-Feb-2008  mjf Sync with HEAD.
 1.5.2.1  23-Mar-2008  matt sync with HEAD
 1.7.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.7.16.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.7.12.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.7.12.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.
 1.7.10.3  11-Aug-2010  yamt sync with head.
 1.7.10.2  11-Mar-2010  yamt sync with head
 1.7.10.1  04-May-2009  yamt sync with head.
 1.7.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.8.6.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.8.6.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.9.2.3  12-Jun-2011  rmind sync with head
 1.9.2.2  31-May-2011  rmind sync with head
 1.9.2.1  05-Mar-2011  rmind sync with head
 1.10.2.1  06-Jun-2011  jruoho Sync with HEAD.

RSS XML Feed