freebsd-skq/sys/dev/nand
glebius 7c3158894a The nandsim(4) simulator driver doesn't have any protection against
races at least in its ioctl handler, and at the same time it creates
device entry with 0666 permissions.

To plug possible issues in it:
- Mark it as needing Giant.
- Switch device mode to 0600.

Submitted by:	C Turt
Reviewed by:	imp
MFC after:	1 week
Security:	Possible double free in ioctl handler
2017-05-04 20:42:31 +00:00
..
nand_bbt.c
nand_cdev.c
nand_dev.h
nand_ecc_pos.h
nand_generic.c
nand_geom.c
nand_id.c
nand_if.m
nand.c
nand.h
nandbus_if.m
nandbus.c
nandbus.h
nandsim_chip.c
nandsim_chip.h
nandsim_ctrl.c
nandsim_log.c
nandsim_log.h
nandsim_swap.c
nandsim_swap.h
nandsim.c
nandsim.h
nfc_at91.c
nfc_at91.h
nfc_fsl.c
nfc_fsl.h
nfc_if.m
nfc_mv.c
nfc_rb.c