summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorhaad <haad@NetBSD.org>2009-06-05 19:57:25 +0000
committerhaad <haad@NetBSD.org>2009-06-05 19:57:25 +0000
commit3deb22c2ebe979e84be158987bfa80deb5b70c6d (patch)
tree5f52373cbb23402531e1aeb00635030cb0ec95b5 /sys/dev
parent62e994ce9603e863ae6d9a2bbbe8aa35680d2e7c (diff)
Parse dm param string in libdevmapper and not in a dm target init function.
Create proplib param dictionary entry in libdevmapper and pass it to dm in dm_ioctl dict. Param target is then passed to target init function, where is parse. I like this aproach much better than passing char **argv and trusting to user input. XXX. Add more sanity checks in kernel.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions