summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2016-03-27 16:55:59 -0700
committerNick Kralevich <nnk@google.com>2016-05-04 07:01:46 -0700
commitf9940f2de0f9611b724c83646a335a7c0dcf27f8 (patch)
tree1bd161fb54da68147708cf531300f4873ff1fe2b /libutils/Unicode.cpp
parent90900ff5fcb3b498e7d4c64fbf2294b00f8da1c4 (diff)
init/builtins.cpp: Switch to finit_module
Switch insmod from using init_module to finit_module. From "man finit_module": The finit_module() system call is like init_module(), but reads the module to be loaded from the file descriptor fd. It is useful when the authenticity of a kernel module can be determined from its location in the file system; in cases where that is possible, the overhead of using cryptographically signed modules to determine the authenticity of a module can be avoided. finit_module is preferred over init_module because it allows LSMs, such as SELinux, to perform a permission check on kernel module loads based on the file from which the module is loaded. This functionality is not yet implemented in the Linux kernel, but is on the SEAndroid TODO list. See https://bitbucket.org/seandroid/wiki/wiki/ToDo Bug: 27824855 (cherry picked from commit 124a9c97e9815142a33480b81a5a3041a7cd66bd) Change-Id: I5e87de1a7b8c3d8849bf757c71b08e81c378b021
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions