From: Kees Cook <keescook@chromium.org>
To: pageexec@freemail.hu
Cc: spender@grsecurity.net, Mark Rutland <mark.rutland@arm.com>,
Hoeun Ryu <hoeun.ryu@gmail.com>,
kernel-hardening@lists.openwall.com
Subject: [kernel-hardening] [PATCH] PCI: Fix typo in pax_open/close_kernel wrapping
Date: Wed, 1 Mar 2017 12:33:49 -0800 [thread overview]
Message-ID: <20170301203349.GA42365@beast> (raw)
This fixes a mistaken double-open in PaX's constification coverage of
cpcihp_zt5550.
Signed-off-by: Kees Cook <kees@outflux.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
next reply other threads:[~2017-03-01 20:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-01 20:33 Kees Cook [this message]
2017-03-01 21:45 ` [kernel-hardening] Re: [PATCH] PCI: Fix typo in pax_open/close_kernel wrapping PaX Team
2017-03-01 22:46 ` Kees Cook
2017-03-01 22:58 ` Kees Cook
2017-03-01 23:14 ` PaX Team
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170301203349.GA42365@beast \
--to=keescook@chromium.org \
--cc=hoeun.ryu@gmail.com \
--cc=kernel-hardening@lists.openwall.com \
--cc=mark.rutland@arm.com \
--cc=pageexec@freemail.hu \
--cc=spender@grsecurity.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.