]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - bindings.c
proc_access: return EACESS not EPERM
[mirror_lxcfs.git] / bindings.c
index cfd5a3d515a8f66e200fcca5fcfdbc6cfda99a07..a62215759dd0a842db56c650327a4e854e40ff6b 100644 (file)
@@ -3815,7 +3815,7 @@ int proc_access(const char *path, int mask)
 {
        /* these are all read-only */
        if ((mask & ~R_OK) != 0)
-               return -EPERM;
+               return -EACCES;
        return 0;
 }