diff options
| author | haad <haad@NetBSD.org> | 2009-06-05 19:57:25 +0000 |
|---|---|---|
| committer | haad <haad@NetBSD.org> | 2009-06-05 19:57:25 +0000 |
| commit | 3deb22c2ebe979e84be158987bfa80deb5b70c6d (patch) | |
| tree | 5f52373cbb23402531e1aeb00635030cb0ec95b5 /sys/dev/dm/dm_ioctl.c | |
| parent | 62e994ce9603e863ae6d9a2bbbe8aa35680d2e7c (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/dm/dm_ioctl.c')
0 files changed, 0 insertions, 0 deletions
