summaryrefslogtreecommitdiffstats
path: root/kernel/params.c
AgeCommit message (Expand)Author
2020-07-28moduleparams: Add hexint type parameterPaul Menzel
2020-07-28kernel/params.c: Align last argument with a tabPaul Menzel
2019-08-19lockdown: Lock down module params that specify hardware parameters (eg. ioport)David Howells
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner
2018-04-11kernel/params.c: downgrade warning for unsafe parametersChris Wilson
2017-10-03kernel/params.c: improve STANDARD_PARAM_DEF readabilityJean Delvare
2017-10-03kernel/params.c: fix an overflow in param_attr_showJean Delvare
2017-10-03kernel/params.c: fix the maximum length in param_get_stringJean Delvare
2017-10-03kernel/params.c: align add_sysfs_param documentation with codeJean Delvare
2017-04-18boot/param: Move next_arg() function to lib/cmdline.c for later reuseBaoquan He
2015-11-09Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds
2015-11-06module: export param_free_charp()Dan Streetman
2015-08-26params: don't ignore the rest of cmdline if parse_one() failsOleg Nesterov
2015-07-01Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds
2015-06-28modules: only use mod->param_lock if CONFIG_MODULESStephen Rothwell
2015-06-28param: fix module param locks when !CONFIG_SYSFS.Rusty Russell
2015-06-23module: add per-module param_lockDan Streetman
2015-06-23module: make perm constDan Streetman
2015-06-23params: suppress unused variable error, warn once just in case code changes.Rusty Russell
2015-05-28kernel/params.c: export param_ops_bool_enable_onlyLuis R. Rodriguez
2015-05-28kernel/params.c: generalize bool_enable_onlyLuis R. Rodriguez
2015-05-28kernel/params: constify struct kernel_param_ops usesLuis R. Rodriguez
2015-05-20module: add extra argument for parse_params() callbackLuis R. Rodriguez
2015-04-15params: handle quotes properly for values not of form foo="bar".Rusty Russell
2015-01-20param: fix uninitialized read with CONFIG_DEBUG_LOCK_ALLOCRusty Russell
2014-12-23param: initialize store function to NULL if not available.Rusty Russell
2014-12-18param: do not set store func without write permKees Cook
2014-11-11params: cleanup sysfs allocationRusty Russell
2014-10-14kernel/param: consolidate __{start,stop}___param[] in <linux/moduleparam.h>Geert Uytterhoeven
2014-08-27param: check for tainting before calling set op.Rusty Russell
2014-08-27module: make it possible to have unsafe, tainting module paramsJani Nikula
2014-08-27module: rename KERNEL_PARAM_FL_NOARG to avoid confusionJani Nikula
2014-07-17Add module param type 'ullong'Hannes Reinecke
2014-04-28param: hand arguments after -- straight to initRusty Russell
2013-12-04params: improve standard definitionsFelipe Contreras
2013-09-28kernel/params: fix handling of signed integer typesJean Delvare
2013-09-12kernel: replace strict_strto*() with kstrto*()Jingoo Han
2013-09-03module: Fix mod->mkobj.kobj potentially freed too earlyLi Zhong
2013-08-20kernel/params.c: use scnprintf() instead of sprintf()Chen Gang
2013-08-20module: Add flag to allow mod params to have no argumentsSteven Rostedt
2013-08-20module: fix sprintf format specifier in param_get_byte()Christoph Jaeger
2013-07-02There is no /sys/parametersJean Delvare
2013-03-18params: Fix potential memory leak in add_sysfs_param()David Woodhouse
2012-05-04params: replace printk(KERN_<LVL>...) with pr_<lvl>(...)Jim Cromie
2012-05-04params.c: fix Smack complaint about parse_argsJim Cromie
2012-04-30params: add 3rd arg to option handler callback signatureJim Cromie
2012-03-26params: <level>_initcall-like kernel parametersPawel Moll
2012-03-26module_param: remove support for bool parameters which are really int.Rusty Russell
2012-02-28includecheck: delete any duplicate instances of module.hPaul Gortmaker
2012-02-14module: make module param bint handle nul valueDave Young
n>(); $showOnlyUnread = true; // FIXME: get this from the settings db if($showOnlyUnread){ $items = $itemMapper->findAllStatus($feedId, OCA\News\StatusFlag::UNREAD); } else { $items = $itemMapper->findAll($feedId); } echo '<ul>'; foreach($items as $item) { if($item->isRead()){ $newsItemClass = "read"; } else { $newsItemClass = ""; } if($item->isImportant()){ $starClass = 'important'; $startTitle = $l->t('Mark as unimportant'); } else { $starClass = ''; $startTitle = $l->t('Mark as important'); } echo '<li class="feed_item ' . $newsItemClass .'" data-id="' . $item->getId() . '" data-feedid="' . $feedId . '">'; echo '<div class="utils">'; echo '<ul class="primary_item_utils">'; echo '<li class="star ' . $starClass . '" title="' . $startTitle . '"></li>'; echo '</ul>'; echo '<ul class="secondary_item_utils">'; echo '<li class="keep_unread">' . $l->t('Keep unread') . '<input type="checkbox" /></li>'; echo '</ul>'; echo '</div>'; echo '<h2 class="item_date"><time class="timeago" datetime="' . date('c', $item->getDate()) . '">' . date('F j, Y, g:i a', $item->getDate()) . '</time>' . '</h2>'; echo '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>'; if(trim($item->getAuthor()) == ''){ $from = $l->t('from') . ' ' . parse_url($item->getUrl(), PHP_URL_HOST); } else { $from = $l->t('from') . ' ' . $item->getAuthor(); } echo '<h2 class="item_author">' . $from . '</h2>'; echo '<div class="body">' . $item->getBody() . '</div>'; echo '</li>'; } echo '</ul>';