aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-ioctl.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-20dm ioctl: update DM_DRIVER_EMAIL to new dm-devel mailing listMike Snitzer1-1/+1
2024-01-30dm: limit the number of targets and parameter size areaMikulas Patocka1-1/+2
2023-10-23dm ioctl: replace deprecated strncpy with strscpy_padJustin Stitt1-2/+2
2023-09-14dm: fix a race condition in retrieve_depsMikulas Patocka1-1/+6
2023-06-30Merge tag 'for-6.5/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-23/+75
2023-06-27dm: get rid of GFP_NOIO workarounds for __vmalloc and kvmallocMikulas Patocka1-4/+1
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-5/+5
2023-06-23dm ioctl: Refuse to create device named "." or ".."Demi Marie Obenour1-2/+4
2023-06-23dm ioctl: Refuse to create device named "control"Demi Marie Obenour1-1/+6
2023-06-23dm ioctl: Avoid double-fetch of versionDemi Marie Obenour1-12/+21
2023-06-23dm ioctl: structs and parameter strings must not overlapDemi Marie Obenour1-7/+21
2023-06-23dm ioctl: Avoid pointer arithmetic overflowDemi Marie Obenour1-0/+16
2023-06-23dm ioctl: Check dm_target_spec is sufficiently alignedDemi Marie Obenour1-0/+9
2023-06-15dm: don't lock fs when the map is NULL during suspend or resumeLi Lingfeng1-4/+1
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-5/+5
2023-04-19dm: don't lock fs when the map is NULL in process of resumeLi Lingfeng1-1/+4
2023-04-17dm ioctl: fix nested locking in table_clear() to remove deadlock concernMike Snitzer1-3/+4
2023-02-17dm ioctl: remove unnecessary check when using dm_get_mdptr()Hou Tao1-3/+3
2023-02-17dm ioctl: assert _hash_lock is held in __hash_removeMike Snitzer1-0/+4
2023-02-14dm ioctl: prefer strscpy() instead of strlcpy()Heinz Mauelshagen1-2/+2
2023-02-14dm ioctl: have constant on the right side of the testHeinz Mauelshagen1-2/+2
2023-02-14dm: prefer '"%s...", __func__'Heinz Mauelshagen1-1/+1
2023-02-14dm: avoid split of quoted strings where possibleHeinz Mauelshagen1-4/+2
2023-02-14dm: add missing empty linesHeinz Mauelshagen1-4/+14
2023-02-14dm: avoid spaces before function arguments or in favour of tabsHeinz Mauelshagen1-27/+25
2023-02-14dm: fix undue/missing spacesHeinz Mauelshagen1-2/+2
2023-02-14dm: correct block comments format.Heinz Mauelshagen1-12/+21
2023-02-14dm: change "unsigned" to "unsigned int"Heinz Mauelshagen1-9/+9
2023-02-14dm: add missing SPDX-License-IndentifiersHeinz Mauelshagen1-0/+1
2023-02-14dm: send just one event on resize, not twoMikulas Patocka1-3/+10
2023-02-02dm ioctl: drop always-false conditionSergey Shtylyov1-2/+1
2022-12-01dm ioctl: fix a couple ioctl codesMikulas Patocka1-2/+2
2022-12-01dm ioctl: a small code cleanup in list_version_get_infoMikulas Patocka1-1/+1
2022-11-18dm ioctl: fix misbehavior if list_versions races with module loadingMikulas Patocka1-2/+2
2022-10-18dm: change from DMWARN to DMERR or DMCRIT for fatal errorsMikulas Patocka1-39/+39
2022-07-07dm table: remove dm_table_get_num_targets() wrapperMike Snitzer1-3/+3
2022-04-01dm ioctl: log an error if the ioctl structure is corruptedMikulas Patocka1-3/+12
2022-02-22dm ioctl: prevent potential spectre v1 gadgetJordy Zomer1-0/+2
2021-08-10dm ima: measure data on device renameTushar Sugandhi1-0/+3
2021-08-10dm ima: measure data on table clearTushar Sugandhi1-0/+3
2021-08-10dm ima: measure data on device removeTushar Sugandhi1-0/+3
2021-08-10dm ima: measure data on device resumeTushar Sugandhi1-2/+6
2021-08-10dm ima: measure data on table loadTushar Sugandhi1-1/+6
2021-08-09dm: move setting md->type into dm_setup_md_queueChristoph Hellwig1-4/+0
2021-03-26dm ioctl: filter the returned values according to name or uuid prefixMikulas Patocka1-0/+28
2021-03-26dm ioctl: return UUID in DM_LIST_DEVICES_CMD resultMikulas Patocka1-3/+17
2021-03-26dm ioctl: replace device hash with red-black treeMikulas Patocka1-112/+142
2021-03-26dm ioctl: fix out of bounds array access when no devicesMikulas Patocka1-1/+1
2020-12-04dm ioctl: fix error return code in target_messageQinglang Miao1-0/+1
2020-10-01dm: export dm_copy_name_and_uuidMike Snitzer1-1/+1
2020-08-07Merge tag 'for-5.9/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2020-08-04dm ioctl: Fix compilation warningDamien Le Moal1-1/+1
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-06-17dm ioctl: use struct_size() helper in retrieve_deps()Gustavo A. R. Silva1-1/+1
2019-09-16dm: introduce DM_GET_TARGET_VERSIONMikulas Patocka1-3/+29
2019-08-23dm: make dm_table_find_target return NULLMikulas Patocka1-1/+1
2019-05-16dm ioctl: fix hang in early create error conditionHelen Koike1-1/+5
2019-03-05dm: add support to directly boot to a mapped deviceHelen Koike1-0/+103
2018-10-18dm ioctl: harden copy_params()'s copy_from_user() from malicious usersWenwen Wang1-12/+6
2018-06-08dm: report which conflicting type caused error during table_load()Mike Snitzer1-1/+2
2018-04-03dm: allow targets to return output from messages they are sentMike Snitzer1-1/+1
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-1/+1
2017-11-28the rest of drivers/*: annotate ->poll() instancesAl Viro1-2/+2
2017-09-25dm ioctl: fix alignment of event number in the device listMikulas Patocka1-13/+24
2017-08-28dm ioctl: constify ioctl lookup tableEric Biggers1-1/+1
2017-06-19dm ioctl: report event number in DM_LIST_DEVICESMikulas Patocka1-1/+5
2017-06-19dm ioctl: add a new DM_DEV_ARM_POLL ioctlMikulas Patocka1-21/+35
2017-06-19dm: add basic support for using the select or poll functionMikulas Patocka1-1/+48
2017-05-22dm ioctl: restore __GFP_HIGH in copy_params()Junaid Shahid1-2/+3
2017-05-08drivers/md/dm-ioctl.c: use kvmalloc rather than opencoded variantMichal Hocko1-9/+4
2017-04-27dm: introduce enum dm_queue_mode to cleanup related codeBart Van Assche1-1/+1
2017-04-27dm ioctl: prevent stack leak in dm ioctl callAdrian Salido1-1/+1
2017-04-24dm ioctl: remove double parenthesesMatthias Kaehlcke1-2/+2
2017-04-24dm: remove dummy dm_table definitionMikulas Patocka1-8/+0
2017-03-02sched/headers: Prepare to move the memalloc_noio_*() APIs to <linux/sched/mm.h>Ingo Molnar1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-08dm ioctl: use offsetof() instead of open-coding itBart Van Assche1-1/+1
2016-07-20dm: allow bio-based table to be upgraded to bio-based with DAX supportToshi Kani1-1/+10
2016-07-01dm ioctl: Simplify parameter buffer management codeBart Van Assche1-12/+6
2016-06-10dm: move request-based code out to dm-rq.[hc]Mike Snitzer1-1/+1
2016-05-05dm ioctl: drop use of __GFP_REPEAT in copy_params()'s __vmalloc() callMichal Hocko1-1/+1
2016-02-22dm: allow immutable request-based targets to use blk-mq pduMike Snitzer1-1/+1
2016-02-22dm: set DM_TARGET_WILDCARD feature on "error" targetMike Snitzer1-1/+2
2015-08-05char: make misc_deregister a void functionGreg Kroah-Hartman1-3/+1
2015-04-30dm: only initialize the request_queue onceChristoph Hellwig1-8/+9
2015-02-09dm ioctl: fix stale comment above dm_get_inactive_table()Junxiao Bi1-2/+2
2014-11-19dm: enhance internal suspend and resume interfaceMike Snitzer1-1/+4
2014-10-05dm: allow active and inactive tables to share dm_devsBenjamin Marzinski1-1/+1
2013-11-09dm: allow remove to be deferredMikulas Patocka1-6/+30
2013-09-05dm: add statistics supportMikulas Patocka1-8/+14
2013-09-05dm ioctl: cleanup error handling in table_loadMike Snitzer1-18/+16
2013-09-05dm ioctl: increase granularity of type_lock when loading tableMike Snitzer1-2/+4
2013-09-05dm ioctl: prevent rename to empty name or uuidAlasdair Kergon1-1/+1
2013-07-10dm: optimize use SRCU and RCUMikulas Patocka1-40/+82
2013-07-10dm: use __GFP_HIGHMEM in __vmallocMikulas Patocka1-1/+1
2013-07-10dm ioctl: set noio flag to avoid __vmalloc deadlockMikulas Patocka1-0/+3
2013-03-01dm ioctl: allow message to return dataMikulas Patocka1-1/+35
2013-03-01dm ioctl: optimize functions without variable paramsMikulas Patocka1-18/+34
2013-03-01dm ioctl: introduce ioctl_flagsMikulas Patocka1-23/+41
2013-03-01dm: fix truncated status stringsMikulas Patocka1-5/+9
2012-12-21dm ioctl: use kmalloc if possibleMikulas Patocka1-13/+32
2012-12-21dm ioctl: remove PF_MEMALLOCMikulas Patocka1-9/+4
2012-12-21dm ioctl: prevent unsafe change to dm_ioctl data_sizeAlasdair G Kergon1-0/+8
2012-07-27dm thin: commit before gathering statusAlasdair G Kergon1-1/+4
2012-03-28dm: reject trailing characters in sccanf inputMikulas Patocka1-2/+3
2012-03-07dm ioctl: do not leak argv if target message only contains whitespaceJesper Juhl1-1/+1
2011-10-31dm table: add immutable featureAlasdair G Kergon1-0/+11
2011-08-02dm ioctl: forbid multiple device specifiersMikulas Patocka1-0/+6
2011-08-02dm ioctl: introduce __get_dev_cellMikulas Patocka1-17/+24
2011-08-02dm ioctl: fill in device parameters in more ioctlsMikulas Patocka1-27/+36
2011-08-02dm ioctl: prevent empty messageAlasdair G Kergon1-0/+5
2011-03-24dm ioctl: add flag to wipe buffers for secure dataMilan Broz1-2/+21
2011-03-24dm ioctl: prepare for crypt key wipingMilan Broz1-14/+11
2011-01-13dm ioctl: suppress needless warning messagesMilan Broz1-4/+4
2011-01-13dm ioctl: allow rename to fill empty uuidPeter Jones1-25/+78
2010-10-15llseek: automatically add .llseek fopArnd Bergmann1-0/+1
2010-08-12dm: allow autoloading of dm modPeter Rajnoha1-2/+5
2010-08-12dm ioctl: refactor dm_table_completeWill Drewry1-34/+0
2010-08-12dm: do not initialise full request queue when bio basedMike Snitzer1-1/+10
2010-08-12dm ioctl: make bio or request based device type immutableMike Snitzer1-0/+15
2010-08-12dm ioctl: use nonseekable_openArnd Bergmann1-0/+1
2010-08-12dm: separate device deletion from dm_putKiyoshi Ueda1-4/+11
2010-08-12dm ioctl: release _hash_lock between devices in remove_allKiyoshi Ueda1-19/+25
2010-08-12dm ioctl: return uevent flag after renamePeter Rajnoha1-17/+24
2010-08-12dm ioctl: make __dev_status voidAlasdair G Kergon1-36/+31
2010-08-12dm ioctl: remove __dev_status from geometry and target messagePeter Rajnoha1-6/+0
2010-03-06dm ioctl: introduce flag indicating uevent was generatedPeter Rajnoha1-7/+12
2010-03-06dm ioctl: only issue uevent on resume if state changedMike Snitzer1-4/+5
2009-12-10dm: rename dm_suspended to dm_suspended_mdKiyoshi Ueda1-4/+4
2009-12-10dm: keep old table until after resume succeededAlasdair G Kergon1-4/+6
2009-12-10dm ioctl: retrieve status from inactive tableMike Snitzer1-13/+57
2009-12-10dm ioctl: forbid messages to devices being deletedMike Anderson1-0/+6
2009-12-10dm: rename dm_get_table to dm_get_live_tableAlasdair G Kergon1-7/+7
2009-12-10dm ioctl: prefer strlcpy over strncpyRoel Kluin1-2/+2
2009-12-10dm: avoid _hash_lock deadlockMikulas Patocka1-4/+13
2009-09-19Driver-Core: extend devnode callbacks to provide permissionsKay Sievers1-1/+1
2009-06-22dm: enable request based optionKiyoshi Ueda1-0/+13
2009-06-22dm ioctl: support cookies for udevMilan Broz1-4/+10
2009-06-15Driver Core: misc: add nodename support for misc devices.Kay Sievers1-0/+1
2009-04-09dm: add integrity supportMartin K. Petersen1-0/+21
2009-03-16dm table: rework reference counting fixMikulas Patocka1-2/+2
2009-03-16dm ioctl: validate name length when renamingMilan Broz1-1/+2
2009-01-06dm table: rework reference countingMikulas Patocka1-6/+4
2009-01-06dm ioctl: allow dm_copy_name_and_uuid to return only one fieldMilan Broz1-2/+4
2008-10-21[PATCH] introduce fmode_t, do annotationsAl Viro1-2/+2
2008-10-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dmLinus Torvalds1-2/+2
2008-10-10dm: export struct dm_devMikulas Patocka1-2/+2
2008-10-09block: move policy from disk to part0Tejun Heo1-1/+1
2008-10-09block: don't depend on consecutive minor spaceTejun Heo1-2/+2
2008-02-08dm ioctl: use uninitialized_varAndrew Morton1-1/+1
2008-02-08dm ioctl: move compat codeMilan Broz1-2/+13
2008-02-08dm ioctl: remove lock_kernelAlasdair G Kergon1-6/+9
2007-12-20dm: trigger change uevent on renameAlasdair G Kergon1-0/+2
2007-12-20dm: table detect io beyond deviceJun'ichi Nomura1-7/+3
2007-10-20dm: export name and uuidMike Anderson1-0/+32
2007-10-20dm io:ctl remove vmalloc void castJesper Juhl1-1/+1
2007-10-20dm io:ctl use constant struct sizeMilan Broz1-3/+3
2007-02-12[PATCH] mark struct file_operations const 4Arjan van de Ven1-1/+1
2006-12-08[PATCH] dm: ioctl: add noflush suspendKiyoshi Ueda1-0/+4
2006-12-08[PATCH] dm: suspend: parameter changeKiyoshi Ueda1-6/+6
2006-11-08[PATCH] dm: fix find_device raceAlasdair G Kergon1-2/+7
2006-06-26[PATCH] devfs: Remove the miscdevice devfs_name field as it's no longer neededGreg Kroah-Hartman1-1/+0
2006-06-26[PATCH] devfs: Remove the devfs_fs_kernel.h file from the treeGreg Kroah-Hartman1-1/+0
2006-06-26[PATCH] devfs: Remove devfs_remove() function from the kernel treeGreg Kroah-Hartman1-13/+0
2006-06-26[PATCH] devfs: Remove devfs_mk_bdev() function from the kernel treeGreg Kroah-Hartman1-14/+0
2006-06-26[PATCH] devfs: Remove devfs_mk_dir() function from the kernel treeGreg Kroah-Hartman1-1/+0
2006-06-26[PATCH] dm: improve error message consistencyAlasdair G Kergon1-0/+1
2006-06-26[PATCH] dm: prevent removal if openAlasdair G Kergon1-20/+45
2006-06-26[PATCH] dm: consolidate creation functionsAlasdair G Kergon1-5/+4
2006-06-26[PATCH] dm: fix mapped device ref countingJeff Mahoney1-10/+24
2006-03-27[PATCH] dm store geometryDarrick J. Wong1-1/+51
2006-03-27[PATCH] dm table: store mdMike Anderson1-11/+21
2006-03-27[PATCH] dm: tidy mdptrAlasdair G Kergon1-3/+13
2006-02-01[PATCH] device-mapper ioctl: reduce PF_MEMALLOC usageAlasdair G Kergon1-10/+4
2006-01-14[PATCH] Unlinline a bunch of other functionsArjan van de Ven1-2/+2
2006-01-06[PATCH] device-mapper ioctl: add skip lock_fs flagAlasdair G Kergon1-2/+9
2006-01-06[PATCH] device-mapper: make lock_fs optionalAlasdair G Kergon1-2/+2
2006-01-06[PATCH] device-mapper ioctl: event on renamegoggin, edward1-0/+10
2005-11-22[PATCH] device-mapper: list_versions fixAlasdair G Kergon1-1/+1
2005-11-22[PATCH] device-mapper dm-ioctl: missing put in table load error caseKiyoshi Ueda1-0/+1
2005-09-28[PATCH] device-mapper: Trigger an event when a table is deletedgoggin, edward1-0/+9
2005-06-23[PATCH] create a kstrdup library functionPaulo Marques1-11/+3
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+1416