Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170301203349.GA42365@beast>
Date: Wed, 1 Mar 2017 12:33:49 -0800
From: Kees Cook <keescook@...omium.org>
To: pageexec@...email.hu
Cc: spender@...ecurity.net, Mark Rutland <mark.rutland@....com>,
	Hoeun Ryu <hoeun.ryu@...il.com>,
	kernel-hardening@...ts.openwall.com
Subject: [PATCH] PCI: Fix typo in pax_open/close_kernel wrapping

This fixes a mistaken double-open in PaX's constification coverage of
cpcihp_zt5550.

Signed-off-by: Kees Cook <kees@...flux.net>
---
 drivers/pci/hotplug/cpcihp_zt5550.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/hotplug/cpcihp_zt5550.c b/drivers/pci/hotplug/cpcihp_zt5550.c
index 438f019..18c4d10 100644
--- a/drivers/pci/hotplug/cpcihp_zt5550.c
+++ b/drivers/pci/hotplug/cpcihp_zt5550.c
@@ -228,7 +228,7 @@ static int zt5550_hc_init_one(struct pci_dev *pdev, const struct pci_device_id *
 		const_cast(zt5550_hpc_ops.enable_irq) = zt5550_hc_enable_irq;
 		const_cast(zt5550_hpc_ops.disable_irq) = zt5550_hc_disable_irq;
 		const_cast(zt5550_hpc_ops.check_irq) = zt5550_hc_check_irq;
-		pax_open_kernel();
+		pax_close_kernel();
 	} else {
 		info("using ENUM# polling mode");
 	}
-- 
2.7.4


-- 
Kees Cook
Pixel Security

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.