summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRusty Russell2014-05-14 03:24:19 +0200
committerRusty Russell2014-05-14 03:25:47 +0200
commit4982223e51e8ea9d09bb33c8323b5ec1877b2b51 (patch)
treec944679cbc1b341771eceea899f0cccdf64c4c64 /scripts
parentsamples/kobject/: avoid world-writable sysfs files. (diff)
downloadkernel-qcow2-linux-4982223e51e8ea9d09bb33c8323b5ec1877b2b51.tar.gz
kernel-qcow2-linux-4982223e51e8ea9d09bb33c8323b5ec1877b2b51.tar.xz
kernel-qcow2-linux-4982223e51e8ea9d09bb33c8323b5ec1877b2b51.zip
module: set nx before marking module MODULE_STATE_COMING.
We currently set RO & NX on modules very late: after we move them from MODULE_STATE_UNFORMED to MODULE_STATE_COMING, and after we call parse_args() (which can exec code in the module). Much better is to do it in complete_formation() and then call the notifier. This means that the notifiers will be called on a module which is already RO & NX, so that may cause problems (ftrace already changed so they're unaffected). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions