aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/params.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-01params: Fix multi-line comment styleAndy Shevchenko1-8/+12
2023-12-01params: Sort headersAndy Shevchenko1-6/+6
2023-12-01params: Use size_add() for kmalloc()Andy Shevchenko1-1/+2
2023-12-01params: Do not go over the limit when getting the string lengthAndy Shevchenko1-3/+6
2023-12-01params: Introduce the param_unknown_fn typeAndy Shevchenko1-6/+2
2023-07-10kernel: params: Remove unnecessary ‘0’ values from errLi zeming1-1/+1
2023-06-14kallsyms: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-1/+1
2023-03-09module: make module_ktype structure constantThomas Weißschuh1-1/+1
2023-01-25kernel/params.c: Use kstrtobool() instead of strtobool()Christophe JAILLET1-1/+2
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-11-22kobject: kset_uevent_ops: make filter() callback take a const *Greg Kroah-Hartman1-1/+1
2022-11-11kernel/params.c: defer most of param_sysfs_init() to late_initcall timeRasmus Villemoes1-2/+19
2022-11-11module: remove redundant module_sysfs_initialized variableRasmus Villemoes1-2/+0
2021-12-28kobject: remove kset from struct kset_uevent_ops callbacksGreg Kroah-Hartman1-1/+1
2021-12-27driver core: make kobj_type constant.Wedson Almeida Filho1-1/+1
2021-08-16params: lift param_set_uint_minmax to common codeSagi Grimberg1-0/+18
2020-12-17Merge tag 'modules-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-6/+4
2020-11-25module: simplify version-attribute handlingJohan Hovold1-6/+4
2020-10-29params: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-07-28moduleparams: Add hexint type parameterPaul Menzel1-8/+9
2020-07-28kernel/params.c: Align last argument with a tabPaul Menzel1-8/+8
2019-08-19lockdown: Lock down module params that specify hardware parameters (eg. ioport)David Howells1-5/+16
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-13/+1
2018-04-11kernel/params.c: downgrade warning for unsafe parametersChris Wilson1-2/+2
2017-10-03kernel/params.c: improve STANDARD_PARAM_DEF readabilityJean Delvare1-8/+8
2017-10-03kernel/params.c: fix an overflow in param_attr_showJean Delvare1-10/+7
2017-10-03kernel/params.c: fix the maximum length in param_get_stringJean Delvare1-1/+1
2017-10-03kernel/params.c: align add_sysfs_param documentation with codeJean Delvare1-1/+1
2017-04-18boot/param: Move next_arg() function to lib/cmdline.c for later reuseBaoquan He1-52/+0
2015-11-09Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-8/+9
2015-11-06module: export param_free_charp()Dan Streetman1-1/+2
2015-08-26params: don't ignore the rest of cmdline if parse_one() failsOleg Nesterov1-8/+9
2015-07-01Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-30/+86
2015-06-28modules: only use mod->param_lock if CONFIG_MODULESStephen Rothwell1-0/+4
2015-06-28param: fix module param locks when !CONFIG_SYSFS.Rusty Russell1-4/+14
2015-06-23module: add per-module param_lockDan Streetman1-19/+31
2015-06-23module: make perm constDan Streetman1-5/+3
2015-06-23params: suppress unused variable error, warn once just in case code changes.Rusty Russell1-0/+1
2015-05-28kernel/params.c: export param_ops_bool_enable_onlyLuis R. Rodriguez1-0/+1
2015-05-28kernel/params.c: generalize bool_enable_onlyLuis R. Rodriguez1-0/+30
2015-05-28kernel/params: constify struct kernel_param_ops usesLuis R. Rodriguez1-7/+7
2015-05-20module: add extra argument for parse_params() callbackLuis R. Rodriguez1-4/+7
2015-04-15params: handle quotes properly for values not of form foo="bar".Rusty Russell1-2/+2
2015-01-20param: fix uninitialized read with CONFIG_DEBUG_LOCK_ALLOCRusty Russell1-0/+1
2014-12-23param: initialize store function to NULL if not available.Rusty Russell1-0/+2
2014-12-18param: do not set store func without write permKees Cook1-1/+3
2014-11-11params: cleanup sysfs allocationRusty Russell1-51/+44
2014-10-14kernel/param: consolidate __{start,stop}___param[] in <linux/moduleparam.h>Geert Uytterhoeven1-4/+3
2014-08-27param: check for tainting before calling set op.Rusty Russell1-11/+11
2014-08-27module: make it possible to have unsafe, tainting module paramsJani Nikula1-0/+11
2014-08-27module: rename KERNEL_PARAM_FL_NOARG to avoid confusionJani Nikula1-3/+3
2014-07-17Add module param type 'ullong'Hannes Reinecke1-0/+1
2014-04-28param: hand arguments after -- straight to initRusty Russell1-11/+14
2013-12-04params: improve standard definitionsFelipe Contreras1-16/+9
2013-09-28kernel/params: fix handling of signed integer typesJean Delvare1-3/+3
2013-09-12kernel: replace strict_strto*() with kstrto*()Jingoo Han1-7/+7
2013-09-03module: Fix mod->mkobj.kobj potentially freed too earlyLi Zhong1-0/+7
2013-08-20kernel/params.c: use scnprintf() instead of sprintf()Chen Gang1-3/+4
2013-08-20module: Add flag to allow mod params to have no argumentsSteven Rostedt1-2/+4
2013-08-20module: fix sprintf format specifier in param_get_byte()Christoph Jaeger1-1/+1
2013-07-02There is no /sys/parametersJean Delvare1-1/+1
2013-03-18params: Fix potential memory leak in add_sysfs_param()David Woodhouse1-1/+4
2012-05-04params: replace printk(KERN_<LVL>...) with pr_<lvl>(...)Jim Cromie1-21/+12
2012-05-04params.c: fix Smack complaint about parse_argsJim Cromie1-1/+1
2012-04-30params: add 3rd arg to option handler callback signatureJim Cromie1-14/+17
2012-03-26params: <level>_initcall-like kernel parametersPawel Moll1-4/+12
2012-03-26module_param: remove support for bool parameters which are really int.Rusty Russell1-21/+2
2012-02-28includecheck: delete any duplicate instances of module.hPaul Gortmaker1-1/+0
2012-02-14module: make module param bint handle nul valueDave Young1-1/+2
2012-01-13module_param: avoid bool abuse, add bint for special cases.Rusty Russell1-0/+24
2012-01-13kernel/params: replace DEBUGP with pr_debugJim Cromie1-10/+4
2011-10-31kernel: params.c needs module.h not moduleparam.hPaul Gortmaker1-1/+1
2011-10-26params: make dashes and underscores in parameter names truly equalMichal Schmidt1-7/+14
2011-07-24module: add /sys/module/<name>/uevent filesKay Sievers1-0/+4
2011-07-24module: change attr callbacks to take struct module_kobjectKay Sievers1-5/+5
2011-07-24param: fix return value handling in param_set_*Satoru Moriya1-2/+2
2011-05-19params.c: Use new strtobool function to process boolean inputsJonathan Cameron1-10/+4
2011-05-19module: deal with alignment issues in built-in module versionsDmitry Torokhov1-3/+6
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-01-24module: show version information for built-in modules in sysfsDmitry Torokhov1-11/+54
2010-08-11param: locking for kernel parametersRusty Russell1-7/+26
2010-08-11param: make param sections const.Rusty Russell1-2/+2
2010-08-11param: use free hook for charp (fix leak of charp parameters)Rusty Russell1-2/+50
2010-08-11param: add a free hook to kernel_param_ops.Rusty Russell1-1/+16
2010-08-11param: use ops in struct kernel_param, rather than get and set fns directlyRusty Russell1-28/+62
2010-08-11param: move the EXPORT_SYMBOL to after the definitions.Rusty Russell1-26/+13
2010-08-11params: don't hand NULL values to param.set callbacks.Rusty Russell1-17/+3
2010-03-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-3/+3
2010-03-08Merge branch 'for-next' into for-linusJiri Kosina1-3/+3
2010-03-07sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on dynamic attributesEric W. Biederman1-0/+1
2010-03-07Driver core: Constify struct sysfs_ops in struct kobj_typeEmese Revfy1-1/+1
2010-03-07kobject: Constify struct kset_uevent_opsEmese Revfy1-1/+1
2010-03-06includecheck fix for kernel/params.cJaswinder Singh Rajput1-1/+0
2010-02-05Remove redundant trailing semicolons from macrosEdward Z. Yang1-3/+3
2009-12-15tree-wide: convert open calls to remove spaces to skip_spaces() lib functionAndré Goddard Rosa1-5/+3
2009-10-29param: fix setting arrays of boolRusty Russell1-1/+4
2009-10-29param: fix NULL comparison on oomRusty Russell1-1/+1
2009-10-29param: fix lots of bugs with writing charp params from sysfs, by leaking mem.Rusty Russell1-9/+1
2009-09-25param: allow whitespace as kernel parameter separatorPeter Oberparleiter1-3/+4
2009-06-12module_param: allow 'bool' module_params to be bool, not just int.Rusty Russell1-7/+26
2009-06-12module_param: split perm field into flags and permRusty Russell1-6/+3
2009-06-12module_param: invbool should take a 'bool', not an 'int'Rusty Russell1-2/+2
2009-03-31param: fix charp parameters set via sysfsRusty Russell1-1/+25
2008-10-23Fix compile warning in kernel/params.cLinus Torvalds1-1/+1
2008-10-22core_param() for genuinely core kernel parametersRusty Russell1-7/+7
2008-10-22param: Fix duplicate module prefixesRusty Russell1-120/+141
2008-10-22module: check kernel param length at compile time, not runtimeRusty Russell1-5/+2
2008-02-08Add new string functions strict_strto* and convert kernel params to use themYi Yang1-10/+10
2008-02-06kernel/params.c: remove sparse-warning (different signedness)Richard Knutsson1-1/+1
2008-01-29module: fix the module name length in param_sysfs_builtinDenis Cheng1-5/+3
2008-01-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-1/+1
2008-01-24Modules: remove unneeded release functionGreg Kroah-Hartman1-10/+0
2008-01-24Kobject: convert kernel/params.c to use kobject_init/add_ng()Greg Kroah-Hartman1-4/+2
2008-01-24kset: convert /sys/module to use kset_createGreg Kroah-Hartman1-20/+9
2008-01-24kobject: remove struct kobj_type from struct ksetGreg Kroah-Hartman1-4/+5
2008-01-23[SCSI] sysfs: add filter function to groupsJames Bottomley1-1/+1
2007-12-22Modules: fix memory leak of module namesGreg Kroah-Hartman1-0/+10
2007-11-14fix param_sysfs_builtin name length checkJan Kiszka1-9/+6
2007-10-18param_sysfs_builtin memchr argument fixDave Young1-1/+7
2007-10-17constify string/array kparam tracking structuresJan Beulich1-10/+7
2007-07-30modules: better error messages when modules fail to load due to a sysfs problem.Greg Kroah-Hartman1-1/+6
2007-07-11sysfs: kill unnecessary attribute->ownerTejun Heo1-1/+0
2007-05-08kernel/params.c: fix lying comment for param_array()Bert Wesarg1-1/+1
2007-05-02remove "struct subsystem" as it is no longer neededGreg Kroah-Hartman1-0/+2
2007-04-12[PATCH] fix kernel oops with badly formatted module optionRandy Dunlap1-0/+4
2007-02-23Revert "Driver core: let request_module() send a /sys/modules/kmod/-uevent"Greg Kroah-Hartman1-1/+0
2007-02-16sysfs: fix build errors: uevent with CONFIG_SYSFS=nRandy Dunlap1-13/+15
2007-02-16Driver core: let request_module() send a /sys/modules/kmod/-ueventKay Sievers1-0/+1
2007-02-07/sys/modules/*/holdersKay Sievers1-1/+16
2007-02-07Modules: only add drivers/ direcory if neededGreg Kroah-Hartman1-1/+0
2007-02-07MODULES: add the module name for built in kernel driversKay Sievers1-7/+5
2007-01-05[PATCH] kernelparams: detect if and which parameter parsing enabled irq'sArd van Breemen1-0/+6
2006-09-29[PATCH] module_subsys: initialize earlierMark Huang1-1/+1
2006-09-29[PATCH] kernel/params: driver layer error checkingRandy Dunlap1-2/+11
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-03-28[PATCH] Change dash2underscore() return value to charEric Sesterhenn1-1/+1
2006-03-25[PATCH] kernel/params.c: make param_array() staticAdrian Bunk1-6/+6
2006-03-20[PATCH] fix module sysfs files reference countingGreg Kroah-Hartman1-10/+0
2005-12-20[PATCH] kernel/params.c: fix sysfs access with CONFIG_MODULES=nJason Wessel1-1/+1
2005-10-30[PATCH] fix missing includesTim Schmielau1-0/+1
2005-09-28[PATCH] Ignore trailing whitespace on kernel parameters correctlyRusty Russell1-2/+8
2005-09-07[PATCH] introduce and use kzallocPekka J Enberg1-2/+2
2005-06-20[PATCH] sysfs: (rest) if show/store is missing return -EIODmitry Torokhov1-2/+2
2005-04-16[PATCH] kernel/param.c: don't use .max when .num is NULL in param_array_set()Bert Wesarg1-1/+2
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+721