The NetBSD Project

CVS log for src/sys/compat/netbsd32/syscalls.master

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / netbsd32

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.97 / (download) - annotate - [select for diffs], Fri Mar 29 01:04:30 2013 UTC (8 weeks, 2 days ago) by christos
Branch: MAIN
CVS Tags: khorben-n900, HEAD
Changes since 1.96: +7 -2 lines
Diff to previous 1.96 (colored)

compat glue for new lwp_park

Revision 1.96 / (download) - annotate - [select for diffs], Tue Oct 2 01:44:28 2012 UTC (7 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-nbase, tls-maxphys-base, agc-symver-base, agc-symver
Changes since 1.95: +10 -1 lines
Diff to previous 1.95 (colored)

kernel portion of clock_nanosleep()

Revision 1.95 / (download) - annotate - [select for diffs], Sun Apr 8 11:27:44 2012 UTC (13 months, 2 weeks ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.94: +8 -1 lines
Diff to previous 1.94 (colored)

Rework posix_spawn locking and memory management:
 - always provide a vmspace for the new proc, initially borrowing from proc0
   (this part fixes PR 46286)
 - increase parallelism between parent and child if arguments allow this,
   avoiding a potential deadlock on exec_lock
 - add a new flag for userland to request old (lockstepped) behaviour for
   better error reporting
 - adapt test cases to the previous two and add a new variant to test the
   diagnostics flag
 - fix a few memory (and lock) leaks
 - provide netbsd32 compat

Revision 1.94 / (download) - annotate - [select for diffs], Sat Mar 10 21:51:59 2012 UTC (14 months, 2 weeks ago) by joerg
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8, jmcneill-usbmp-base7
Changes since 1.93: +1 -15 lines
Diff to previous 1.93 (colored)

P1003_1B_SEMAPHORE is no longer optional.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Mar 8 21:55:45 2012 UTC (14 months, 2 weeks ago) by joerg
Branch: MAIN
Changes since 1.92: +4 -3 lines
Diff to previous 1.92 (colored)

Add entry for _ksem_timedwait.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Feb 19 17:08:02 2012 UTC (15 months ago) by rmind
Branch: MAIN
CVS Tags: jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.91: +7 -10 lines
Diff to previous 1.91 (colored)

Make SA calls obsolete (use stubs in kern case, as libc needs them for now).

Revision 1.91 / (download) - annotate - [select for diffs], Wed Feb 1 05:40:01 2012 UTC (15 months, 3 weeks ago) by dholland
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.90: +3 -4 lines
Diff to previous 1.90 (colored)

Update compat_netbsd32 for new quotactl.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Feb 1 05:34:40 2012 UTC (15 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.89: +5 -3 lines
Diff to previous 1.89 (colored)

Change the syscall API for quotas over to the new non-proplib one.

   - struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Jan 31 22:52:19 2012 UTC (15 months, 3 weeks ago) by matt
Branch: MAIN
Changes since 1.88: +65 -1 lines
Diff to previous 1.88 (colored)

Add the *at syscalls and other missing syscalls.

Revision 1.88 / (download) - annotate - [select for diffs], Tue Nov 8 10:59:12 2011 UTC (18 months, 2 weeks ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base3, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored)

Add kqueue1(2) support.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Aug 31 16:50:32 2011 UTC (20 months, 3 weeks ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.86: +2 -1 lines
Diff to previous 1.86 (colored)

Add dup3 syscall support.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Jul 5 14:21:47 2011 UTC (22 months, 3 weeks ago) by njoly
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored)

Add pipe2 syscall now needed for popen(3).

Revision 1.85 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:35 2011 UTC (2 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.84: +4 -2 lines
Diff to previous 1.84 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Mar 2 21:07:21 2010 UTC (3 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.83: +2 -4 lines
Diff to previous 1.83 (colored)

Kill fs_nfs.h and #ifdef NFS by making getfh() support unconditional
and nfssvc unsupport unconditional.  nfs server was just a fancy
NOP anyway for all except Ultrix.  I know I'm boring but I couldn't
imagine why someone would want to run an Ultrix nfs server (and I
also doubt that it would work anymore with all the changes to fs
exporting etc).

Revision 1.83 / (download) - annotate - [select for diffs], Tue Mar 2 16:02:43 2010 UTC (3 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.82: +1 -2 lines
Diff to previous 1.82 (colored)

-fs_lfs.h

Revision 1.82 / (download) - annotate - [select for diffs], Tue Mar 2 16:00:03 2010 UTC (3 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.81: +1 -18 lines
Diff to previous 1.81 (colored)

Remove lfs syscall support from compat.  I can't really imagine
anyone wanting to run lfs megamaid as a e.g. FreeBSD binary.
Besides, the real action has been in fcntl() for >5 years now.
The only place where the compat syscalls might have made the tiniest
bit of sense was netbsd32, but they were unimplemented there.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Dec 14 00:47:11 2009 UTC (3 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.80: +4 -2 lines
Diff to previous 1.80 (colored)

Merge from matt-nb5-mips64

Revision 1.80 / (download) - annotate - [select for diffs], Sun May 17 05:54:22 2009 UTC (4 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.79: +10 -10 lines
Diff to previous 1.79 (colored)

pad -> PAD

Revision 1.79 / (download) - annotate - [select for diffs], Mon Mar 16 20:48:13 2009 UTC (4 years, 2 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Fix dev_t alignment, by not using the new 64bit value directly but
rather a 32bit aligned version (netbsd32_dev_t = netbsd32_uint64).

ok by cube@.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Feb 26 21:08:48 2009 UTC (4 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.77: +10 -1 lines
Diff to previous 1.77 (colored)

fix kernel build with no options NTP

Revision 1.77 / (download) - annotate - [select for diffs], Tue Jan 13 22:27:43 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.76: +368 -368 lines
Diff to previous 1.76 (colored)

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().

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jan 13 21:48:35 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.75: +13 -28 lines
Diff to previous 1.75 (colored)

UNIMPL police: remove pseudo-prototypes

Revision 1.75 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:49 2009 UTC (4 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.74: +567 -251 lines
Diff to previous 1.74 (colored)

merge christos-time_t

Revision 1.74 / (download) - annotate - [select for diffs], Sat Nov 22 23:13:38 2008 UTC (4 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: christos-time_t
Changes since 1.73: +10 -5 lines
Diff to previous 1.73 (colored)

implement netbsd32__sched_setparam(), netbsd32__sched_getparam(),
netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity().

Revision 1.73 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:05 2008 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.72: +1 -6 lines
Diff to previous 1.72 (colored)

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

Revision 1.72 / (download) - annotate - [select for diffs], Fri Nov 14 15:49:20 2008 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.71: +7 -7 lines
Diff to previous 1.71 (colored)

Replace semid_t with intptr_t. No function change. This is a libc/kernel
private interface and so the name change should not affect any third
party code.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:10 2008 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.70: +11 -27 lines
Diff to previous 1.70 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:20 2008 UTC (4 years, 7 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.69: +9 -7 lines
Diff to previous 1.69 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Apr 24 11:51:18 2008 UTC (5 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, haad-dm
Changes since 1.68: +24 -24 lines
Diff to previous 1.68 (colored)

- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
  all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Feb 24 12:52:55 2008 UTC (5 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

Desupport compatibility for the old posix_fadvise syscall per yamt's
request and just ignore it.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jan 27 20:13:07 2008 UTC (5 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.66: +9 -1 lines
Diff to previous 1.66 (colored)

Catch up with versioning of posix_fadvise

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jan 26 08:35:51 2008 UTC (5 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Add a wrapper for posix_fadvise()

Revision 1.65 / (download) - annotate - [select for diffs], Sat Jan 19 22:25:12 2008 UTC (5 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.64: +26 -1 lines
Diff to previous 1.64 (colored)

Add netbsd32 wrapper for sys_mremap(), compiles, and assuming the mmap()
wrapper is ok, it should work!
I presume the kernel knows not to map above 4GB though....

Revision 1.64 / (download) - annotate - [select for diffs], Mon Dec 17 20:45:29 2007 UTC (5 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base
Changes since 1.63: +144 -144 lines
Diff to previous 1.63 (colored)

Remove all the 'const'. Although the fields might be 32bit pointers to
constant data, the 'const' applies to the field itself - which is stupid.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Dec 7 22:41:05 2007 UTC (5 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, reinoud-bufcleanup-nbase, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.62: +7 -4 lines
Diff to previous 1.62 (colored)

Add: _lwp_setname, _lwp_getname, _lwp_ctl.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Nov 9 15:05:34 2007 UTC (5 years, 6 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Changes since 1.61: +5 -3 lines
Diff to previous 1.61 (colored)

Add arguments to sys_syscall and sys___syscall.
Use MI wrappers for them in netbsd32.
Change prefix for constants from netbsd32 to NETBSD32 (used in #defines etc).

Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:31 2007 UTC (5 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-armv6-prevmlocking, jmcneill-base
Branch point for: mjf-devfs, matt-armv6, bouyer-xenamd64
Changes since 1.60: +1 -10 lines
Diff to previous 1.60 (colored)

Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Aug 7 19:00:42 2007 UTC (5 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.59: +12 -11 lines
Diff to previous 1.59 (colored)

- Fix a bug with _lwp_park() where if the computed wakeup time was under
  1 microsecond into the future, the thread could enter an untimed sleep.
- Change the signature of _lwp_park() to accept an lwpid_t and second
  hint pointer, but do so in a way that remains compatible with older
  pthread libraries. This can be used to wake another thread before the
  calling thread goes asleep, saving at least one syscall + involuntary
  context switch. This turns out to be a fairly large win on the condvar
  benchmarks that I have tried.
- Mark some more syscalls MP safe.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Mar 4 07:54:09 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, reinoud-bufcleanup, nick-csl-alignment, jmcneill-pm
Changes since 1.58: +15 -15 lines
Diff to previous 1.58 (colored)

fix fallout from caddr_t changes.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:27 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.57: +15 -15 lines
Diff to previous 1.57 (colored)

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

Revision 1.57 / (download) - annotate - [select for diffs], Mon Feb 19 15:32:43 2007 UTC (6 years, 3 months ago) by cube
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.56: +11 -11 lines
Diff to previous 1.56 (colored)

Mark MPSAFE the syscalls that are not translated (and of course, only when
the native syscall is itself marked MPSAFE).

Revision 1.56 / (download) - annotate - [select for diffs], Sun Feb 18 09:03:55 2007 UTC (6 years, 3 months ago) by cube
Branch: MAIN
Changes since 1.55: +9 -13 lines
Diff to previous 1.55 (colored)

Add missing lwp syscalls.  Put them all together into a new file,
netbsd32_lwp.c, and remove remaining traces of SA.

This still needs some MD (and possibly MI, depending on the chosen
solution) changes to actually work.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:22 2007 UTC (6 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.54: +7 -10 lines
Diff to previous 1.54 (colored)

Merge newlock2 to head.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Nov 9 14:09:37 2006 UTC (6 years, 6 months ago) by cube
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.53: +5 -18 lines
Diff to previous 1.53 (colored)

- Make better use of COMPAT_XX type in syscalls.master
- Remove useless (thanks to COMPAT_XX behaviour) #ifdefs in
  syscalls.master
- Make netbsd32_compat_43.c compiled per COMPAT_LINUX32 because the latter
  needs stuff from it.

Fixes Perry's PR#34951.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Sep 1 20:58:18 2006 UTC (6 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.52: +1 -6 lines
Diff to previous 1.52 (colored)

Don't conditionalize *sys_ptrace.  The lack of sys_ptrace will be dealt
with differently.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Aug 30 13:57:47 2006 UTC (6 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.51: +6 -1 lines
Diff to previous 1.51 (colored)

Protect netbsd32_ptrace with options PTRACE.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 31 16:32:51 2006 UTC (6 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.50: +13 -5 lines
Diff to previous 1.50 (colored)

Step 1 to make filehandles completely opaque to userland

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 13 23:22:40 2006 UTC (6 years, 10 months ago) by pavel
Branch: MAIN
Changes since 1.49: +1 -9 lines
Diff to previous 1.49 (colored)

do not protect the getfh syscall by
#if defined(NFS) || defined(NFSSERVER).
The native syscall also isn't.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 13 12:00:25 2006 UTC (6 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.48: +7 -2 lines
Diff to previous 1.48 (colored)

Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jun 26 21:23:57 2006 UTC (6 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

version the socket(2) syscall.  for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.

Revision 1.47 / (download) - annotate - [select for diffs], Wed May 31 09:52:27 2006 UTC (6 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

support ntp_gettime again
compile tested by Havard Eidnes

Revision 1.46 / (download) - annotate - [select for diffs], Mon May 29 09:44:51 2006 UTC (6 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (colored)

Remove emulation of ntp_gettime. In preparation for "timecounters" we
will change "struct ntptimeval", so some translation would be necessary.
ntp_gettine is considered dispensable, the only userland program known
to use it is "ntptime".

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 5 13:28:52 2006 UTC (7 years ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.44: +8 -3 lines
Diff to previous 1.44 (colored)

Follow on fhstat(2) versioning.  While there, add sys_posix_fadvise (no
emulation needed there).

Revision 1.44 / (download) - annotate - [select for diffs], Wed Mar 29 23:04:12 2006 UTC (7 years, 1 month ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.43: +21 -17 lines
Diff to previous 1.43 (colored)

Implement the _lwp* and sa_* families of syscalls, using the newly
introduced hooks in the native code.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Mar 6 14:40:55 2006 UTC (7 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq, elad-kernelauth
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Implement the SysV IPC family of syscalls.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 5 01:28:20 2006 UTC (7 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.41: +27 -11 lines
Diff to previous 1.41 (colored)

Implement the ksem_* family of syscalls.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:22 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 (colored)

merge ktrace-lwp.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Oct 23 01:33:32 2005 UTC (7 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.39: +6 -3 lines
Diff to previous 1.39 (colored)

- Split sys_kevent into kevent1 so that it can be used by COMPAT_NETBSD32
  code.

- To achieve COMPAT_NETBSD32 compatibility, introduce a parameter to
  kevent1 that points to functions that do the actual copyin/copyout
  operations.  This is similar to what was done in FreeBSD by Paul Saab.

- Add the COMPAT_NETBSD32 definitions and hooks.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Aug 19 04:24:38 2005 UTC (7 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored)

Fix lossage I created with the 64 bit ino_t change.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Aug 19 02:03:57 2005 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.37: +12 -4 lines
Diff to previous 1.37 (colored)

64 bit inode changes.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jul 23 22:03:45 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.36: +4 -2 lines
Diff to previous 1.36 (colored)

Implement __sigtimedwait(2).

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jul 23 18:56:15 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.35: +9 -6 lines
Diff to previous 1.35 (colored)

Implement the timer_create(2) family of syscalls.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 12 07:45:34 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.34: +31 -1 lines
Diff to previous 1.34 (colored)

Add the *xattr(2) family of syscalls.  Just like the *extattr(2) family,
they're waiting for an actual FS back-end to be tested, but are still
straightforward enough.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jul 11 20:18:05 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

Add rasctl(2).  Thanks to the regression tests for that syscall, I was able
to discover the bugs in netbsd32_setitimer() and netbsd32_execve().

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jul 10 14:32:16 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

Add support for fsync_range(2).

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jul 10 11:28:58 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Implement __clone(2).

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jul 9 22:40:13 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.30: +6 -1 lines
Diff to previous 1.30 (colored)

Implement pselect(2) and pollts(2).

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 8 22:21:43 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Add mlockall(2) and munlockall(2).

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jul 8 21:39:39 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.28: +37 -1 lines
Diff to previous 1.28 (colored)

Implement the extattr(3) family of syscalls.

XXX However, those remain untested as there are currently no backend for
XXX extattr(9) in NetBSD.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 4 00:26:07 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Implement uuidgen(2).

Revision 1.27 / (download) - annotate - [select for diffs], Mon May 30 22:59:55 2005 UTC (7 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

track change to swapctl args in kern/syscalls.master.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 17 18:29:40 2004 UTC (8 years, 11 months ago) by cube
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.25: +28 -5 lines
Diff to previous 1.25 (colored)

o Add support for the statvfs family of syscalls (statvfs1, fstatvfs1,
  fhstatvfs1 and getvfsstat)
o Move the statfs family out of netbsd32_fs.c and netbsd32_netbsd.c to
  netbsd_compat_20.c, compiled with COMPAT_20

Reviewed by christos@.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Oct 25 16:27:25 2003 UTC (9 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: netbsd-2-base, 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-1, netbsd-2-0-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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

allow COMPAT_SUNOS without COMPAT_43.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 13 18:53:35 2003 UTC (9 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.23: +5 -4 lines
Diff to previous 1.23 (colored)

Define compat_16 as valid prefix; define the 1.6 compat sigreturn.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 18 08:28:26 2003 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Merge the nathanw_sa branch.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 23 13:16:46 2002 UTC (10 years, 7 months ago) by scw
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored)

In preparation for COMPAT_NETBSD32 on SH-5:

 - The MD netbsd32_machdep.h header now defines the 32-bit pointer type
   instead of using u_int32_t everywhere,
 - The MD netbsd32_machdep.h header now defines a macro (at least on
   current implementations) which converts a 32-bit pointer to its 64-bit
   equivalent,
 - Change the MI code to utilise the above two items in all the right places,
 - Implement netbsd32___sigaction_sigtramp().

Tested on Sparc64 by Matt Green.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 29 09:53:41 2002 UTC (11 years ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base, gehenna-devsw
Changes since 1.20: +10 -17 lines
Diff to previous 1.20 (colored)

build the netbsd32_compat* objects into libcompat.a, so they are available
to emulations not just netbsd itself.  rename the compat_10 functions to
match everything else.  fixes a problem reported by julian coleman.

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 30 11:37:29 2001 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Branch point for: kqueue
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

use _KERNEL_OPT.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Apr 10 11:11:17 2001 UTC (12 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Slight indentation nit.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 2 13:01:44 2001 UTC (12 years, 3 months ago) by mrg
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.17: +44 -1 lines
Diff to previous 1.17 (colored)

add lchflags, issetugid, utrace, reserves for [gs]etcontext, and sched/SA.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 27 07:58:22 2001 UTC (12 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

getpid(2) is MP-safe.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Dec 9 05:27:30 2000 UTC (12 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored)

Add the %% separators.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 30 19:17:57 2000 UTC (12 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.14: +3 -5 lines
Diff to previous 1.14 (colored)

always include netbsd32_ntp_adjtime(), LKMify

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 7 17:59:36 2000 UTC (12 years, 9 months ago) by bjh21
Branch: MAIN
Changes since 1.13: +6 -1 lines
Diff to previous 1.13 (colored)

Changes to syscalls.master to exclude ntp_adjtime(2) entirely if NTP is not
defined.  Changes to other files will follow in a moment.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 9 13:39:32 2000 UTC (12 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.12: +1 -6 lines
Diff to previous 1.12 (colored)

- massive warning fix fest.
- fix pread/pwrite return values (plus some other syscalls that looked
  similarly broken).
- prototypes and clean up for netbsd32_ioctl.c

now getpw*() works under compat32!

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 31 15:59:58 2000 UTC (13 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

__semctl13 -> ____semctl13

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 30 15:40:46 1999 UTC (13 years, 4 months ago) by eeh
Branch: MAIN
Changes since 1.10: +40 -5 lines
Diff to previous 1.10 (colored)

Update to 32-bit compatibility routines.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 11 01:36:24 1999 UTC (13 years, 7 months ago) by eeh
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.9: +230 -230 lines
Diff to previous 1.9 (colored)

Add netbsd32_compat_14.c

Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly
names like compat_14_compat_netbsd32_sys_shmctl().

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 12 21:55:20 1999 UTC (13 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

XSH5: change function signature to `void *sbrk(intptr_t)'.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 9 04:50:11 1999 UTC (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.7: +57 -60 lines
Diff to previous 1.7 (colored)

Propagate kern changes

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 25 16:22:50 1999 UTC (14 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.6: +227 -227 lines
Diff to previous 1.6 (colored)

move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 25 15:33:48 1999 UTC (14 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

make this match the main syscalls.master a bit better.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 10 17:03:20 1998 UTC (14 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Defopt COMPAT_43

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 19 22:39:09 1998 UTC (14 years, 7 months ago) by tron
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 1 14:27:58 1998 UTC (14 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.2: +54 -47 lines
Diff to previous 1.2 (colored)

Overhaul.  Now will run simple things like /bin/sh and /bin/echo.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 26 13:42:50 1998 UTC (14 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.1: +6 -2 lines
Diff to previous 1.1 (colored)

make oreboot work.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 26 10:20:37 1998 UTC (14 years, 9 months ago) by mrg
Branch: MAIN

add a 32-bit compatibility module for the sparc64 port, so it can run NetBSD/sparc binaries with a LP64 kernel.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>