| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Provide counter_warning(9) KPI.
MFC r303155:
Hide counted_warning(9) under #ifdef _KERNEL braces.
Notes:
svn path=/stable/10/; revision=303433
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r298337 (by cem):
pty(4): Use strlcpy to guarantee destination buffer isn't overrun
The devtoname() name is strcpyed into a small stack buffer. Sure, we always
expect the name to be ttyXX (or ptyXX). If that's the case, strlcpy() doesn't
hurt.
CID: 1006768
Notes:
svn path=/stable/10/; revision=299623
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Switch legacy pty clone handler to use make_dev_s(9).
MFC r294594:
Remove printf only useful for debugging.
Approved by: re (marius)
Notes:
svn path=/stable/10/; revision=295211
|
| |
|
|
| |
Notes:
svn path=/head/; revision=223575
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=216952
|
| |
|
|
|
|
|
|
|
|
|
| |
Now that pty(4) is a loadable kernel module, I'd better move /dev/ptmx
in there as well. This means that pty(4) now provides almost all
pseudo-terminal compatibility code. This means it's very easy to test
whether applications use the proper library interfaces when allocating
pseudo-terminals (namely posix_openpt and openpty).
Notes:
svn path=/head/; revision=196886
|
|
|
Unfortunately, the wrappers that are present in pts(4) don't have the
mechanics to allow pty(4) to be unloaded safely, so I'm forcing this kld
to return EBUSY. This also means we have to enable some extra code in
pts(4) unconditionally.
Proposed by: rwatson
Notes:
svn path=/head/; revision=196480
|