cisco / ampfsm Goto Github PK
View Code? Open in Web Editor NEWCisco AMP Filesystem Module
License: GNU General Public License v2.0
Cisco AMP Filesystem Module
License: GNU General Public License v2.0
Over the last few weeks we started getting a bunch of errors from ampfsm, I'm not sure what's causing them and the last change to the fileop_new call and usage was a couple of years ago, I'm not a kernel developer, or even a C programmer, but I only note that which struct was used in kmem_cache_alloc()
changed from what was renamed to path_kmem_cache
to the next struct member combined_path_kmem_cache
and guessed that maybe this isn't populated in some obscure case.
$ modinfo /usr/lib/modules/$(uname -r)/extra/ampfsm.ko
filename: /usr/lib/modules/3.10.0-1160.71.1.0.1.el7.x86_64/extra/ampfsm.ko
description: Cisco AMP Filesystem Module
author: Craig Davison [email protected]
author: Russ Kubik [email protected]
license: GPL
retpoline: Y
rhelversion: 7.8
srcversion: 2E9B5B876C49847D65CC59B
depends:
vermagic: 3.10.0-1127.el7.x86_64 SMP mod_unload modversions
$ modinfo ampfsm
filename: /lib/modules/3.10.0-1160.71.1.0.1.el7.x86_64/weak-updates/lib/modules/3.10.0-1160.2.2.el7.x86_64/extra/ampfsm.ko
description: Cisco AMP Filesystem Module
author: Craig Davison [email protected]
author: Russ Kubik [email protected]
license: GPL
retpoline: Y
rhelversion: 7.8
srcversion: 5DB2BA437180AD290E7C36F
depends:
vermagic: 3.10.0-1127.el7.x86_64 SMP mod_unload modversions
Hello,
build failed on kernel 3.10.0-123.el7.x86_64
]# make
make -C /lib/modules/3.10.0-123.el7.x86_64/build M=/root/amp/ampfsm-master EXTRA_CFLAGS="-I/root/amp/ampfsm-master/common/include " modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
CC [M] /root/amp/ampfsm-master/fsm.o
/root/amp/ampfsm-master/fsm.c: In function ‘fileop_new’:
/root/amp/ampfsm-master/fsm.c:482:5: error: implicit declaration of function ‘task_ppid_nr’ [-Werror=implicit-function-declaration]
data->ppid = TASK_PPID_NR(current);
^
cc1: some warnings being treated as errors
make[2]: *** [/root/amp/ampfsm-master/fsm.o] Error 1
make[1]: *** [_module_/root/amp/ampfsm-master] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
make: *** [all] Error 2
]#
can this be somehow corrected?
there are no problems for all other kernels, I checked on the following
3.10.0-229.el7.x86_64
3.10.0-327.el7.x86_64
3.10.0-514.el7.x86_64
3.10.0-693.el7.x86_64
3.10.0-862.el7.x86_64
3.10.0-957.el7.x86_64
3.10.0-1062.el7.x86_64
3.10.0-1127.el7.x86_64
build is success.
I am looking for the source for this module as well as the ampnetworkflow
module to enable AMP for Endpoints to work on Ubuntu 16.04 with a newer kernel rather than CentOS 7.4 (kernel 3.10.0693) which is very, very old.
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.