summaryrefslogtreecommitdiffstats
path: root/fs/udf/partition.c
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2023-03-19 14:27:42 -0700
committerLuis Chamberlain <mcgrof@kernel.org>2023-03-24 11:33:08 -0700
commit437c1f9cc61fd37829eaf12d8ae2f7dcc5dddce0 (patch)
treee3097207f2d185fe0cc952e142b85408ae0a1d28 /fs/udf/partition.c
parented52cabecb7a7e4242cee9c370c2622a47177d5d (diff)
downloadlinux-437c1f9cc61fd37829eaf12d8ae2f7dcc5dddce0.tar.gz
linux-437c1f9cc61fd37829eaf12d8ae2f7dcc5dddce0.tar.bz2
linux-437c1f9cc61fd37829eaf12d8ae2f7dcc5dddce0.zip
module: split taint adding with info checking
check_modinfo() actually does two things: a) sanity checks, some of which are fatal, and so we prevent the user from completing trying to load a module b) taints the kernel The taints are pretty heavy handed because we're tainting the kernel *before* we ever even get to load the module into the modules linked list. That is, it it can fail for other reasons later as we review the module's structure. But this commit makes no functional changes, it just makes the intent clearer and splits the code up where needed to make that happen. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'fs/udf/partition.c')
0 files changed, 0 insertions, 0 deletions