History log of /src/sys/compat/linux/arch/arm/syscalls.master
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.86 10-Nov-2025 christos

s/SYS_MAXSYSARGS/LINUX_SYS_MAXSYSARGS/


# 1.85 10-Nov-2025 christos

Add prctl(2) lwp_{g,s}etname for compat linux (Kevin Bloom)


# 1.84 26-Oct-2025 christos

remove unimpl


# 1.83 26-Oct-2025 christos

one more


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.82 28-Sep-2024 christos

Linux GSoC-2024: renameat2, clone3, sync_file_range, syncfs (Shivraj Jamgade)


# 1.81 01-Jul-2024 christos

Add linux POSIX message queue support (Ricardo Branco)


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.80 29-Jun-2024 christos

branches: 1.80.2;
From gsoc 2024: Implement faccessat2 and getcpu (Shivraz)


Revision tags: thorpej-ifq-base thorpej-altq-separation-base
# 1.79 19-Aug-2023 christos

Add inotify* syscalls GSoC 2023 (Theodore Preduta)


# 1.78 18-Aug-2023 christos

Add linux waitid(2) from GSoC 2023 (Theodore Preduta)


# 1.77 29-Jul-2023 christos

Add/fix statx, readahead, close_range. From GSoC 2023 by Theodore Preduta


# 1.76 28-Jul-2023 christos

add epoll syscalls


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
# 1.75 02-Dec-2021 ryo

add prlimit64(2) syscall to COMPAT_LINUX and COMPAT_LINUX32


# 1.74 24-Nov-2021 ryo

add getrandom(2) syscall entry


# 1.73 20-Sep-2021 thorpej

Add preadv(2) and pwritev(2) system calls to COMPAT_LINUX and COMPAT_LINUX32.


# 1.72 20-Sep-2021 thorpej

Add the eventfd system calls to COMPAT_LINUX and COMPAT_LINUX32.


# 1.71 19-Sep-2021 thorpej

Add the timerfd syscalls to COMPAT_LINUX and COMPAT_LINUX32.


# 1.70 19-Sep-2021 thorpej

Add the POSIX timer syscalls (timer_create(), timer_settime(), timer_gettime(),
timer_getoverrun(), and timer_delete()) to COMPAT_LINUX and COMPAT_LINUX32.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.69 26-Apr-2020 thorpej

branches: 1.69.2;
Add a NetBSD native futex implementation, mostly written by riastradh@.
Map the COMPAT_LINUX futex calls to the native ones.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.68 09-Nov-2019 jdolecek

add dummy implementation of linux fallocate() which just returns EOPNOTSUPP;
this is needed so that glibc falls back to emulation and apps behaving
properly, since EOPNOTSUPP is a documented and expected return code, but
ENOSYS is not

right now there are no filesystems in NetBSD tree supporting the fallocate
VOP, so no point trying to map this to a native call

supposed to help with problem reported in
https://mail-index.netbsd.org/tech-kern/2019/11/03/msg025641.html


Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204
# 1.67 03-Feb-2017 christos

branches: 1.67.14;
add send recv mmsg and unimpl
XXX: fix base?


# 1.66 03-Feb-2017 martin

Add accept4 definitions


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 1.65 02-Jan-2017 manu

branches: 1.65.2;
Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64


Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726
# 1.64 24-Jul-2016 njoly

Small cleanup. Adjust readlink/readlinkat signatures to reduce diffs with
native.


Revision tags: pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.63 23-Mar-2015 ozaki-r

branches: 1.63.2;
Fix inconsistent argument names


Revision tags: nick-nhusb-base
# 1.62 22-Nov-2014 njoly

branches: 1.62.2;
Fix ppoll signature (int ->u_int)


Revision tags: netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.61 31-May-2014 njoly

branches: 1.61.2;
Fix munmap(2) signature.


# 1.60 29-May-2014 njoly

For utimes(2), use compat_50_sys_utimes() instead of local version.


# 1.59 20-May-2014 njoly

Fix getgroups/setgroups signature.


Revision tags: rmind-smpnet-nbase rmind-smpnet-base
# 1.58 17-May-2014 njoly

Fix fadvise64 syscalls to use 64bit offset types.


Revision tags: yamt-pagecache-base9
# 1.57 06-May-2014 njoly

Reduce diffs between archs; make mknod device argument unsigned.


# 1.56 04-May-2014 njoly

Fix pread/pwrite syscalls which need a 64bit offset argument.


# 1.55 08-Apr-2014 njoly

Adjust read/write/readv/writev signature to match native versions.


Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.54 08-Dec-2013 njoly

branches: 1.54.2;
Sprinkle a few more linux_umode_t where appropriate.
Reduce diffs between archs.


# 1.53 19-Nov-2013 chs

add the *at() syscalls.


# 1.52 07-Nov-2013 njoly

Fix dup/dup2/dup3 argument types (u_int -> int).


# 1.51 24-Sep-2013 njoly

Add utimensat(2) for compat linux.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
# 1.50 08-Apr-2013 pooka

branches: 1.50.4;
support utimes on non-alpha linux platforms


Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
# 1.49 19-Sep-2012 pooka

emulate ppoll which is essentially our pollts


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base
# 1.48 18-Nov-2011 christos

branches: 1.48.10;
add sigtimedwait


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.47 09-Jul-2011 christos

branches: 1.47.2;
the first argument of {g,s}etitimer() is int not u_int.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.46 30-May-2011 alnsn

Add fadvise64 and fadvise64_64 syscalls to compat_linux and compat_linux32.


# 1.45 15-Apr-2011 he

Add dup3() and pipe2() for these archs as well.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.44 07-Jul-2010 chs

branches: 1.44.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.


Revision tags: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
# 1.43 24-Nov-2009 njoly

branches: 1.43.2; 1.43.4;
Update personality(2) to match Linux definition where the argument is an
unsigned long.


Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 jym-xensuspend-nbase
# 1.42 08-Jun-2009 njoly

Update rt_queueinfo(2) definition, and kill a corresponding comment.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 jym-xensuspend-base nick-hppapmap-base
# 1.41 17-Jan-2009 njoly

branches: 1.41.2;
Convert linux/linux32 wait(4) to use a compat50 rusage structure.


Revision tags: mjf-devfs2-base
# 1.40 15-Jan-2009 njoly

Update some syscalls/arguments to use the new compat50 equivalents.


# 1.39 13-Jan-2009 pooka

Convert the syscalls.master to a format from which it is easier
to parse and generate the compat name and basename (e.g. __stat50
and stat). Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().


# 1.38 13-Jan-2009 rtr

actually commit syscalls.master this time
add back blank line between #include <sys/.. and #include <sys/compat/..
regen


Revision tags: haad-dm-base2 haad-nbase2 ad-audiomp2-base haad-dm-base
# 1.37 19-Nov-2008 ad

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.36 12-Nov-2008 njoly

Fix nanosleep(2) on 64-bit archs. Do not call native nanosleep
syscall, but rather a modified version the will take care of `struct
timespec' conversions.


Revision tags: netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base
# 1.35 23-Apr-2008 ad

branches: 1.35.2; 1.35.4; 1.35.8; 1.35.10; 1.35.12;
-SYCALL_MPSAFE


Revision tags: yamt-pf42-baseX yamt-pf42-base
# 1.34 04-Apr-2008 njoly

branches: 1.34.2;
Cleanup. Kill linux_sys_msync and use sys___msync13 instead.
No functional changes expected.


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.33 15-Jan-2008 njoly

branches: 1.33.6;
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.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.32 24-Dec-2007 njoly

Kill unneeded linux_sys_getpgid and use native sys_getpgid instead.


# 1.31 21-Dec-2007 njoly

- Fix setfsuid to return uid on success.
- Replace getfsuid, which never existed on Linux, by correct setfsgid
syscall.

ok by christos and dsl.


# 1.30 20-Dec-2007 dsl

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.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.29 16-Nov-2007 njoly

branches: 1.29.2; 1.29.6;
Cleanup. Remove a few linux syscalls definitions, now identical to
native ones (with stackgap and ALT_CHECK_xxx removal). No functional
changes expected.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base mjf-ufs-trans-base vmlocking-base
# 1.28 04-Mar-2007 christos

branches: 1.28.14; 1.28.16; 1.28.20; 1.28.22;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.


Revision tags: ad-audiomp-base post-newlock2-merge
# 1.27 09-Feb-2007 ad

branches: 1.27.2;
Merge newlock2 to head.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 netbsd-4-base rpaulo-netinet-merge-pcb-base
# 1.26 01-Sep-2006 matt

branches: 1.26.2;
Don't conditionalize *sys_ptrace. The lack of sys_ptrace will be dealt
with differently.


# 1.25 30-Aug-2006 matt

Update to deal with options PTRACE


Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base7 yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base
# 1.24 10-Jun-2006 christos

linux getpriority is off-by-20 so use our own function.
From PR/33671: Nicolas Joly


Revision tags: simonb-timcounters-final yamt-pdpolicy-base5 yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
# 1.23 11-Dec-2005 christos

branches: 1.23.4; 1.23.8; 1.23.14;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.22 16-May-2005 fvdl

branches: 1.22.2;
Add clock_* POSIX functions.


# 1.21 16-May-2005 fvdl

Add *xattr functions (they all return EOPNOTSUPP).


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.20 26-Feb-2005 perry

nuke trailing whitespace


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.19 20-Sep-2004 jdolecek

branches: 1.19.4; 1.19.6;
implement support for Linux statfs64() syscall - 64bit variant of statfs()


# 1.18 08-Sep-2004 jdolecek

implement basic exit_group(2), which just terminates calling thread;
apparently not many apps use thread groups yet, at least not with default
SuSE 9.1 libraries, so this is enough for now


# 1.17 01-Aug-2004 jdolecek

add stub entries for syscalls added until Linux kernel 2.6.7

move the ARM-specific syscall range up to offset 0x180, to make room
for the new syscalls


# 1.16 01-Aug-2004 jdolecek

connect madvise(2) and mincore(2) - apparently the newer Linux libs
don't stub it anymore, so allow the application to take advantage
of them

the Linux calls appear to be compatible in the flag values and semantics,
so a wrapper is not necessary


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.15 10-Aug-2003 jdolecek

add Linux compat arg wrapper for ftruncate64(), and change linux compat
truncate64() wrapper to translate args structure
NetBSD truncate() and ftrucate() have hidden 'pad' argument, so we have
to do the argument translation

Problem found and patch supplied in PR kern/22360 by Ales Krenek

This is the last of syscalls with hidden 'pad' arg we didn't have
wrapper for; all the others (lseek, mmap, pwrite, pread) already had
wrapper before.


# 1.14 28-Jun-2003 he

branches: 1.14.2;
Need to include linux_mmap.h to get size of struct linux_sys_mmap2_args.


# 1.13 23-Jun-2003 christos

PR/21937: Todd Vierling: Proper support for mmap2


# 1.12 18-Jan-2003 thorpej

Merge the nathanw_sa branch.


Revision tags: netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.11 12-May-2002 jdolecek

branches: 1.11.4;
hook in remaining 64bit fs syscalls
make most of stuff in linux_file64.c available unconditionally,
with exception of fcntl64, which is not present on Linux m68k


# 1.10 10-Apr-2002 christos

add getdents64


# 1.9 22-Mar-2002 christos

nuke mmap2 add mprotect


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.8 17-Feb-2002 bjh21

branches: 1.8.2;
getrlimit and setrlimit now have Linux-specific implementations. Use them.


# 1.7 15-Feb-2002 christos

- add a real linux_sys___sysctl because the mib numbers are different.
implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.

tested only on i386.

Status:
gdb, telnet, work
jdk-1.4.0 extractor works, jdk still coredumps.

christos


# 1.6 27-Jan-2002 bjh21

branches: 1.6.2;
Add support for breakpoints to ARMLinux emulation.


# 1.5 27-Jan-2002 bjh21

Make syscall 0 an explicit call of linux_sys_nosys, as it is on i386. This
is necessary to get a prototype for linux_sys_nosys generated in syscallargs.h.


# 1.4 23-Jan-2002 bjh21

Syscall 0 isn't syscall() on ARMLinux. Mark it UNIMPL instead.


# 1.3 23-Jan-2002 bjh21

Add support for the ARM-specific syscalls in ARMLinux. These are invoked
by SWI numbers above 0x9f0000, but we re-map them down to somewhere just
after the end of the usual syscall range, since NetBSD doesn't handle
sparse syscall arrays well.

The only syscall I've actually implemented in this range is cacheflush(),
which was previously being mapped to fork(), causing ... interesting results.


# 1.2 15-Jan-2002 bjh21

Shuffle uname calls around. It turns out we don't use the same names as
Linux does, so:
sys_olduname -> linux_sys_oldolduname
sys_uname -> linux_sys_olduname
sys_newuname -> linux_sys_uname


# 1.1 14-Jan-2002 bjh21

Crude first cut at ARMLinux binary compatibility. Successfully runs
"/emul/linux/bin/echo hello, world", dynamically linked.