| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The routines in grantpt.c have been moved to ptsname.c in the MPSAFE TTY
layer, because grantpt() is now effectively a no-op. I forgot to remove
the corresponding source file from libc.
|
|
|
|
|
|
|
|
|
|
| |
The __use_pts() routine was once probably used by libutil to determine
if we are using BSD or UNIX98 style PTY device names. It doesn't seem to
be used outside grantpt.c, which means we can make it static and remove
it from the Symbol.map.
Reviewed by: cognet, kib
Approved by: philip (mentor)
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
on pts(4) devices this time. This fixes the issues while leaving pts(4)
enabled on HEAD.
|
|
|
|
|
| |
The security fix will be re-committed soon, hopefully without breaking
anything.
|
|
|
|
|
|
|
| |
Fix an off-by-one error in inet_network(3). [08:02]
Security: FreeBSD-SA-08:01.pty
Security: FreeBSD-SA-08:02.libc
|
|
|
|
|
|
|
|
|
|
| |
- Use PTY* for all pty(4) related constants.
- Use PTMX* for all pts(4) related constants.
- Consistently use _PATH_DEV PTMX rather than "/dev/ptmx".
- Revert 1.7 and properly fix it by using the correct prefix string for
pts(4) masters.
MFC after: 3 days
|
|
|
|
|
|
| |
pty(4) changes.
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
and if so, use the pts system.
Suggested by: rwatson
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
a tty device instead of the legacy minor number approach. This is known to
fix gnome-vfs' sftp module as well as kio_sftp and kdesu on -CURRENT.
Thanks to scottl for the snprintf() approach idea.
Reviewed by: phk
Tested by: pav
mich
Approved by: re (scottl)
|
| |
|
|
|
|
|
|
| |
o #include <stdio.h> to make sprintf()'s prototype visible.
o Remove unused variable: sbuf.
o Don't use assignment as truth value.
|
|
to Solaris, it is in /usr/libexec) to perform the handing over of tty nodes
to the user being granted the pty.
Submitted by: Ryan Younce <ryany@pobox.com>
Reviewed by: security-officer@, standards@, mike@
|