Yu Watanabe
d86c8a6cdb
udev: make sd_device_get_devname() failure non-fatal
...
As it is just for logging.
Follow-up for eb276e9841 .
2018-10-17 18:02:23 +02:00
Lennart Poettering
8aeb1d3176
Merge pull request #10244 from poettering/nofile-bump
...
bump RLIMIT_NOFILE
2018-10-17 17:59:36 +02:00
Zbigniew Jędrzejewski-Szmek
1bcf3fc6c5
core: return true from cg_is_empty* on ENOENT
2018-10-17 17:49:57 +02:00
Zbigniew Jędrzejewski-Szmek
30538ff10b
meson: simplify definition of MEMORY_ACCOUNTING_DEFAULT
...
Let's just use the simplest form, it doesn't really matter how the define
looks after preprocessing.
2018-10-17 14:54:48 +02:00
Zbigniew Jędrzejewski-Szmek
c02b6ee496
meson: define @HIGH_RLIMIT_NOFILE@ and use it everywhere
2018-10-17 14:54:48 +02:00
Lennart Poettering
c8884aceef
main: introduce a define HIGH_RLIMIT_MEMLOCK similar to HIGH_RLIMIT_NOFILE
2018-10-17 14:40:44 +02:00
Lennart Poettering
a8b627aaed
main: bump fs.nr_open + fs.max-file to their largest possible values
...
After discussions with kernel folks, a system with memcg really
shouldn't need extra hard limits on file descriptors anymore, as they
are properly accounted for by memcg anyway. Hence, let's bump these
values to their maximums.
This also adds a build time option to turn thiss off, to cover those
users who do not want to use memcg.
2018-10-17 14:40:39 +02:00
Lennart Poettering
17fd78cb86
Merge pull request #10429 from yuwata/drop-udev-list
...
udev: replace udev_list by Hashmap
2018-10-17 11:58:02 +02:00
Yu Watanabe
9b5150b63e
udev: use Hashmap for storing global properties
2018-10-17 06:50:12 +09:00
Yu Watanabe
29448498c7
udev: use Hashmap for storing PROGRAM or BUILTIN
2018-10-17 06:49:56 +09:00
Yu Watanabe
d838e14515
udev: use Hashmap for storing SECLABEL
2018-10-17 06:48:53 +09:00
Zbigniew Jędrzejewski-Szmek
f03ec2b180
systemctl: fix typo
2018-10-16 23:03:52 +02:00
Yu Watanabe
66a948605b
udevadm-monitor: use sd_event_loop()
2018-10-17 03:31:20 +09:00
Yu Watanabe
fb3d8e9f44
udevadm-trigger: use sd_event_loop()
2018-10-17 03:31:20 +09:00
Yu Watanabe
c4abe7191a
udevadm-info: use strdup() instead of strscpy()
2018-10-17 03:31:20 +09:00
Yu Watanabe
c7d942d6ca
udevadm-trigger: modernize code a bit
2018-10-17 03:31:20 +09:00
Yu Watanabe
f8d596cdfb
udevadm-trigger: replace udev_monitor by sd_device_monitor
2018-10-17 03:31:20 +09:00
Yu Watanabe
13aca84769
udevadm-info,trigger: replace udev_device by sd_device
2018-10-17 03:31:20 +09:00
Yu Watanabe
a46556f77d
udevadm-monitor: replace udev_monitor by sd_device_monitor
2018-10-17 03:31:20 +09:00
Yu Watanabe
13831507ed
rfkill: replace udev_monitor by sd_device_monitor
2018-10-17 03:31:20 +09:00
Yu Watanabe
eb968396bb
login: replace udev_monitor by sd_device_monitor
2018-10-17 03:31:20 +09:00
Yu Watanabe
d0955f0091
core: replace udev_monitor by sd_device_monitor
2018-10-17 03:31:20 +09:00
Yu Watanabe
d2ebf9527e
network: replace udev_monitor by sd_device_monitor
2018-10-17 03:31:20 +09:00
Yu Watanabe
e39b4d254d
libudev: re-implement udev-monitor by sd_device_monitor
2018-10-17 03:31:20 +09:00
Yu Watanabe
b1c097af8d
sd-device: introduce sd_device_monitor
2018-10-17 03:30:54 +09:00
Lennart Poettering
5450a37e3c
Merge pull request #10419 from yuwata/fix-prioq
...
Fix segfault in prioq_remove() with empty Prioq object
2018-10-16 19:56:04 +02:00
Yu Watanabe
90c88092e6
tree-wide: use CMP() macro where applicable
...
Follow-up for 6dd91b3682 .
2018-10-16 19:55:38 +02:00
Ervin Peters
e4b4c4d497
hwdb: add Aiptek Hyperpen 12000U ( #10424 )
...
Closes #9834 .
2018-10-17 02:39:52 +09:00
Yu Watanabe
8da2f9e807
Merge pull request #10412 from poettering/sockaddr-sun-path
...
various fixes related to struct sockaddr_un handling
2018-10-17 01:25:58 +09:00
Yu Watanabe
ea90471a88
Merge pull request #10422 from poettering/network-xml-route-fix
...
man: systemd.network man page fix
2018-10-17 01:20:12 +09:00
Yu Watanabe
5023c62efd
test: add one more test for prioq_remove()
...
This adds a testcase for e6e637a11a .
2018-10-17 01:18:10 +09:00
Yu Watanabe
0cb3b295ec
prioq: use structrued initializer
2018-10-17 01:09:41 +09:00
Yu Watanabe
e6e637a11a
prioq: fix index range check
2018-10-17 01:09:41 +09:00
Yu Watanabe
9f934223b2
prioq: add one more assertion
2018-10-17 01:08:51 +09:00
Lennart Poettering
6dd91b3682
tree-wide: CMP()ify all the things
...
Let's employ coccinelle to fix everything up automatically for us.
2018-10-16 17:45:53 +02:00
Michael Biebl
f7eed93f15
Set theme jekyll-theme-primer
...
This theme uses anchorjs to provide mouse-over anchor links.
Closes : #10418
2018-10-16 17:43:54 +02:00
Lennart Poettering
88925d2f80
man: fix spurious uppercasing
2018-10-16 17:19:23 +02:00
Lennart Poettering
66d7235e0b
man: an attempt to reword the [Route] Type= man page
...
A follow-up for #10388 .
2018-10-16 17:18:30 +02:00
Hui Yiqun
2d53f310de
networkd: type support for "throw" in [Route] section
2018-10-16 17:09:21 +02:00
Lennart Poettering
535610b561
sd-boot: factor out searching for loader entry
2018-10-16 16:44:34 +02:00
Lennart Poettering
7f1ef12526
sd-boot: also set an ID for the reboot-into-firmware entry
2018-10-16 16:44:34 +02:00
Lennart Poettering
0e2bc73274
sd-boot: write the IDs of all discovered entries to an EFI variable
...
This is primarily useful for debugging, but can be useful for other
purposes too. For example userspace could check whether "auto-windows"
is included in the list, before triggering a boot-into-windows
operation.
2018-10-16 16:44:34 +02:00
Lennart Poettering
f82ecab0a9
efi: make efivar_set_raw() buffer argument VOID*
...
No need to define a type if it is just some arbitrary buffer for us
anyway.
2018-10-16 16:44:34 +02:00
Lennart Poettering
f538cc6548
sd-boot: add boot counting mechanism
2018-10-16 16:44:34 +02:00
Lennart Poettering
64e7e27cd4
sd-boot: coding style fix, don't rely on C's downgrade-to-bool feature for numerical values
2018-10-16 16:44:34 +02:00
Lennart Poettering
05907f25a5
sd-boot: remove left-over lgpl blurb
2018-10-16 16:44:34 +02:00
Lennart Poettering
2214cfbf50
sd-boot: simplify memory management in processing of unified kernel image a bit
2018-10-16 16:44:34 +02:00
Lennart Poettering
42cf81c26f
sd-boot: properly free all config entry fields
2018-10-16 16:44:34 +02:00
Lennart Poettering
081cc95fec
sd-boot: rename ConfigEntry field 'file' to 'id'
...
The field derives from a file name only in very specific cases, for
many cases it's a fixed string (for example, all "auto-" items are like
this). Also, even when it derives from a file name, it is processed a
bit, as suffixes are removed and the string is converted to lower case.
hence, let's name this field "id" instead, because that's what it is
used for: as general identification token.
2018-10-16 16:44:34 +02:00
Lennart Poettering
580fe4df59
sd-boot: break overly long function argument lists following our usual coding style
2018-10-16 16:44:34 +02:00