The NetBSD Project

CVS log for src/sys/compat/netbsd32/netbsd32_fs.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.82.4.3 / (download) - annotate - [select for diffs], Wed Aug 3 11:05:51 2022 UTC (6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.82.4.2: +6 -4 lines
Diff to previous 1.82.4.2 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Pull up following revision(s), all via patch
(requested by riastradh in ticket #1489):

	sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.232
	sys/compat/netbsd32/netbsd32_socket.c: revision 1.56
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.45
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.92
	sys/compat/netbsd32/netbsd32.h: revision 1.137

The read/write/send/recv system calls return ssize_t because -1 is
returned on error.  Therefore we must restrict the lengths of any
buffers to NETBSD32_SSIZE_MAX with compat32 to avoid garbage return
values.

Fixes ATF lib/libc/sys/t_write:write_err.

Revision 1.82.4.2 / (download) - annotate - [select for diffs], Sun Apr 24 16:39:00 2022 UTC (9 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.82.4.1: +68 -2 lines
Diff to previous 1.82.4.1 (colored) to branchpoint 1.82 (colored)

Pull up following revision(s) (requested by reinoud in ticket #1438):

	sys/compat/netbsd32/netbsd32.h: revision 1.140
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.95
	sys/fs/udf/udf_subr.c: revision 1.169

Fix endian issue with UDF extended attribute handling

Implement support for mounting UDF in compat32
Fixes PR#56801

Revision 1.95 / (download) - annotate - [select for diffs], Sat Apr 23 17:46:23 2022 UTC (9 months, 2 weeks ago) by reinoud
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.94: +68 -2 lines
Diff to previous 1.94 (colored)

Implement support for mounting UDF in compat32
Fixes PR#56801

Revision 1.94 / (download) - annotate - [select for diffs], Sat Sep 11 10:08:55 2021 UTC (16 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.93: +8 -20 lines
Diff to previous 1.93 (colored)

sys/kern: Allow custom fileops to specify fo_seek method.

Previously only vnodes allowed lseek/pread[v]/pwrite[v], which meant
converting a regular device to a cloning device doesn't always work.

Semantics is:

(*fp->f_ops->fo_seek)(fp, delta, whence, newoffp, flags)

1. Compute a new offset according to whence + delta -- that is, if
   whence is SEEK_CUR, add delta to fp->f_offset; if whence is
   SEEK_END, add delta to end of file; if whence is SEEK_CUR, use delta
   as is.

2. If newoffp is nonnull, return the new offset in *newoffp.

3. If flags & FOF_UPDATE_OFFSET, set fp->f_offset to the new offset.

Access to fp->f_offset, and *newoffp if newoffp = &fp->f_offset, must
happen under the object lock (e.g., vnode lock), in order to
synchronize fp->f_offset reads and writes.

This change has the side effect that every call to VOP_SEEK happens
under the vnode lock now, when previously it didn't.  However, from a
review of all the VOP_SEEK implementations, it does not appear that
any file system even examines the vnode, let alone locks it.  So I
think this is safe -- and essentially the only reasonable way to do
things, given that it is used to validate a change from oldoff to
newoff, and oldoff becomes stale the moment we unlock the vnode.

No kernel bump because this reuses a spare entry in struct fileops,
and it is safe for the entry to be null, so all existing fileops will
continue to work as before (rejecting seek).

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:42 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.90: +38 -35 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Sync with HEAD.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Feb 16 14:47:20 2021 UTC (23 months, 3 weeks ago) by simonb
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.92: +3 -2 lines
Diff to previous 1.92 (colored)

In netbsd32___mount50() zero out the native fs_args union before use so
we don't pass stack garbage to the lower layers in the MNT_GETARGS case.

Fixes random errors like "Bad address" from "mount -vv" with nfs mounts.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Jan 19 03:41:22 2021 UTC (2 years ago) by simonb
Branch: MAIN
Changes since 1.91: +6 -4 lines
Diff to previous 1.91 (colored)

The read/write/send/recv system calls return ssize_t because -1 is
returned on error.  Therefore we must restrict the lengths of any
buffers to NETBSD32_SSIZE_MAX with compat32 to avoid garbage return
values.

Fixes ATF lib/libc/sys/t_write:write_err.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Jan 19 03:20:13 2021 UTC (2 years ago) by simonb
Branch: MAIN
Changes since 1.90: +33 -33 lines
Diff to previous 1.90 (colored)

KNF consistency: No parentheses are needed around the return value.

Revision 1.90 / (download) - annotate - [select for diffs], Sat May 23 23:42:42 2020 UTC (2 years, 8 months ago) by ad
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.89: +4 -4 lines
Diff to previous 1.89 (colored)

Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Apr 27 17:37:34 2020 UTC (2 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.88: +20 -14 lines
Diff to previous 1.88 (colored)

data_len == 0 on mount means "the kernel knows". Fixes amd on compat32.

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:23:58 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.87: +8 -6 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.88 / (download) - annotate - [select for diffs], Tue Apr 21 21:42:47 2020 UTC (2 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.87: +8 -6 lines
Diff to previous 1.87 (colored)

Revert the changes made in February to make cwdinfo use mostly lockless,
which relied on taking extra vnode refs.

Having benchmarked various experimental changes over the past few months it
seems that it's better to avoid vnode refs as much as possible.  cwdi_lock
as a RW lock already did that to some extent for getcwd() and will permit
the same for namei() too.

Revision 1.80.10.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:16 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.80.10.2: +39 -25 lines
Diff to previous 1.80.10.2 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.80.10.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:01 2020 UTC (2 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.80.10.1: +7 -9 lines
Diff to previous 1.80.10.1 (colored) to branchpoint 1.80 (colored)

Merge changes from current as of 20200406

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:00 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.85.2.1: +3 -3 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

Sync with head.

Revision 1.87 / (download) - annotate - [select for diffs], Sun Feb 23 22:14:03 2020 UTC (2 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3
Branch point for: bouyer-xenpvh
Changes since 1.86: +6 -8 lines
Diff to previous 1.86 (colored)

Merge from ad-namecache:

- Have a stab at clustering the members of vnode_t and vnode_impl_t in a
  more cache-conscious way.  With that done, go back to adjusting v_usecount
  with atomics and keep vi_lock directly in vnode_impl_t (saves KVA).

- Allow VOP_LOCK(LK_NONE) for the benefit of VFS_VGET() and VFS_ROOT().
  Make sure LK_UPGRADE always comes with LK_NOWAIT.

- Make cwdinfo use mostly lockless.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Jan 31 09:01:23 2020 UTC (3 years ago) by maxv
Branch: MAIN
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

Fix copyout overflows in fhstat, found by the LGTM bot. Not a big problem
since this syscall is privileged.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Sat Jan 25 15:54:03 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.85: +6 -8 lines
Diff to previous 1.85 (colored)

Make cwdinfo use mostly lockless, and largely hide the details in vfs_cwd.c.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Wed Oct 16 17:29:49 2019 UTC (3 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.82: +29 -21 lines
Diff to previous 1.82 (colored)

Pull up following revision(s) (requested by maxv in ticket #337):

	sys/compat/netbsd32/netbsd32_fs.c: revision 1.83

Fix netbsd32___mount50():
  - zero out fs_args32 to prevent info leaks
  - remove unused and non-functional copyin in NFS (lgtm bot)
  - declare udata, and don't pass kernel pointers to copyout (lgtm bot)
  - make sure data_len is just big enough, to mimic the native behavior
  - don't forget to update *retval with the 32bit value
  - add an XXX for NFS

Revision 1.85 / (download) - annotate - [select for diffs], Thu Sep 26 01:32:09 2019 UTC (3 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.84: +6 -4 lines
Diff to previous 1.84 (colored)

use size_t for counters (which are compared and set with unsigneds)

Revision 1.84 / (download) - annotate - [select for diffs], Sun Sep 22 22:59:38 2019 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.83: +10 -6 lines
Diff to previous 1.83 (colored)

Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=

Revision 1.83 / (download) - annotate - [select for diffs], Sat Sep 21 06:56:51 2019 UTC (3 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.82: +29 -21 lines
Diff to previous 1.82 (colored)

Fix netbsd32___mount50():

 - zero out fs_args32 to prevent info leaks
 - remove unused and non-functional copyin in NFS (lgtm bot)
 - declare udata, and don't pass kernel pointers to copyout (lgtm bot)
 - make sure data_len is just big enough, to mimic the native behavior
 - don't forget to update *retval with the 32bit value
 - add an XXX for NFS

Revision 1.80.10.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:01 2019 UTC (3 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.80: +28 -9 lines
Diff to previous 1.80 (colored)

Sync with HEAD

Revision 1.80.8.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:46 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.80.8.1: +4 -9 lines
Diff to previous 1.80.8.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.82 / (download) - annotate - [select for diffs], Wed Dec 26 08:01:40 2018 UTC (4 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.81: +4 -9 lines
Diff to previous 1.81 (colored)

remove duplicated prototypes and dated XXX comments.

Revision 1.80.8.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:46 2018 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.80: +26 -2 lines
Diff to previous 1.80 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 11:13:05 2018 UTC (4 years, 5 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.80: +26 -2 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Pull up following revision(s) (requested by mrg in ticket #977):

	sys/compat/netbsd32/netbsd32_fs.c: revision 1.81
	sys/compat/netbsd32/netbsd32.h: revision 1.119

support nullfs in netbsd32.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Aug 11 03:41:06 2018 UTC (4 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.80: +26 -2 lines
Diff to previous 1.80 (colored)

support nullfs in netbsd32.

Revision 1.63.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:56 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.63.2.2: +60 -18 lines
Diff to previous 1.63.2.2 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

update from HEAD

Revision 1.72.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:59 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.72.2.3: +2 -5 lines
Diff to previous 1.72.2.3 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

Sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:08 2017 UTC (5 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.79: +2 -5 lines
Diff to previous 1.79 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:30 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.74.2.1: +7 -7 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.72.2.3 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:00 2016 UTC (6 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.72.2.2: +9 -8 lines
Diff to previous 1.72.2.2 (colored) to branchpoint 1.72 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Thu Dec 1 05:07:27 2016 UTC (6 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.78: +7 -7 lines
Diff to previous 1.78 (colored)

s/netbds32_copyout_statvfs/netbsd32_copyout_statvfs/

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:07 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.74: +4 -3 lines
Diff to previous 1.74 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Fri Oct 21 07:45:16 2016 UTC (6 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

add a ktrgenio() call to netbsd32___getdents30().
from dholland, tested by me.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Oct 19 09:55:10 2016 UTC (6 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.76: +2 -3 lines
Diff to previous 1.76 (colored)

Oops... unintended commit - one day maybe.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Oct 19 09:44:01 2016 UTC (6 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.75: +3 -2 lines
Diff to previous 1.75 (colored)

PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernel

Updated from the original patch in the PR by me.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Oct 16 20:09:53 2016 UTC (6 years, 3 months ago) by dholland
Branch: MAIN
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

Use ktrgeniov, not ktrgenio, in writev.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:12 2016 UTC (6 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.72.2.1: +4 -4 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Mon Mar 21 22:42:56 2016 UTC (6 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

avoid some stupid GCC errors seen only with -Os and -O3.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:47 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.73 / (download) - annotate - [select for diffs], Fri Oct 23 19:40:10 2015 UTC (7 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Change do_sys_mount() so that it only takes as argument the type of the
drive instead of its associated vfsops. Makes it more friendly, and allows
compat binaries to autoload VFS modules if needed.

sent on tech-kern@, ok christos@

Revision 1.72 / (download) - annotate - [select for diffs], Sun Oct 5 20:17:28 2014 UTC (8 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.71: +48 -4 lines
Diff to previous 1.71 (colored)

add tmpfs.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Sep 5 09:21:54 2014 UTC (8 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.70: +6 -6 lines
Diff to previous 1.70 (colored)

Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:33 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.63.2.1: +339 -5 lines
Diff to previous 1.63.2.1 (colored) to branchpoint 1.63 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:33 2014 UTC (8 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Rebase.

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:17 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.61.2.2: +339 -5 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:33 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.64.2.1: +7 -5 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

sync with head

Revision 1.70 / (download) - annotate - [select for diffs], Wed Apr 30 17:23:45 2014 UTC (8 years, 9 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

Do not use native off_t type under compat netbsd32, but a new
netbsd32_off_t that provide the expected alignment for 64bit types.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Oct 17 18:01:11 2013 UTC (9 years, 3 months ago) by njoly
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.68: +5 -3 lines
Diff to previous 1.68 (colored)

Change mknodat(2) device argument type from uint32_t to dev_t.
Adds needed extra PAD argument for 64bit alignment, and libc wrapper.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:24 2013 UTC (9 years, 5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.64: +335 -3 lines
Diff to previous 1.64 (colored)

sync with head

Revision 1.68 / (download) - annotate - [select for diffs], Tue Jul 30 17:22:31 2013 UTC (9 years, 6 months ago) by njoly
Branch: MAIN
Changes since 1.67: +36 -22 lines
Diff to previous 1.67 (colored)

Add a new get_utimens32() helper function that fetch struct timespec
data if not NULL, to be used by netbsd32_utimensat() and
netbsd32_futimens().

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:35 2013 UTC (9 years, 6 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.64: +320 -2 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jul 18 14:14:00 2013 UTC (9 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.66: +8 -7 lines
Diff to previous 1.66 (colored)

futimens uses two timespec as well.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jul 18 14:07:43 2013 UTC (9 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.65: +35 -18 lines
Diff to previous 1.65 (colored)

Deal with timespecs properly in futimens and utimensat.
PR/48060

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jul 18 13:43:32 2013 UTC (9 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.64: +302 -2 lines
Diff to previous 1.64 (colored)

Move *at syscall handlers to netbsd32_fs.c from netbsd32_netbsd.c
Fix netbsd32_fstatat to emit a 32bit stat structure.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:08 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

resync with head

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:12 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.61.2.1: +3 -3 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored)

sync with (a bit old) head

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Sun Jan 13 16:22:17 2013 UTC (10 years ago) by bouyer
Branch: netbsd-5
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Pull up following revision(s) (requested by matt in ticket #1829):
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.64
Fix inverted error check.

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Mon Dec 17 00:32:29 2012 UTC (10 years, 1 month ago) by riz
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Pull up following revision(s) (requested by matt in ticket #756):
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.64
Fix inverted error check.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Mon Dec 17 00:31:29 2012 UTC (10 years, 1 month ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.62.2.1: +3 -3 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Pull up following revision(s) (requested by matt in ticket #756):
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.64
Fix inverted error check.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Thu Dec 13 23:47:57 2012 UTC (10 years, 1 month ago) by riz
Branch: netbsd-6
Changes since 1.62: +39 -3 lines
Diff to previous 1.62 (colored)

Pull up following revision(s) (requested by bouyer in ticket #742):
	sys/compat/netbsd32/netbsd32.h: revision 1.94
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.63
allow mounting ext2fs and msdosfs
while there also enable lfs but that's untested

Revision 1.64 / (download) - annotate - [select for diffs], Thu Dec 13 15:16:57 2012 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet, riastradh-drm2
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

Fix inverted error check.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:20 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.61: +40 -4 lines
Diff to previous 1.61 (colored)

sync with head

Revision 1.61.6.2 / (download) - annotate - [select for diffs], Tue Mar 6 18:26:40 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.61.6.1: +39 -3 lines
Diff to previous 1.61.6.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

sync to -current

Revision 1.63 / (download) - annotate - [select for diffs], Tue Mar 6 07:37:05 2012 UTC (10 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.62: +39 -3 lines
Diff to previous 1.62 (colored)

allow mounting ext2fs and msdosfs
while there also enable lfs but that's untested

Revision 1.61.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:57 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

merge to -current.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jan 25 14:06:07 2012 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6-0, netbsd-6
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Add FNOSIGPIPE for compat32; noted by yamt.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:53 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.58.4.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:13 2011 UTC (11 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.58.4.2: +1 -1 lines
Diff to previous 1.58.4.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

sync with head

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:33 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.59: +59 -3 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jun 5 08:42:59 2011 UTC (11 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Delete some splurious commas and very unexpected trailing space

Revision 1.58.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:54 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.58.4.1: +58 -2 lines
Diff to previous 1.58.4.1 (colored) to branchpoint 1.58 (colored)

sync with head

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:47 2011 UTC (12 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.59: +58 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jan 22 22:26:10 2011 UTC (12 years ago) by matt
Branch: MAIN
CVS Tags: cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: cherry-xenmp
Changes since 1.59: +58 -2 lines
Diff to previous 1.59 (colored)

Add the ability to mount NFS filesystems in COMPAT_NETBSD32
If in the kernel and NFS_ARGS_ONLY, just export struct nfs_args and its flags.

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:11 2010 UTC (12 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53.2.2: +16 -17 lines
Diff to previous 1.53.2.2 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

sync with head.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:15 2010 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.58: +16 -17 lines
Diff to previous 1.58 (colored)

sync with head

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:00 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.58: +16 -17 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Apr 23 15:19:20 2010 UTC (12 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: 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
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.58: +16 -17 lines
Diff to previous 1.58 (colored)

Replace M_IOV and some malloc(9)s with kmem(9), and while there:
- Fix invalid free (M_TEMP vs M_IOV) in do_sys_recvmsg(), spotted by jakllsch@.
  Also, same fix in osf1_sys_sendmsg_xopen().
- Fix attempt to free non-allocated memory in error path in netbsd32___getfh30().
- Plug a memory leak in compat_43_netbsd32_orecvmsg().

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:17 2010 UTC (12 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53.2.1: +132 -2 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored)

sync with head

Revision 1.58 / (download) - annotate - [select for diffs], Mon Dec 14 00:47:11 2009 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.57: +132 -2 lines
Diff to previous 1.57 (colored)

Merge from matt-nb5-mips64

Revision 1.55.14.2 / (download) - annotate - [select for diffs], Mon Nov 16 22:52:27 2009 UTC (13 years, 2 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15
Changes since 1.55.14.1: +3 -5 lines
Diff to previous 1.55.14.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

remove debug printf

Revision 1.55.14.1 / (download) - annotate - [select for diffs], Sun Sep 13 06:19:43 2009 UTC (13 years, 4 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.55: +134 -2 lines
Diff to previous 1.55 (colored)

Move netbsd32___mount50 from netbsd32_netbsd.c to netbsd32_fs.c

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:25 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53: +20 -25 lines
Diff to previous 1.53 (colored)

sync with head.

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:08 2009 UTC (13 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.55.4.1: +4 -9 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jan 26 13:00:05 2009 UTC (14 years ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.56: +4 -9 lines
Diff to previous 1.56 (colored)

Make all fstat(2) compat syscalls consistently use do_sys_fstat(),
instead of fd_getfile()/fd_putfile() dance.

ok by christos.

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:36 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.55: +16 -14 lines
Diff to previous 1.55 (colored)

Sync with HEAD.

Revision 1.50.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:46 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.6.3: +14 -12 lines
Diff to previous 1.50.6.3 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:49 2009 UTC (14 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.55: +16 -14 lines
Diff to previous 1.55 (colored)

merge christos-time_t

Revision 1.55.10.2 / (download) - annotate - [select for diffs], Sun Jan 4 01:56:02 2009 UTC (14 years, 1 month ago) by christos
Branch: christos-time_t
Changes since 1.55.10.1: +758 -0 lines
Diff to previous 1.55.10.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

add new syscalls.

Revision 1.53.4.4 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:46 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.53.4.3: +4 -4 lines
Diff to previous 1.53.4.3 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.50.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:04 2008 UTC (14 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.6.2: +2 -2 lines
Diff to previous 1.50.6.2 (colored) to branchpoint 1.50 (colored)

Sync with HEAD.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:19 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with head.

Revision 1.55.10.1, Tue Jun 24 11:18:15 2008 UTC (14 years, 7 months ago) by christos
Branch: christos-time_t
Changes since 1.55: +0 -756 lines
FILE REMOVED

file netbsd32_fs.c was added on branch christos-time_t on 2009-01-04 01:56:02 +0000

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jun 24 11:18:15 2008 UTC (14 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, christos-time_t
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)

Replace references to getsock/getvnode.

Revision 1.53.4.3 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:55 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.53.4.2: +2 -4 lines
Diff to previous 1.53.4.2 (colored) to branchpoint 1.53 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:05 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.51.2.1: +2 -4 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

sync with head

Revision 1.50.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:06 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.6.1: +7 -5 lines
Diff to previous 1.50.6.1 (colored) to branchpoint 1.50 (colored)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Thu May 29 14:51:26 2008 UTC (14 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.53: +2 -4 lines
Diff to previous 1.53 (colored)

remove clause #3 from my license where there are no other
copyright holders involved.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:24 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.51: +9 -5 lines
Diff to previous 1.51 (colored)

sync with head.

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:09 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.53.4.1: +2 -3 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored)

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.

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:57 2008 UTC (14 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored)

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.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:27 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored)

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Apr 23 13:34:44 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.51: +7 -3 lines
Diff to previous 1.51 (colored)

Fix locking.

Revision 1.50.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:33 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50: +43 -66 lines
Diff to previous 1.50 (colored)

Sync with HEAD.

Revision 1.19.4.7 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:41 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.4.6: +43 -66 lines
Diff to previous 1.19.4.6 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Mar 21 21:54:58 2008 UTC (14 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.50: +43 -66 lines
Diff to previous 1.50 (colored)

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

Revision 1.46.8.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:28 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.46.8.2: +14 -6 lines
Diff to previous 1.46.8.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.19.4.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:41:50 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.4.5: +69 -126 lines
Diff to previous 1.19.4.5 (colored) to branchpoint 1.19 (colored)

sync with head

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:51:36 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.46: +75 -132 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with HEAD

Revision 1.48.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:49 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.48.4.1: +12 -4 lines
Diff to previous 1.48.4.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jan 5 19:14:08 2008 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2
Changes since 1.49: +14 -6 lines
Diff to previous 1.49 (colored)

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.

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:53:08 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.48: +55 -59 lines
Diff to previous 1.48 (colored)

Sync with HEAD

Revision 1.46.8.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:24 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.46.8.1: +57 -122 lines
Diff to previous 1.46.8.1 (colored) to branchpoint 1.46 (colored)

Sync with HEAD.

Revision 1.46.10.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:06 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.46.10.1: +57 -122 lines
Diff to previous 1.46.10.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

Sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:01 2007 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.48: +55 -59 lines
Diff to previous 1.48 (colored)

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 1.45.6.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:19 2007 UTC (15 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.45.6.1: +25 -86 lines
Diff to previous 1.45.6.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Dec 8 18:36:18 2007 UTC (15 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.47: +19 -80 lines
Diff to previous 1.47 (colored)

ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.46.8.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:59 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.46: +8 -8 lines
Diff to previous 1.46 (colored)

Sync with HEAD.

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:56:58 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.46: +8 -8 lines
Diff to previous 1.46 (colored)

Sync with head.

Revision 1.19.4.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:28:48 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.4.4: +8 -8 lines
Diff to previous 1.19.4.4 (colored) to branchpoint 1.19 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Tue Dec 4 18:40:20 2007 UTC (15 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base
Changes since 1.46: +8 -8 lines
Diff to previous 1.46 (colored)

Remove all the __P

Revision 1.19.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:32:38 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.4.3: +154 -294 lines
Diff to previous 1.19.4.3 (colored) to branchpoint 1.19 (colored)

sync with head.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:20:01 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.45: +14 -28 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.36.2.6 / (download) - annotate - [select for diffs], Mon Aug 20 21:25:57 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.36.2.5: +14 -28 lines
Diff to previous 1.36.2.5 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:02:53 2007 UTC (15 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.45: +14 -28 lines
Diff to previous 1.45 (colored)

Sync with HEAD.

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

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

Revision 1.36.2.5 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:13 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.36.2.4: +43 -3 lines
Diff to previous 1.36.2.4 (colored)

Sync with head.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:29 2007 UTC (15 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.37: +139 -254 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jun 30 15:31:50 2007 UTC (15 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.44: +39 -2 lines
Diff to previous 1.44 (colored)

Changes to sompat socket function to avoid the dreaded stackgap.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jun 9 21:25:50 2007 UTC (15 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.43: +6 -3 lines
Diff to previous 1.43 (colored)

Acquire proclist_mutex before sending signals. XXX irix emul needs a bit
of work.

Revision 1.36.2.4 / (download) - annotate - [select for diffs], Sun May 27 14:35:19 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.36.2.3: +87 -234 lines
Diff to previous 1.36.2.3 (colored)

Sync with head.

Revision 1.35.2.4 / (download) - annotate - [select for diffs], Thu May 17 13:41:16 2007 UTC (15 years, 8 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.35.2.3: +47 -61 lines
Diff to previous 1.35.2.3 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Sat May 12 17:28:19 2007 UTC (15 years, 9 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.42: +47 -61 lines
Diff to previous 1.42 (colored)

Change the compat sys_[fl]utime code to not use the stackgap.

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Mon May 7 10:55:16 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.35.2.2: +50 -183 lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Apr 30 08:32:15 2007 UTC (15 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.41: +46 -176 lines
Diff to previous 1.41 (colored)

Split the statvfs functions so that the 'work' is done to a kernel buffer
which can either be copied directly to userspace, or converted then copied.
Saves replicating a lot of code in the compat functions (esp. for
getvfsstat) at a cast of an extra function call in the non-emulated case -
which is unlikely to be measurable given the other costs of the actions
involved (even on vax).
Remove dofhstat() and dofhstatvfs() (and the last caller).
Remove some redundant stackgap_init() calls.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Apr 22 10:54:43 2007 UTC (15 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored)

Actually report an error when sys__stat30() fails.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Apr 22 08:29:58 2007 UTC (15 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.39: +5 -10 lines
Diff to previous 1.39 (colored)

Change the way that emulations locate files within the emulation root to
  avoid having to allocate space in the 'stackgap'
  - which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
  the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
  during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
  search for absolute pathnames in the emulation root, if that fails it will
  retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
  of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
  relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
  inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
  the real root is returned instead (matching the behaviour of emul_lookup,
  but being a cheap comparison here) so that programs that scan "../.."
  looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
  CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
  TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:28 2007 UTC (15 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.36.2.2: +25 -33 lines
Diff to previous 1.36.2.2 (colored)

Sync with head.

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:41 2007 UTC (15 years, 10 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.37.4.1: +23 -31 lines
Diff to previous 1.37.4.1 (colored) next main 1.38 (colored)

Pullup to -current

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:14 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.35.2.1: +25 -33 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 18 21:38:33 2007 UTC (15 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.38: +23 -31 lines
Diff to previous 1.38 (colored)

Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Sun Mar 18 00:06:36 2007 UTC (15 years, 10 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

First attempt to bring branch in sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 16 22:21:41 2007 UTC (15 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

remove all the double (and triple) casts used to convert 32bit userspace
pointers to and from 64bit kernel pointers.  Instead use the defines
NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64)
to write a 32bit pointer throughout.
The 32bit pointer is now a struct to enforce the above.
amd64 (with linux emul) and sparc64 will both compile (when the arch stuff
goes in soon), and amd64 still runs some i386 binaries.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:27 2007 UTC (15 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.36.2.1: +7 -7 lines
Diff to previous 1.36.2.1 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:19 2007 UTC (15 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.36: +5 -16 lines
Diff to previous 1.36 (colored)

Sync with head.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:52:32 2007 UTC (15 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.35: +19 -30 lines
Diff to previous 1.35 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 10 21:40:25 2007 UTC (15 years, 11 months ago) by dsl
Branch: MAIN
Branch point for: reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.36: +5 -16 lines
Diff to previous 1.36 (colored)

Update all the compat stuff to not use the 'stackgap' for processing
sys_stat() and friends, instead use do_sys_stat() and do_sys_fstat()
that write the answer into a kernel buffer (on stack) that can be
converted to the correct form and written the userspace.
I've test compiled a few kernels, and tested i386 netbsd1.6 ls.
Given I think I've fixed some bugs, it might be 50-50 with new ones.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:26 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.35: +16 -16 lines
Diff to previous 1.35 (colored)

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

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:31 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.4.2: +2 -3 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:22 2007 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 (colored)

Merge newlock2 to head.

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:35 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.33.4.1: +2 -3 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Remove support for SA. Ok core@.

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:42 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.4.1: +40 -45 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored)

sync with head.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:48 2006 UTC (16 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:12 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored)

Sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Nov 14 13:34:29 2006 UTC (16 years, 2 months ago) by elad
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.33: +6 -6 lines
Diff to previous 1.33 (colored)

Clean some KAUTH_GENERIC_ISSUSER usage in compat code.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:46:12 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.23: +68 -31 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:29 2006 UTC (16 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.24.2.2: +40 -45 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Fri Aug 4 16:29:51 2006 UTC (16 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.32: +5 -6 lines
Diff to previous 1.32 (colored)

some filehandle syscall related changes.

- remove the support of variable-sized filehandle from compat version of
  syscalls.  (strictly speaking, it breaks abi.  i don't think it's a problem
  because this feature is short-lived and there are no affected in-tree
  filesystems.)
- unify vfs_copyinfh_alloc and vfs_copyinfh_alloc_size.
- vfs_copyinfh_alloc_size: check fhsize strictly.
- reduce code duplication between compat and current syscalls.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 31 16:34:43 2006 UTC (16 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.31: +14 -11 lines
Diff to previous 1.31 (colored)

Make filehandles opaque to userland

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:09 2006 UTC (16 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.30: +8 -10 lines
Diff to previous 1.30 (colored)

Use the LWP cached credentials where sane.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 16 07:52:02 2006 UTC (16 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.29: +5 -4 lines
Diff to previous 1.29 (colored)

adapt to vfs_copyinfh -> vfs_copyinfh_alloc rename.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jul 14 22:09:01 2006 UTC (16 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.28: +24 -31 lines
Diff to previous 1.28 (colored)

netbsd32_sys___fhstat30 and netbsd32_sys___fhstatvfs have nothing to do
with compat_30 - so use full/variable sized filehandles here too.
Fixes PR kern/34004.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:14 2006 UTC (16 years, 7 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.27: +9 -8 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Merge from HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jul 13 12:00:25 2006 UTC (16 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.27: +9 -8 lines
Diff to previous 1.27 (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.19.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:59:35 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19: +114 -71 lines
Diff to previous 1.19 (colored)

sync with head.

Revision 1.23.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:52 2006 UTC (16 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.23.6.1: +49 -5 lines
Diff to previous 1.23.6.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with head.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:28 2006 UTC (16 years, 8 months ago) by tron
Branch: peter-altq
Changes since 1.25: +49 -5 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:57:31 2006 UTC (16 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.24.2.1: +49 -5 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Sun May 14 21:24:50 2006 UTC (16 years, 8 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Changes since 1.26: +8 -6 lines
Diff to previous 1.26 (colored)

integrate kauth.

Revision 1.24.4.6 / (download) - annotate - [select for diffs], Fri May 12 23:06:36 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.24.4.5: +4 -3 lines
Diff to previous 1.24.4.5 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

adapt to kauth kpi, include sys/kauth.h where needed..

Revision 1.24.4.5 / (download) - annotate - [select for diffs], Fri May 12 14:50:52 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.24.4.4: +3 -2 lines
Diff to previous 1.24.4.4 (colored) to branchpoint 1.24 (colored)

include sys/kauth.h where appropriate.

Revision 1.24.4.4 / (download) - annotate - [select for diffs], Thu May 11 23:27:31 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.24.4.3: +44 -2 lines
Diff to previous 1.24.4.3 (colored) to branchpoint 1.24 (colored)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 5 13:31:30 2006 UTC (16 years, 9 months ago) by cube
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.25: +44 -2 lines
Diff to previous 1.25 (colored)

Move fhstat as sys___fhstat30 in netbsd32_fs.c because it doesn't belong
to netbsd32_netbsd.c (which incidentally means it had been broken for a
while I guess).  Add compat_30 version.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:17 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.23: +6 -8 lines
Diff to previous 1.23 (colored)

Sync with head.

Revision 1.24.4.3 / (download) - annotate - [select for diffs], Wed Apr 19 04:01:22 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.24.4.2: +4 -4 lines
Diff to previous 1.24.4.2 (colored) to branchpoint 1.24 (colored)

sync with head.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:41 2006 UTC (16 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 15 11:36:42 2006 UTC (16 years, 10 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, peter-altq-base
Branch point for: peter-altq
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Move malloc calls outside of the block where a lock is held.

Revision 1.24.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:28:52 2006 UTC (16 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.24.4.1: +3 -3 lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:48:38 2006 UTC (16 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Adapt to kernel authorization KPI.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:12 2006 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.23: +4 -6 lines
Diff to previous 1.23 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 09:47:03 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.23: +4 -6 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

adapt the rest of MI code.

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

merge ktrace-lwp.

Revision 1.14.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:01:21 2005 UTC (17 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.7: +15 -14 lines
Diff to previous 1.14.2.7 (colored) next main 1.15 (colored)

Sync with HEAD. Here we go again...

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 19 04:24:38 2005 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, 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.21: +14 -13 lines
Diff to previous 1.21 (colored)

Fix lossage I created with the 64 bit ino_t change.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 19 02:03:57 2005 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

64 bit inode changes.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 10 16:34:53 2005 UTC (17 years, 7 months ago) by cube
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

NOFOLLOW should be passed to NDINIT() instead of FOLLOW for lstat(2).
Reported by Martin Husemann.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:41 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.18: +7 -7 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with -current

Revision 1.18.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:43 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.18: +7 -7 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.14.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:20 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.6: +7 -7 lines
Diff to previous 1.14.2.6 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 26 23:10:21 2005 UTC (17 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.18: +7 -7 lines
Diff to previous 1.18 (colored)

nuke trailing whitespace

Revision 1.14.2.6 / (download) - annotate - [select for diffs], Sat Feb 19 13:14:06 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.5: +4 -5 lines
Diff to previous 1.14.2.5 (colored)

Make this compile for both KTRACE and !KTRACE builds.

Revision 1.14.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:25:53 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.4: +54 -53 lines
Diff to previous 1.14.2.4 (colored)

Fix the sync with head I botched.

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:43:58 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.3: +53 -54 lines
Diff to previous 1.14.2.3 (colored)

Sync with HEAD.

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Thu Aug 26 19:28:30 2004 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.2: +45 -44 lines
Diff to previous 1.14.2.2 (colored)

Adapt to branch.

sparc64 GENERIC compiles.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:21 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.1: +179 -96 lines
Diff to previous 1.14.2.1 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 17 18:29:40 2004 UTC (18 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.17: +178 -94 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Thu Apr 22 14:32:09 2004 UTC (18 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.16: +11 -12 lines
Diff to previous 1.16 (colored)

Fix statfs->statvfs fallout.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:36 2004 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 21 01:20:12 2003 UTC (19 years, 3 months ago) by fvdl
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.14: +3 -3 lines
Diff to previous 1.14 (colored)

Don't compare an integer value against 0.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:51 2003 UTC (19 years, 7 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.14: +11 -11 lines
Diff to previous 1.14 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:37 2003 UTC (19 years, 7 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.13: +74 -59 lines
Diff to previous 1.13 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 29 13:35:38 2003 UTC (19 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.12: +50 -65 lines
Diff to previous 1.12 (colored)

struct proc * -> struct lwp *

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:24 2003 UTC (19 years, 7 months ago) by darrenr
Branch: MAIN
Changes since 1.11: +11 -11 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 18 08:28:26 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.10: +48 -33 lines
Diff to previous 1.10 (colored)

Merge the nathanw_sa branch.

Revision 1.1.4.7 / (download) - annotate - [select for diffs], Mon Nov 11 22:07:50 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.4.6: +38 -25 lines
Diff to previous 1.1.4.6 (colored) next main 1.2 (colored)

Catch up to -current

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 23 13:16:43 2002 UTC (20 years, 3 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.9: +38 -25 lines
Diff to previous 1.9 (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.1.4.6 / (download) - annotate - [select for diffs], Fri Aug 23 02:37:10 2002 UTC (20 years, 5 months ago) by petrov
Branch: nathanw_sa
Changes since 1.1.4.5: +47 -33 lines
Diff to previous 1.1.4.5 (colored)

lwpification.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:44:31 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.1: +58 -28 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

catch up with -current on kqueue branch

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Wed May 29 21:32:49 2002 UTC (20 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.4: +3 -2 lines
Diff to previous 1.1.4.4 (colored)

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

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:44:33 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.3: +57 -27 lines
Diff to previous 1.1.4.3 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 24 15:19:24 2002 UTC (20 years, 10 months ago) by jdolecek
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.8: +56 -26 lines
Diff to previous 1.8 (colored)

use FILE_USE()/FILE_UNUSE() as appropriate, use malloc()/free()
instead of MALLOC()/FREE() for variable-size allocations (sync
with kern/sys_generic.c)
XXX not tested

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 16 20:43:54 2002 UTC (20 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:51:54 2002 UTC (21 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

Sync kqueue branch with -current.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:13:16 2001 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.2: +4 -1 lines
Diff to previous 1.1.4.2 (colored)

Catch up to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 13 02:09:05 2001 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

add RCSIDs (including regeneration of files as appropriate)

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:00:01 2001 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.1: +23 -29 lines
Diff to previous 1.1.4.1 (colored)

Catch up to -current.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 14 20:32:44 2001 UTC (21 years, 8 months ago) by thorpej
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
Branch point for: kqueue
Changes since 1.5: +18 -15 lines
Diff to previous 1.5 (colored)

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.

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 30 11:37:28 2001 UTC (21 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

use _KERNEL_OPT.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:20 2001 UTC (21 years, 9 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.2: +5 -14 lines
Diff to previous 1.1.2.2 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 9 10:22:01 2001 UTC (21 years, 10 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Change the first arg to fileops fo_stat routine to struct file *, adjust
callers and appropriate routines to cope. This makes fo_stat more
consistent with rest of fileops routines and also makes the fo_stat
match FreeBSD as an added bonus.
Discussed with Luke Mewburn on tech-kern@.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 9 09:39:10 2001 UTC (21 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.2: +5 -14 lines
Diff to previous 1.2 (colored)

Call file descriptor stat function via (*fp->f_ops->fo_stat) instead
of a switch statement and explicit call.
Sprinkle some FILE_USE()/FILE_UNUSE() as appropriate.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:55:43 2001 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Catch up with -current.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 8 08:01:36 2001 UTC (21 years, 10 months ago) by ross
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Fix soo_stat() calls for the new parameter, even if the direct call is
now obsolete, so that kernels will at least compile. I guess it was too
much trouble to change all 10 call sites, or perhaps, these days, only
things that build on i386 are important. Maybe it's the full moon tonight.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:14:13 2001 UTC (22 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.1: +799 -0 lines
Diff to previous 1.1.2.1 (colored)

Sync with HEAD.

Revision 1.1.2.1, Thu Feb 8 13:19:33 2001 UTC (22 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +0 -799 lines
FILE REMOVED

file netbsd32_fs.c was added on branch thorpej_scsipi on 2001-02-11 19:14:13 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 8 13:19:33 2001 UTC (22 years ago) by mrg
Branch: MAIN
Branch point for: thorpej_scsipi, nathanw_sa

split up netbsd32_netbsd.c into 9 new files, leaving only those syscalls that
have no special interpretations besides simple syscall args conversion.

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>