OpenGrok
Cross Reference: tty_bsdpty.c
xref
: /
src
/
sys
/
kern
/
tty_bsdpty.c
Home
|
History
|
Annotate
|
Download
|
only in
kern
History log of
/src/sys/kern/tty_bsdpty.c
Revision
Date
Author
Comments
1.20
04-Apr-2014
christos
Kernel portion of the multiple ptyfs mount support. Protocol changed
between kernel and module, so bump. (Ilya Zykov)
1.19
27-Mar-2014
christos
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
1.18
26-Mar-2014
christos
in the bsdpty allocvp flavor, call the bsdpty mkname directly, since it is
the only one possible to be valid (Ilya Zykov)
1.17
19-Nov-2010
dholland
branches: 1.17.8; 1.17.18; 1.17.22;
Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.
Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).
The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
1.16
08-Jan-2010
pooka
branches: 1.16.4;
The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase). Plenty of mix'n match upper/lowercase has creeped
into the tree since then. Nuke the macros and convert all callsites
to lowercase.
no functional change
1.15
22-Jan-2009
yamt
malloc -> kmem_alloc
1.14
28-Apr-2008
martin
branches: 1.14.8;
Remove clause 3 and 4 from TNF licenses
1.13
08-Dec-2007
pooka
branches: 1.13.12; 1.13.14; 1.13.16;
Remove cn_lwp from struct componentname. curlwp should be used
from on. The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.
1.12
26-Mar-2007
hubertf
branches: 1.12.8; 1.12.10; 1.12.18;
Remove duplicate #include's
From: Slava Semushin <php-coder@altlinux.ru>
1.11
01-Nov-2006
yamt
branches: 1.11.4; 1.11.8; 1.11.10; 1.11.12;
remove some __unused from function parameters.
1.10
12-Oct-2006
christos
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
1.9
23-Jul-2006
ad
branches: 1.9.4; 1.9.6;
Use the LWP cached credentials where sane.
1.8
14-May-2006
elad
integrate kauth.
1.7
13-Apr-2006
christos
Strip the chrooted portion of the path from the reported pty path. Reported
and tested by Lasse Kliemann. Thanks!
1.6
23-Mar-2006
christos
Fix old pty name resolution for ptys > 256
1.5
11-Dec-2005
christos
branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.12;
merge ktrace-lwp.
1.4
29-May-2005
christos
branches: 1.4.2;
- add const.
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.
1.3
26-Feb-2005
perry
branches: 1.3.2;
nuke trailing whitespace
1.2
24-Nov-2004
christos
branches: 1.2.4; 1.2.6;
Limit the hard-coding of things to tty_bsdpty.c.
1.1
10-Nov-2004
christos
branches: 1.1.2;
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.
1.1.2.5
10-Nov-2005
skrll
Sync with HEAD. Here we go again...
1.1.2.4
04-Mar-2005
skrll
Sync with HEAD.
Hi Perry!
1.1.2.3
29-Nov-2004
skrll
Sync with HEAD.
1.1.2.2
14-Nov-2004
skrll
Sync with HEAD.
1.1.2.1
10-Nov-2004
skrll
file tty_bsdpty.c was added on branch ktrace-lwp on 2004-11-14 08:15:57 +0000
1.2.6.1
19-Mar-2005
yamt
sync with head. xen and whitespace. xen part is not finished.
1.2.4.1
29-Apr-2005
kent
sync with -current
1.3.2.1
04-Apr-2006
tron
Pull up following revision(s) (requested by christos in ticket #1237):
sys/kern/tty_bsdpty.c: revision 1.6 via patch
Fix old pty name resolution for ptys > 256
1.4.2.4
21-Jan-2008
yamt
sync with head
1.4.2.3
03-Sep-2007
yamt
sync with head.
1.4.2.2
30-Dec-2006
yamt
sync with head.
1.4.2.1
21-Jun-2006
yamt
sync with head.
1.5.12.2
24-May-2006
tron
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
1.5.12.1
28-Mar-2006
tron
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
1.5.10.3
06-May-2006
christos
- 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.
1.5.10.2
19-Apr-2006
elad
sync with head.
1.5.10.1
08-Mar-2006
elad
Adapt to kernel authorization KPI.
1.5.8.3
11-Aug-2006
yamt
sync with head
1.5.8.2
24-May-2006
yamt
sync with head.
1.5.8.1
01-Apr-2006
yamt
sync with head.
1.5.6.2
01-Jun-2006
kardel
Sync with head.
1.5.6.1
22-Apr-2006
simonb
Sync with head.
1.5.4.1
09-Sep-2006
rpaulo
sync with head
1.9.6.2
10-Dec-2006
yamt
sync with head.
1.9.6.1
22-Oct-2006
yamt
sync with head
1.9.4.1
18-Nov-2006
ad
Sync with head.
1.11.12.1
29-Mar-2007
reinoud
Pullup to -current
1.11.10.1
11-Jul-2007
mjf
Sync with head.
1.11.8.1
10-Apr-2007
ad
Sync with head.
1.11.4.1
15-Apr-2007
yamt
sync with head.
1.12.18.1
26-Dec-2007
ad
Sync with head.
1.12.10.1
09-Jan-2008
matt
sync with HEAD
1.12.8.1
09-Dec-2007
jmcneill
Sync with HEAD.
1.13.16.3
11-Mar-2010
yamt
sync with head
1.13.16.2
04-May-2009
yamt
sync with head.
1.13.16.1
16-May-2008
yamt
sync with head.
1.13.14.1
18-May-2008
yamt
sync with head.
1.13.12.1
02-Jun-2008
mjf
Sync with HEAD.
1.14.8.1
03-Mar-2009
skrll
Sync with HEAD.
1.16.4.1
05-Mar-2011
rmind
sync with head
1.17.22.1
18-May-2014
rmind
sync with head
1.17.18.1
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.17.8.1
22-May-2014
yamt
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")
Indexes created Sat Sep 27 14:09:57 GMT 2025