403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/fusefs-sandboxfs/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/fusefs-sandboxfs/files/patch-src_nodes_mod.rs
libc crate defines ENOTSUP as an alias for EOPNOTSUPP.  nix crate
does not re-export EOPNOTSUPP on FreeBSD but ENOTSUP is available.

--- src/nodes/mod.rs.orig	2020-04-20 18:46:46 UTC
+++ src/nodes/mod.rs
@@ -97,7 +97,7 @@ fn setattr_mode(attr: &mut fuse::FileAttr, path: Optio
     if attr.kind == fuse::FileType::Symlink {
         // TODO(jmmv): Should use NoFollowSymlink to support changing the mode of a symlink if
         // requested to do so, but this is not supported on Linux.
-        return Err(nix::Error::from_errno(Errno::EOPNOTSUPP));
+        return Err(nix::Error::from_errno(Errno::ENOTSUP));
     }
 
     let result = try_path(path, |p|
@@ -144,7 +144,7 @@ fn setattr_times(attr: &mut fuse::FileAttr, path: Opti
         if attr.kind == fuse::FileType::Symlink {
             eprintln!(
                 "utimensat not present; ignoring request to change symlink times for {:?}", path);
-            Err(nix::Error::from_errno(Errno::EOPNOTSUPP))
+            Err(nix::Error::from_errno(Errno::ENOTSUP))
         } else {
             try_path(path, |p| sys::stat::utimes(p, &atime, &mtime))
         }

Youez - 2016 - github.com/yon3zu
LinuXploit