The NetBSD Project

CVS log for src/sys/kern/tty_ptm.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.46 / (download) - annotate - [select for diffs], Sun Apr 9 09:18:09 2023 UTC (12 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.45: +4 -3 lines
Diff to previous 1.45 (colored)

kern: KASSERT(A && B) -> KASSERT(A); KASSERT(B)

Revision 1.45 / (download) - annotate - [selected], Thu Sep 29 12:18:27 2022 UTC (18 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.44: +4 -2 lines
Diff to previous 1.44 (colored)

Add fd_set_exclose(). It is probably better to do this automatically in
fd_affix()...

Revision 1.44 / (download) - annotate - [select for diffs], Sat Sep 24 16:29:27 2022 UTC (18 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.43: +10 -9 lines
Diff to previous 1.43 (colored) to selected 1.45 (colored)

Propagate the open flags to the master pty (Anthony Mallet)

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:38 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jun 29 22:40:53 2021 UTC (2 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored) to selected 1.45 (colored)

Add containment for the cloning devices hack in vn_open.

Cloning devices (and also things like /dev/stderr) work by allocating
a struct file, stuffing it in the file table (which is a layer
violation), stuffing the file descriptor number for it in a magic
field of struct lwp (which is gross), and then "failing" with one of
two magic errnos, EDUPFD or EMOVEFD.

Before this commit, all callers of vn_open in the kernel (there are
quite a few) were expected to check for these errors and handle the
situation. Needless to say, none of them except for open() itself did,
resulting in internal negative errnos being returned to userspace.

This hack is fairly deeply rooted and cannot be eliminated all at
once. This commit adds logic to handle the magic errnos inside
vn_open; now on success vn_open returns either a vnode or an integer
file descriptor, along with a flag that says whether the underlying
code requested EDUPFD or EMOVEFD. Callers not prepared to cope with
file descriptors can pass NULL for the extra return values, in which
case if a file descriptor would be produced vn_open fails with
EOPNOTSUPP.

Since I'm rearranging vn_open's signature anyway, stop exposing struct
nameidata. Instead, take three arguments: an optional vnode to use as
the starting point (like openat()), the path, and additional namei
flags to use, restricted to NOCHROOT and TRYEMULROOT. (Other namei
behavior, e.g. NOFOLLOW, can be requested via the open flags.)

This change requires a kernel bump. Ride the one an hour ago.
(That was supposed to be coordinated; did not intend to let an hour
slip by. My fault.)

Revision 1.42 / (download) - annotate - [select for diffs], Sat May 23 22:16:17 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.41: +5 -3 lines
Diff to previous 1.41 (colored) to selected 1.45 (colored)

PR kern/55237: Panic: vrelel: bad ref count (9.99.54)

Adjust v_writecount with v_interlock held.

Revision 1.37.18.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:52 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.37.18.1: +3 -4 lines
Diff to previous 1.37.18.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.45 (colored)

Merge changes from current as of 20200406

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 30 20:45:49 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.40: +3 -4 lines
Diff to previous 1.40 (colored) to selected 1.45 (colored)

VOP_UNLOCK + vrele -> vput

Revision 1.37.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:04 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.37: +5 -8 lines
Diff to previous 1.37 (colored) to selected 1.45 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Fri Mar 1 11:06:57 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.45 (colored)

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 29 09:28:50 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.45 (colored)

Normalize all the compat hooks' names to the form

	<subsystem>_<function>_<version>_hook

NFCI

XXX Note that although this introduces a change in the kernel-to-
XXX module interface, we are NOT bumping the kernel version number.
XXX We will bump the version number once the interface stabilizes.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:43 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.37: +5 -8 lines
Diff to previous 1.37 (colored) to selected 1.45 (colored)

Merge the [pgoyette-compat] branch

Revision 1.37.16.6 / (download) - annotate - [select for diffs], Tue Jan 22 07:42:41 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.37.16.5: +4 -21 lines
Diff to previous 1.37.16.5 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.45 (colored)

Convert the MODULE_{,VOID_}HOOK_CALL macros to do everything in-line
rather than defining an intermediate hook##call function.  Almost
all of the hooks are called only once, and although we lose the
ability of doing things like

	if (MODULE_HOOK_CALL(...) == 0) ...

we simplify things quite a bit.  With this change, we no longer need
to have both declaration and definition macros, and the definition
no longer needs to have both prototype argument list and a "real"
argument list.

FWIW, the above if now needs to written as

	int ret;

	MODULE_HOOK_CALL(..., ret);
	if (ret == 0) ...

with appropriate use of braces {}.

Revision 1.37.16.5 / (download) - annotate - [select for diffs], Fri Jan 18 00:01:01 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.37.16.4: +4 -4 lines
Diff to previous 1.37.16.4 (colored) to branchpoint 1.37 (colored) to selected 1.45 (colored)

Don't restrict hooks to having only int or void types.  Pass the hook's
type to the various macros, as needed.

Allows us to reduce diffs to original in at least one or two places (we
no longer have to provide an additional parameter to the hook routine
for returning a non-int return value).

Revision 1.37.16.4 / (download) - annotate - [select for diffs], Mon Jan 14 13:34:28 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.37.16.3: +4 -4 lines
Diff to previous 1.37.16.3 (colored) to branchpoint 1.37 (colored) to selected 1.45 (colored)

Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.

Revision 1.37.16.3 / (download) - annotate - [select for diffs], Sun Jan 13 10:49:50 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.37.16.2: +5 -5 lines
Diff to previous 1.37.16.2 (colored) to branchpoint 1.37 (colored) to selected 1.45 (colored)

Remove the HOOK2 versions of the MODULE_HOOK macros.  There were
only a few uses, and using them led to some lack of clarity in the
code.  Instead, we now use two separate hooks, with names that
make it clear(er) what we're doing.

This also positions us to start unraveling some of the rtsock_50
mess, which will need (at least) five hooks.

Revision 1.37.16.2 / (download) - annotate - [select for diffs], Mon Oct 15 09:51:34 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.37.16.1: +22 -3 lines
Diff to previous 1.37.16.1 (colored) to branchpoint 1.37 (colored) to selected 1.45 (colored)

Convert another hook to the MP-sfe mechanism.

XXX still have three more to convert: openat_10, sysvipc50_sysctl and
XXX compat70_unp_addsockcred

Revision 1.37.16.1 / (download) - annotate - [select for diffs], Tue Sep 4 02:21:58 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.37: +3 -8 lines
Diff to previous 1.37 (colored) to selected 1.45 (colored)

Separate COMPAT_BSDPTY stuff from tty COMPAT_60 stuff.  Enables
building of COMPAT_60 module whether or not COMPAT_BSDPTY is
defined in the kernel.

Revision 1.27.18.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:45 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.27.18.2: +7 -20 lines
Diff to previous 1.27.18.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.45 (colored)

update from HEAD

Revision 1.37.8.2 / (download) - annotate - [select for diffs], Sat Apr 29 11:12:15 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.37.8.1: +2 -3 lines
Diff to previous 1.37.8.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.45 (colored)

Remove more unnecessary #include for sys/localcount.h

Revision 1.37.8.1 / (download) - annotate - [select for diffs], Thu Apr 27 05:36:37 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.37: +6 -3 lines
Diff to previous 1.37 (colored) to selected 1.45 (colored)

Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Tue Jul 26 05:54:40 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37.2.2: +4 -4 lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.45 (colored)

Rename LOCALCOUNT_INITIALIZER to DEVSW_MODULE_INIT.  This better describes
what we're doing, and why.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Jul 19 06:27:00 2016 UTC (7 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37.2.1: +4 -12 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) to selected 1.45 (colored)

Instead of repeatedly typing the conditional initialization of the
.d_localcount members in the various {b,c}devsw, define an initializer
macro and use it.  This also removes the need for defining new symbols
for each 'struct localcount'.

As suggested by riastradh@

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Jul 18 03:50:00 2016 UTC (7 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37: +14 -3 lines
Diff to previous 1.37 (colored) to selected 1.45 (colored)

Rump drivers are always installed via devsw_attach() so we need to
always allocate a 'struct localcount' for these drivers whenever they
are built as modules.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:07 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35: +6 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.45 (colored)

Sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 24 22:50:32 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, phil-wifi, pgoyette-localcount, pgoyette-compat
Changes since 1.36: +4 -2 lines
Diff to previous 1.36 (colored) to selected 1.45 (colored)

to garnish, dust with _KERNEL_OPT

Revision 1.36 / (download) - annotate - [select for diffs], Thu Aug 20 09:45:45 2015 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) to selected 1.45 (colored)

include ioconf.h instead of locally declaring the prototype of the attach
function

Revision 1.35 / (download) - annotate - [select for diffs], Wed Oct 15 15:00:03 2014 UTC (9 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.34: +3 -18 lines
Diff to previous 1.34 (colored) to selected 1.45 (colored)

From Ilia Zykov:
- correct some incorrect comments
- add XXX warning
- increase security by activating when get the slave
- make pty_vn_open() private to tty_ptm.c

Revision 1.34 / (download) - annotate - [select for diffs], Fri Sep 5 09:20:59 2014 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) to selected 1.45 (colored)

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

Revision 1.27.18.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:29 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.27.18.1: +83 -24 lines
Diff to previous 1.27.18.1 (colored) to branchpoint 1.27 (colored) to selected 1.45 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:58 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.45 (colored)

Rebase.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:40 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-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.32: +4 -2 lines
Diff to previous 1.32 (colored) to selected 1.45 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.27.8.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:03 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.27.8.1: +81 -24 lines
Diff to previous 1.27.8.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.45 (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.28.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:08 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.28: +81 -24 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.45 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Fri Apr 4 18:11:58 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Branch point for: tls-earlyentropy
Changes since 1.31: +23 -26 lines
Diff to previous 1.31 (colored) to selected 1.45 (colored)

Kernel portion of the multiple ptyfs mount support. Protocol changed
between kernel and module, so bump. (Ilya Zykov)

Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 27 17:31:56 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Changes since 1.30: +55 -20 lines
Diff to previous 1.30 (colored) to selected 1.45 (colored)

From Ilya Zykov:
- ifdef out some code that is only used for NO_DEV_PTM
- pass the mountpoint instead of the ptm structure to the implementation
  dependent (ptyfs or bsdpty) functions.
- add a function to return the correct ptyfs mountpoint for the current lwp

Revision 1.30 / (download) - annotate - [select for diffs], Wed Mar 19 18:11:17 2014 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.29: +10 -3 lines
Diff to previous 1.29 (colored) to selected 1.45 (colored)

fix leak on error from pty_fill_ptmget (Ilya Zykov)

Revision 1.29 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:30 2014 UTC (10 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.28: +24 -6 lines
Diff to previous 1.28 (colored) to selected 1.45 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.27.18.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:44 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.27: +12 -2 lines
Diff to previous 1.27 (colored) to selected 1.45 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:36 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.27: +12 -2 lines
Diff to previous 1.27 (colored) to selected 1.45 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 19 16:55:22 2012 UTC (11 years, 6 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.27: +12 -2 lines
Diff to previous 1.27 (colored) to selected 1.45 (colored)

Add COMPAT_60 versions of the TIOCPTMGET and TIOCPTSNAME ioctls.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:32 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.24.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:43 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.4.2: +6 -6 lines
Diff to previous 1.24.4.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:55 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.45 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:11 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, 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, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, 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, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored) to selected 1.45 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.24.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:49 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.4.1: +2 -3 lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:57 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 22 14:38:35 2009 UTC (15 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base1, uebayasi-xip-base, 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
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored) to selected 1.45 (colored)

malloc -> kmem_alloc

Revision 1.23.6.3 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:13 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23.6.2: +2 -9 lines
Diff to previous 1.23.6.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:11 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.24: +2 -9 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:27 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24: +2 -9 lines
Diff to previous 1.24 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.23.6.2 / (download) - annotate - [select for diffs], Thu May 1 15:36:37 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23.6.1: +23 -17 lines
Diff to previous 1.23.6.1 (colored) to branchpoint 1.23 (colored) to selected 1.45 (colored)

Create /dev/ptm{,x} dynamically.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:05 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.24: +2 -9 lines
Diff to previous 1.24 (colored) to selected 1.45 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:05 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.23: +16 -28 lines
Diff to previous 1.23 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.4.12.8 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:02 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.12.7: +16 -28 lines
Diff to previous 1.4.12.7 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.19.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:01 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.19.10.2: +5 -9 lines
Diff to previous 1.19.10.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.45 (colored)

sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.23: +16 -28 lines
Diff to previous 1.23 (colored) to selected 1.45 (colored)

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

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:48 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.20.4.1: +5 -9 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.4.12.7 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:21 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.12.6: +5 -9 lines
Diff to previous 1.4.12.6 (colored) to branchpoint 1.4 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 24 17:32:54 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: mjf-devfs2
Changes since 1.22: +5 -9 lines
Diff to previous 1.22 (colored) to selected 1.45 (colored)

specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.

- Kill checkalias(). Allow multiple vnodes to reference a single device.

- Don't play dangerous tricks with block vnodes to ensure that only one
  vnode can describe a block device. Instead, prohibit concurrent opens of
  block devices. As a bonus remove the unreliable code that prevents
  multiple file system mounts on the same device. It's no longer needed.

- Track opens by vnode and by device. Issue cdev_close() when the last open
  goes away, instead of abusing vnode::v_usecount to tell if the device is
  open.

Revision 1.4.12.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:28 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.12.5: +4 -4 lines
Diff to previous 1.4.12.5 (colored) to branchpoint 1.4 (colored) to selected 1.45 (colored)

sync with head

Revision 1.19.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:26 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.19.10.1: +6 -6 lines
Diff to previous 1.19.10.1 (colored) to branchpoint 1.19 (colored) to selected 1.45 (colored)

sync with HEAD

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:19 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.45 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:55 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.45 (colored)

Merge vmlocking2 to head.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:41 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.4.12.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:15 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.12.4: +4 -4 lines
Diff to previous 1.4.12.4 (colored) to branchpoint 1.4 (colored) to selected 1.45 (colored)

sync with head

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:19 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.45 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.19.8.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:13 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.19.8.1: +4 -4 lines
Diff to previous 1.19.8.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.45 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:05 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.45 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.19.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:32:39 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.19: +8 -4 lines
Diff to previous 1.19 (colored) to selected 1.45 (colored)

sync with HEAD

Revision 1.4.12.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:38 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.12.3: +8 -4 lines
Diff to previous 1.4.12.3 (colored) to branchpoint 1.4 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:44 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.19: +8 -4 lines
Diff to previous 1.19 (colored) to selected 1.45 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.19.12.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:48 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.19: +8 -4 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:26 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.19: +8 -4 lines
Diff to previous 1.19 (colored) to selected 1.45 (colored)

Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.

Revision 1.4.12.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:15 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.12.2: +6 -7 lines
Diff to previous 1.4.12.2 (colored) to branchpoint 1.4 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:16 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.17: +5 -6 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.45 (colored)

Sync with head.

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:30 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.17.2.2: +8 -4 lines
Diff to previous 1.17.2.2 (colored) next main 1.18 (colored) to selected 1.45 (colored)

- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:52 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.16.2.2: +2 -3 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:41 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.17.2.1: +2 -3 lines
Diff to previous 1.17.2.1 (colored) to selected 1.45 (colored)

Sync with head.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:58 2007 UTC (17 years ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.45 (colored)

Pullup to -current

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 26 22:52:44 2007 UTC (17 years ago) by hubertf
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) to selected 1.45 (colored)

Remove duplicate #include's
From: Slava Semushin <php-coder@altlinux.ru>

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:05 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.16.2.1: +5 -5 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:58 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored) to selected 1.45 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 12 21:33:07 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
Branch point for: reinoud-bufcleanup
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored) to selected 1.45 (colored)

Use mutexes/condvars.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:44 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:10 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.45 (colored)

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

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:07 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.11.4.1: +12 -8 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.45 (colored)

Sync with head.

Revision 1.4.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:07 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.12.1: +42 -26 lines
Diff to previous 1.4.12.1 (colored) to branchpoint 1.4 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 27 18:45:30 2006 UTC (17 years, 3 months ago) by alc
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.15: +12 -8 lines
Diff to previous 1.15 (colored) to selected 1.45 (colored)

CID-4197,4198: ensure that `fp' is not NULL before calling FILE_UNUSE()

ok christos@

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:45 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.11.6.1: +7 -8 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.11: +28 -5 lines
Diff to previous 1.11 (colored) to selected 1.45 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:59 2006 UTC (17 years, 5 months ago) by yamt
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, 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.14: +7 -8 lines
Diff to previous 1.14 (colored) to selected 1.45 (colored)

remove some __unused from function parameters.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.11: +33 -9 lines
Diff to previous 1.11 (colored) to selected 1.45 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:19 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.13: +8 -6 lines
Diff to previous 1.13 (colored) to selected 1.45 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 8 23:54:19 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.12: +11 -6 lines
Diff to previous 1.12 (colored) to selected 1.45 (colored)

Don't re-use dev in ptmopen, because we need to check the minor again for
linux. Add some more debugging.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 22 15:15:56 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.11: +19 -2 lines
Diff to previous 1.11 (colored) to selected 1.45 (colored)

PR/32682: Hauke Fath: netbsd-3 ptyfs intermittent failure with Matlab

For the benefit of linux emulation create a new minor device '2'
which is a ptmx with linux semantics. Linux changes the permissions
of the slave pty upon creation, not when grantpt(3) is called. The
glibc linux grantpt(3) checks that the pty is on ptyfs, and if it is,
it does nothing. To make use of this fix:

	mknod /emul/linux/dev/ptmx c 165 2
	chmod 666 /emul/linux/dev/ptmx

This is a lot simpler than copying a bunch of code and creating a
ptmx device just for the benefit of linux emulation.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:17 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7: +15 -25 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.45 (colored)

sync with head

Revision 1.7.8.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:47 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7.8.1: +10 -21 lines
Diff to previous 1.7.8.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.45 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:11 2006 UTC (17 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: 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.10: +9 -11 lines
Diff to previous 1.10 (colored) to selected 1.45 (colored)

Use the LWP cached credentials where sane.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 17 14:49:16 2006 UTC (17 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.9: +5 -14 lines
Diff to previous 1.9 (colored) to selected 1.45 (colored)

Just use proc0.p_cred where root credentials are needed, instead of
allocating a new kauth_cred_t.

Revision 1.4.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:39 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +50 -49 lines
Diff to previous 1.4 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.7.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:09 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.7.6.1: +9 -8 lines
Diff to previous 1.7.6.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.45 (colored)

Sync with head.

Revision 1.7.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:41 2006 UTC (17 years, 11 months ago) by tron
Branch: peter-altq
Changes since 1.7: +13 -12 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.45 (colored)

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

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:42 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7: +13 -12 lines
Diff to previous 1.7 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 14 21:15:11 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.8: +9 -8 lines
Diff to previous 1.8 (colored) to selected 1.45 (colored)

integrate kauth.

Revision 1.7.10.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:31 2006 UTC (17 years, 11 months ago) by christos
Branch: elad-kernelauth
Changes since 1.7.10.2: +3 -2 lines
Diff to previous 1.7.10.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.45 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:59 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored) to selected 1.45 (colored)

Sync with head.

Revision 1.7.10.2 / (download) - annotate - [select for diffs], Wed Apr 19 05:14:00 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.7.10.1: +6 -6 lines
Diff to previous 1.7.10.1 (colored) to branchpoint 1.7 (colored) to selected 1.45 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 13 17:44:24 2006 UTC (18 years ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored) to selected 1.45 (colored)

Strip the chrooted portion of the path from the reported pty path. Reported
and tested by Lasse Kliemann. Thanks!

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:53:41 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.7: +8 -8 lines
Diff to previous 1.7 (colored) to selected 1.45 (colored)

Adapt to kernel authorization KPI.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.6: +30 -27 lines
Diff to previous 1.6 (colored) to selected 1.45 (colored)

merge ktrace-lwp.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:12 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.2.2.4: +11 -14 lines
Diff to previous 1.2.2.4 (colored) next main 1.3 (colored) to selected 1.45 (colored)

Sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 9 01:06:15 2005 UTC (18 years, 4 months ago) by he
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.45 (colored)

Move a misplaced #endif, so that NO_DEV_PTM builds don't get a duplicate
definition of ptm_cdevsw.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 8 03:08:12 2005 UTC (18 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +11 -14 lines
Diff to previous 1.4 (colored) to selected 1.45 (colored)

Sprinkle static.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Sat Dec 18 09:32:35 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.3: +3 -3 lines
Diff to previous 1.2.2.3 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 30 04:25:44 2004 UTC (19 years, 4 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.45 (colored)

Cloning cleanup:
1. make fileops const
2. add 2 new negative errno's to `officially' support the cloning hack:
    - EDUPFD (used to overload ENODEV)
    - EMOVEFD (used to overload ENXIO)
3. Created an fdclone() function to encapsulate the operations needed for
   EMOVEFD, and made all cloners use it.
4. Centralize the local noop/badop fileops functions to:
   fnullop_fcntl, fnullop_poll, fnullop_kqfilter, fbadop_stat

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Mon Nov 29 07:24:51 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.2: +3 -7 lines
Diff to previous 1.2.2.2 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 24 22:19:27 2004 UTC (19 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -7 lines
Diff to previous 1.2 (colored) to selected 1.45 (colored)

Limit the hard-coding of things to tty_bsdpty.c.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:57 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.1: +398 -0 lines
Diff to previous 1.2.2.1 (colored) to selected 1.45 (colored)

Sync with HEAD.

Revision 1.2.2.1, Sat Nov 13 08:46:46 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +0 -395 lines
FILE REMOVED

file tty_ptm.c was added on branch ktrace-lwp on 2004-11-14 08:15:57 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 13 08:46:46 2004 UTC (19 years, 5 months ago) by christos
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored) to selected 1.45 (colored)

In TIOCPTSNAME return the minor number of the device in the fd portion of
the structures. It is more useful than -1 and cheap to do. Linux pty emulation
uses it.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Nov 10 17:29:54 2004 UTC (19 years, 5 months ago) by christos
Branch: MAIN
Diff to selected 1.45 (colored)

Split the ptm driver out of tty_pty.c into its own file. From that split
the code that `knows' about /dev/[pt]tyXX names (the BSD ptys) into a separate
file. Make an interface to be used by the tty creating provider. The code
to enable old PTY searching via ptm is enabled via COMPAT_BSDPTY, and it
is turned on by default on all kernels that have compatibility options enabled.

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>