FreeBSD Bugzilla – Attachment 180915 Details for
Bug 217880
sysutils/fusefs-sshfs: Use posix_openpt(2) instead of using /dev/ptmx
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sysutils___fusefs-sshfs.diff
sysutils___fusefs-sshfs.diff (text/plain), 1.37 KB, created by
Tobias Kortkamp
on 2017-03-17 21:34:10 UTC
(
hide
)
Description:
sysutils___fusefs-sshfs.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2017-03-17 21:34:10 UTC
Size:
1.37 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 436350) >+++ Makefile (working copy) >@@ -4,6 +4,7 @@ > PORTNAME= sshfs > PORTVERSION= 2.8 > DISTVERSIONPREFIX= ${PORTNAME}_ >+PORTREVISION= 1 > CATEGORIES= sysutils > PKGNAMEPREFIX= fusefs- > >@@ -11,9 +12,8 @@ > COMMENT= Mount remote directories over ssh > > LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/COPYING > >-KMODDIR?= ${LOCALBASE}/modules >- > USE_GITHUB= yes > GH_ACCOUNT= libfuse > >Index: files/patch-sshfs.c >=================================================================== >--- files/patch-sshfs.c (nonexistent) >+++ files/patch-sshfs.c (working copy) >@@ -0,0 +1,11 @@ >+--- sshfs.c.orig 2017-03-17 21:07:50 UTC >++++ sshfs.c >+@@ -1027,7 +1027,7 @@ static int pty_master(char **name) >+ { >+ int mfd; >+ >+- mfd = open("/dev/ptmx", O_RDWR | O_NOCTTY); >++ mfd = posix_openpt(O_RDWR | O_NOCTTY); >+ if (mfd == -1) { >+ perror("failed to open pty"); >+ return -1; >Index: pkg-message >=================================================================== >--- pkg-message (revision 436350) >+++ pkg-message (working copy) >@@ -1,13 +1,6 @@ > Basic Instructions: > There are three ways to do this: > >-From version 2.7 it makes use of the legacy /dev/ptmx. For version 10.0+ >-please load the kernel module pty: >- >-% kldload pty >- >-Daemon initiated >- > 1) > % sshfs -o idmap=user username@example.org: /path/to/mount/point >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tobik
:
maintainer-approval?
(
bofh
)
Actions:
View
|
Diff
Attachments on
bug 217880
: 180915