openafs / openafs Goto Github PK
View Code? Open in Web Editor NEWFork of OpenAFS from git.openafs.org for visualization
Home Page: http://www.openafs.org/
License: Other
Fork of OpenAFS from git.openafs.org for visualization
Home Page: http://www.openafs.org/
License: Other
AFS is a distributed file system that enables users to share and access all of the files stored in a network of computers as easily as they access the files stored on their local machines. The file system is called distributed for this exact reason: files can reside on many different machines, but are available to users on every machine. OpenAFS 1.0 was originally released by IBM under the terms of the IBM Public License 1.0 (IPL10). For details on IPL10 see the LICENSE file in this directory. The current OpenAFS distribution is licensed under a combination of the IPL10 and many other licenses as granted by the relevant copyright holders. The LICENSE file in this directory contains more details, thought it is not a comprehensive statement. See INSTALL for information about building and installing OpenAFS on various platforms. See CODING for developer information and guidelines. See NEWS for recent changes to OpenAFS.
I can not found DES_new_random_key in now OpenSSL api.
Can I use something instead of DES_new_random_key ?
Compiling the DKMS module, i'm seeing
/var/lib/dkms/openafs/1.8.5/build/src/afs/afs.h:769:40: error: ‘struct inode’ has no member named ‘u’
which in the actual header file is the VTOAFS/AVSTOV
macro definition section:
758 #if defined(AFS_DARWIN80_ENV)
759 #define VTOAFS(v) ((struct vcache *)vnode_fsnode((v)))
760 #define AFSTOV(vc) ((vc)->v)
761 #elif defined(AFS_NBSD40_ENV)
762 struct nbvdata {
763 struct genfs_node gfsn;
764 struct vcache *afsvc;
765 };
766 #define VTOAFS(v) ((((struct nbvdata *)((v)->v_data)))->afsvc)
767 #define AFSTOV(vc) ((vc)->v)
768 #elif defined(AFS_XBSD_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_SUN511_ENV) || (defined(AFS_LINUX22_ENV) && !defined(STRUCT_SUPER_OPERATIONS_HAS_ALLOC_INODE))
769 #define VTOAFS(v) ((struct vcache *)(v)->v_data)
770 #define AFSTOV(vc) ((vc)->v)
771 #else
772 #define VTOAFS(V) ((struct vcache *)(V))
773 #define AFSTOV(V) (&(V)->v)
774 #endif
the dkms.conf file is:
PACKAGE_NAME="openafs"
PACKAGE_VERSION="__VERSION__"
BUILT_MODULE_NAME[0]="openafs"
BUILT_MODULE_LOCATION[0]="src/libafs/MODLOAD-$kernelver-SP"
DEST_MODULE_LOCATION[0]="/kernel/fs"
AUTOINSTALL="yes"
MAKE[0]="(./configure --prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--libexecdir=/usr/lib \
--disable-fuse-client \
--with-linux-kernel-packaging \
--with-linux-kernel-headers=${kernel_source_dir} \
--with-afs-sysname=amd64_linux26
&& 'make' -j`nproc`)"
CLEAN="[ ! -f Makefile ] || 'make' clean"
which explicitly defines the sysname. The relevant flags in the amd64_linux26
config file enable all of the AFS_LINUX*_ENV
variables, so it matches for the middle section of the macro definition clause on 769.
This is all on Arch, up to date as of now, gcc 9.2.0, 5.4.14 grsec and hardened (of grapheneos) kernels both produce this result, neither messes with core VFS structs (or ZFS wouldn't build either).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.