summaryrefslogtreecommitdiff
path: root/sys/dev/pci/brooktree848.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-05 23:33:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-05 23:33:21 +0000
commitef9d64b1fa84974c4f35a8c310958a0696be7f95 (patch)
treeebfd9e042a456a8eb8e6c173e375dce86f774e9a /sys/dev/pci/brooktree848.c
parent4cc14af238d12ff39b9330a4c89d4fe44d1818b7 (diff)
sure, nix the PROT_EXEC; zzlevo@dd.chalmers.se
Diffstat (limited to 'sys/dev/pci/brooktree848.c')
-rw-r--r--sys/dev/pci/brooktree848.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/brooktree848.c b/sys/dev/pci/brooktree848.c
index b0af9eee599..9c327e73959 100644
--- a/sys/dev/pci/brooktree848.c
+++ b/sys/dev/pci/brooktree848.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brooktree848.c,v 1.14 1999/11/20 18:51:59 espie Exp $ */
+/* $OpenBSD: brooktree848.c,v 1.15 1999/12/05 23:33:20 deraadt Exp $ */
/* $Roger: brooktree848.c,v 1.85 1999/06/12 14:54:54 roger Exp $ */
/* BT848 Driver for Brooktree's Bt848, Bt848A, Bt849A, Bt878, Bt879 based cards.
@@ -8579,9 +8579,6 @@ bktr_mmap( dev_t dev, vm_offset_t offset, int nprot )
bktr = bktr_cd.cd_devs[unit];
- if (nprot & PROT_EXEC)
- return( -1 );
-
if (offset < 0)
return( -1 );