kernel-ark/drivers
Peter Osterlund 46f4e1b7d5 [PATCH] packet driver permission checking fix
If you tried to open a packet device first in read-only mode and then a
second time in read-write mode, the second open succeeded even though the
device was not correctly set up for writing.  If you then tried to write
data to the device, the writes would fail with I/O errors.

This patch prevents that problem by making the second open fail with
-EBUSY.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Cc: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-20 15:48:16 -07:00
..
acorn
acpi
atm
base [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
block [PATCH] packet driver permission checking fix 2005-05-20 15:48:16 -07:00
bluetooth
cdrom
char [PATCH] Add sysfs support for the IPMI device interface 2005-05-20 07:58:04 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
i2c
ide [PATCH] ide proc destroy error 2005-05-17 07:59:10 -07:00
ieee1394 [PATCH] ieee1394: fix premature expiry of async packets 2005-05-17 07:59:24 -07:00
infiniband
input [PATCH] drivers/input/keyboard/atkbd.c: fix off by one errors 2005-05-17 07:59:17 -07:00
isdn
macintosh
mca
md [PATCH] md: set the unplug_fn and issue_flush_fn for md devices *after* committed to creation 2005-05-17 07:59:12 -07:00
media [PATCH] dvb: budget-av: CI fixes 2005-05-17 07:59:35 -07:00
message
misc
mmc [PATCH] MMC: wbsd update 2005-05-08 19:35:27 +01:00
mtd
net [TG3]: In tg3_poll(), resample status_tag after doing work. 2005-05-18 22:50:53 -07:00
nubus
oprofile
parisc
parport
pci [PATCH] PCI: add MODALIAS to hotplug event for pci devices 2005-05-17 14:31:12 -07:00
pcmcia [PATCH] pcmcia/ds: handle any error code 2005-05-17 07:59:21 -07:00
pnp
s390 [PATCH] s390: dasd set online failure 2005-05-17 07:59:17 -07:00
sbus [SPARC]: Eliminate local MIN/MAX macros in drivers/sbus/char/aurora.c 2005-05-15 16:01:50 -07:00
scsi Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git 2005-05-17 11:30:39 -04:00
serial Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6.git/ 2005-05-19 15:31:18 -07:00
sh
sn
tc
telephony
usb [PATCH] USB: add modalias sysfs file for usb devices 2005-05-16 21:44:26 -07:00
video
w1
zorro
Kconfig
Makefile