summaryrefslogtreecommitdiffstats
path: root/src/shared/module-util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* module-util: use the blacklist from module_blacklist= in cmdlineMike Yuan2022-11-141-1/+54
| | | | | | When a module is blacklisted using module_blacklist= we shouldn't fail with 'Operation not permitted'. Instead we check for it and skip it if this is the case.
* shared/module-util: fix errno value passed to log functionZbigniew Jędrzejewski-Szmek2021-04-141-5/+4
| | | | | If r == 0, no harm done. But if r > 0, this would be interpreted as an errno value, wrongly.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* tree-wide: drop pointless zero initialization (#16900)fangxiuning2020-08-291-1/+1
|
* tree-wide: avoid some loaded termsLennart Poettering2020-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | https://tools.ietf.org/html/draft-knodel-terminology-02 https://lwn.net/Articles/823224/ This gets rid of most but not occasions of these loaded terms: 1. scsi_id and friends are something that is supposed to be removed from our tree (see #7594) 2. The test suite defines an API used by the ubuntu CI. We can remove this too later, but this needs to be done in sync with the ubuntu CI. 3. In some cases the terms are part of APIs we call or where we expose concepts the kernel names the way it names them. (In particular all remaining uses of the word "slave" in our codebase are like this, it's used by the POSIX PTY layer, by the network subsystem, the mount API and the block device subsystem). Getting rid of the term in these contexts would mean doing some major fixes of the kernel ABI first. Regarding the replacements: when whitelist/blacklist is used as noun we replace with with allow list/deny list, and when used as verb with allow-list/deny-list.
* tree-wide: fix spelling of lookup and setup verbsZbigniew Jędrzejewski-Szmek2020-03-031-1/+1
| | | | "set up" and "look up" are the verbs, "setup" and "lookup" are the nouns.
* shared: small typoZbigniew Jędrzejewski-Szmek2019-10-281-1/+1
|
* shared/module-util: fix preexisting mixup with errno signZbigniew Jędrzejewski-Szmek2018-07-191-4/+4
|
* udev-builtin-kmod: use the generic module_load() functionZbigniew Jędrzejewski-Szmek2018-07-191-8/+16
| | | | There should be no functional change.
* Move module-util.h to src/shared/ and load_module() to libsharedZbigniew Jędrzejewski-Szmek2018-07-161-0/+64
Unfortunately this needs libshared to link to libkmod. Before it was linked into systemd-udevd, udevadm, and systemd each seperately. On most systems this doesn't make much difference, because at least systemd would be installed, but it might not be in small chroots. It is a small library, so I hope this is not a big issue.