linux/drivers/clk/samsung
Krzysztof Kozlowski f4f4dd0c45 clk: samsung: Suppress unbinding to prevent theoretical attacks
Although unbinding a driver requires root privileges but it still might
be used theoretically in certain attacks (by triggering NULL pointer
exception or memory corruption if driver does not provide proper remove
callbacks or core does not handle it).

Samsung clock drivers are essential for system operation so their
removal is not expected. More over, the Exynos3250 ISP clock driver does
not implement remove() driver callback and it is not buildable as
modules.

Suppress the unbind interface for Exynos3250 ISP and S3C2410 DCLK clock
drivers.

Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2016-06-02 11:18:18 +02:00
..
Kconfig clk: samsung: Don't build ARMv8 clock drivers on ARMv7 2016-02-22 10:20:24 -08:00
Makefile clk: samsung: Don't build ARMv8 clock drivers on ARMv7 2016-02-22 10:20:24 -08:00
clk-cpu.c clk: exynos: use irqsave version of spin_lock to avoid deadlock with irqs 2015-12-16 16:36:03 +01:00
clk-cpu.h clk: samsung: add infrastructure to register cpu clocks 2015-06-20 12:17:42 -07:00
clk-exynos-audss.c clk: samsung: Properly include clk.h and clkdev.h 2015-07-20 11:11:11 -07:00
clk-exynos-clkout.c clk: samsung: clkout: Add support for Exynos5410 2016-06-02 11:17:58 +02:00
clk-exynos4.c clk: samsung: exynos4: Constify all clock initializers 2016-06-02 11:18:02 +02:00
clk-exynos7.c clk: samsung: exynos7: Constify all clock initializers 2016-06-02 11:18:09 +02:00
clk-exynos3250.c clk: samsung: Suppress unbinding to prevent theoretical attacks 2016-06-02 11:18:18 +02:00
clk-exynos4415.c clk: samsung: exynos4415: Move PLL rates data to init section 2016-06-02 11:18:04 +02:00
clk-exynos5250.c clk: samsung: exynos5250: Move sleep init function to init section 2016-06-02 11:18:12 +02:00
clk-exynos5260.c clk: samsung: exynos5260: Constify all clock initializers 2016-06-02 11:18:06 +02:00
clk-exynos5260.h clk/exynos5260: add clock file for exynos5260 2014-05-14 19:16:55 +02:00
clk-exynos5410.c clk: samsung: exynos5410: Add TMU clock 2016-06-02 11:18:16 +02:00
clk-exynos5420.c clk: samsung: exynos5420: Set ID for aclk333 gate clock 2016-06-02 11:18:17 +02:00
clk-exynos5433.c clk: samsung: exynos5433: Move PLL rates data to init section 2016-06-02 11:18:11 +02:00
clk-exynos5440.c clk: samsung: exynos5440: Constify all clock initializers 2016-06-02 11:18:08 +02:00
clk-pll.c clk: Convert __clk_get_name(hw->clk) to clk_hw_get_name(hw) 2015-08-24 16:49:12 -07:00
clk-pll.h clk: samsung: add support for 145xx and 1460x PLLs 2014-10-31 10:45:35 +01:00
clk-s3c64xx.c clk: samsung: Remove useless check for return value of samsung_clk_init 2016-06-02 11:17:57 +02:00
clk-s3c2410-dclk.c clk: samsung: Suppress unbinding to prevent theoretical attacks 2016-06-02 11:18:18 +02:00
clk-s3c2410.c clk: samsung: Remove useless check for return value of samsung_clk_init 2016-06-02 11:17:57 +02:00
clk-s3c2412.c clk: samsung: Remove useless check for return value of samsung_clk_init 2016-06-02 11:17:57 +02:00
clk-s3c2443.c clk: samsung: Remove useless check for return value of samsung_clk_init 2016-06-02 11:17:57 +02:00
clk-s5pv210-audss.c clk: samsung: Properly include clk.h and clkdev.h 2015-07-20 11:11:11 -07:00
clk-s5pv210.c clk: samsung: Remove useless check for return value of samsung_clk_init 2016-06-02 11:17:57 +02:00
clk.c clk: samsung: Constify clock init data with clock arrays 2016-06-02 11:17:59 +02:00
clk.h clk: samsung: Fully constify mux parent names 2016-06-02 11:18:13 +02:00