/openbmc/linux/drivers/media/pci/tw686x/ |
H A D | tw686x-core.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_poweroff.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/edac/ |
H A D | edac_module.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
H A D | edac_mc_sysfs.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/net/netfilter/ |
H A D | nf_nat_ftp.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
H A D | nf_nat_irc.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/isdn/hardware/mISDN/ |
H A D | speedfax.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
H A D | mISDNinfineon.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
H A D | w6692.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
H A D | avmfritz.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
H A D | netjet.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/tty/serial/ |
H A D | kgdboc.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | phram.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
H A D | block2mtd.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/scsi/fcoe/ |
H A D | fcoe_transport.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/misc/ |
H A D | kgdbts.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | cmm.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/hid/ |
H A D | hid-magicmouse.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/fs/lockd/ |
H A D | svc.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_iba7322.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_driver.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | build.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/drivers/acpi/ |
H A D | sysfs.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|
/openbmc/linux/security/apparmor/ |
H A D | lsm.c | diff e4dca7b7aa08b22893c45485d222b5807c1375ae Tue Oct 17 21:04:42 CDT 2017 Kees Cook <keescook@chromium.org> treewide: Fix function prototypes for module_param_call()
Several function prototypes for the set/get functions defined by module_param_call() have a slightly wrong argument types. This fixes those in an effort to clean up the calls when running under type-enforced compiler instrumentation for CFI. This is the result of running the following semantic patch:
@match_module_param_call_function@ declarer name module_param_call; identifier _name, _set_func, _get_func; expression _arg, _mode; @@
module_param_call(_name, _set_func, _get_func, _arg, _mode);
@fix_set_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._set_func; identifier _val, _param; type _val_type, _param_type; @@
int _set_func( -_val_type _val +const char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
@fix_get_prototype depends on match_module_param_call_function@ identifier match_module_param_call_function._get_func; identifier _val, _param; type _val_type, _param_type; @@
int _get_func( -_val_type _val +char * _val , -_param_type _param +const struct kernel_param * _param ) { ... }
Two additional by-hand changes are included for places where the above Coccinelle script didn't notice them:
drivers/platform/x86/thinkpad_acpi.c fs/lockd/svc.c
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
|