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
Current tag: MAIN


Revision 1.40 / (download) - annotate - [select for diffs], Fri Mar 1 11:06:57 2019 UTC (8 months, 2 weeks ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9, isaki-audio2-base, isaki-audio2, HEAD
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (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 (9 months, 2 weeks ago) by pgoyette
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (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 (9 months, 3 weeks ago) by pgoyette
Branch: MAIN
Changes since 1.37: +5 -8 lines
Diff to previous 1.37 (colored)

Merge the [pgoyette-compat] branch

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 24 22:50:32 2015 UTC (4 years, 2 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-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 garnish, dust with _KERNEL_OPT

Revision 1.36 / (download) - annotate - [select for diffs], Thu Aug 20 09:45:45 2015 UTC (4 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (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 (5 years, 1 month 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)

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 (5 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:40 2014 UTC (5 years, 3 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)

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.32 / (download) - annotate - [select for diffs], Fri Apr 4 18:11:58 2014 UTC (5 years, 7 months 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)

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 (5 years, 7 months 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)

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 (5 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.29: +10 -3 lines
Diff to previous 1.29 (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 (5 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.28: +24 -6 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Fri Oct 19 16:55:22 2012 UTC (7 years, 1 month 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)

Add COMPAT_60 versions of the TIOCPTMGET and TIOCPTSNAME ioctls.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:11 2010 UTC (9 years, 4 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)

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.26 / (download) - annotate - [select for diffs], Thu Jan 22 14:38:35 2009 UTC (10 years, 9 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)

malloc -> kmem_alloc

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:05 2008 UTC (11 years, 6 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)

Remove clause 3 and 4 from TNF licenses

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (11 years, 8 months 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)

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

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 24 17:32:54 2008 UTC (11 years, 9 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)

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.22 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:55 2008 UTC (11 years, 10 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)

Merge vmlocking2 to head.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:05 2007 UTC (11 years, 11 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)

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.20 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:26 2007 UTC (12 years, 1 month 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)

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.19 / (download) - annotate - [select for diffs], Mon Mar 26 22:52:44 2007 UTC (12 years, 7 months 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)

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

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

Use mutexes/condvars.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:10 2007 UTC (12 years, 8 months 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)

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

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 27 18:45:30 2006 UTC (12 years, 10 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)

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

ok christos@

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:59 2006 UTC (13 years 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)

remove some __unused from function parameters.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:19 2006 UTC (13 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.13: +8 -6 lines
Diff to previous 1.13 (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 (13 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.12: +11 -6 lines
Diff to previous 1.12 (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 (13 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.11: +19 -2 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:11 2006 UTC (13 years, 3 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)

Use the LWP cached credentials where sane.

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

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

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 14 21:15:11 2006 UTC (13 years, 6 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)

integrate kauth.

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

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

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (13 years, 11 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)

merge ktrace-lwp.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 9 01:06:15 2005 UTC (13 years, 11 months ago) by he
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (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 (13 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +11 -14 lines
Diff to previous 1.4 (colored)

Sprinkle static.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 30 04:25:44 2004 UTC (14 years, 11 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)

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.3 / (download) - annotate - [select for diffs], Wed Nov 24 22:19:27 2004 UTC (14 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -7 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 13 08:46:46 2004 UTC (15 years ago) by christos
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (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 (15 years ago) by christos
Branch: MAIN

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>