summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-07.poll-limit.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
10 hoursmountpoint-util: port path_is_mount_point() to chase_and_open_parent()Mike Yuan1-15/+8
10 hoursmountpoint-util: rename fd_is_mount_point() to is_mount_point_at()Mike Yuan12-37/+37
fd_* functions in our codebase usually mean fd-specific operations, while this one actually takes openat()-style params. Rename it accordingly hence.
10 hoursmountpoint-util: some tweaks for fd_is_mount_point()Mike Yuan2-57/+69
- Drop fstat() fallback path now that we assume fdinfo is available - Use at_flags_normalize_nofollow() - Accept empty path the same way as NULL - Accept fd being AT_FDCWD and filename being "."
10 hoursmountpoint-util: our baseline includes fdinfo and mnt_id nowMike Yuan2-12/+7
10 hoursmountpoint-util: check >= 0 for successMike Yuan1-4/+2
10 hoursmountpoint-util: update comment in is_name_to_handle_at_fatal_error()Mike Yuan1-4/+4
We can now assume name_to_handle_at() syscall is available, however the underlying fs can still lack support for it.
11 hoursfs-util: introduce at_flags_normalize_nofollow() helperMike Yuan1-0/+9
13 hoursupdate TODOLennart Poettering1-0/+2
13 hoursvarlink: fix error nameLennart Poettering1-2/+2
The documentation and code agree on the same name, since always, but when I put together the IDL I made a mistake and insert a "Not" that wasn't supposed to be there. Let's correct that.
18 hourstree-wide: always include our own headers with "" rather than <>Lennart Poettering4-5/+5
We got this almost always right. Fix this for a few outliers.
22 hoursTEST-74-AUX-UTILS: Move run0 pcrlock test to TEST-70-TPMDaan De Meyer2-5/+5
On CentOS Stream 9/10 booting mkosi qemu with --firmware=linux doesn't add the virtual TPM to the virtual machine which means TEST-74-AUX-UTILS.run.sh fails because it requires a TPM. Let's move the systemd-pcrlock logic that requires a TPM to TEST-70-TPM.pcrlock to avoid the problem.
23 hourstest: Look for qemu in /usr/libexec/qemu-kvm as wellDaan De Meyer3-3/+6
On CentOS Stream, the qemu binary is /usr/libexec/qemu-kvm so use that if it's available.
25 hoursmkosi: Run more commands as rootDaan De Meyer2-10/+20
zypper has some new rather questionable userspace level permission checking that blows ups completely when operating as root on an cache directory owned by a non-root user, so let's build the tools tree and set up meson as root to avoid the issue. (https://github.com/openSUSE/libzypp/issues/603) Also drop a leftover debug message from coverage.yml while we're at it.
25 hoursmkosi: Don't set -O ^orphan_file in centos stream 9 tools treeDaan De Meyer2-3/+13
25 hoursmkosi: lcov and shellcheck are not in EPEL 10Daan De Meyer6-2/+5
Let's drop these from CentOS Stream tools trees as they are not in EPEL 10 yet.
25 hoursmkosi: Use a bigger variety of tools tree distributionsDaan De Meyer1-3/+9
Let's add more coverage for building with tools trees by building each image with a tools tree of the same distribution and release. Because not every tools tree distribution has a newer meson yet, we only use --max-lines= when meson actually knows the option.
25 hoursmkosi: Update to latestDaan De Meyer2-2/+2
26 hoursupdate TODOLennart Poettering1-11/+0
26 hourstest: add test for homed alias and realm user resolutionLennart Poettering1-0/+23
26 hourshomectl: add support for creating users with alias namesLennart Poettering2-0/+60
26 hourshomed: support user record aliasesLennart Poettering8-54/+154
26 hourspam_systemd_home: support login with alias names + user names with realmsLennart Poettering2-30/+48
This in particular makes sure that we normalize the user name and update it in the PAM session, once we acquire it. This means that if you have a user with name "a" and alias "b", and the user logs in as "b" they end up properly with "a" as user name set, as intended by the PAM gods. Moreover, if you have a user "c" in a ralm "d", they may log in by specifying "c" or "c@d", with equivalent results.
26 hourspam_systemd_home: use right field name in error messageLennart Poettering1-1/+1
26 hoursuser-record: add support for alias user names to user recordLennart Poettering4-1/+29
26 hoursuser-record: add helper that checks if a provided user name matches a recordLennart Poettering9-8/+39
This ensures that user names can be specified either in the regular short syntax or with a realm appended, and both are accepted. (The latter of course only if the record actually defines a realm)
26 hourspam: minor coding style tweaksLennart Poettering2-12/+8
26 hoursstrv: add strv_equal_ignore_order() helperLennart Poettering3-0/+44
26 hoursnetworkd-test.py: generate debugging logs of networkdYu Watanabe1-0/+10
26 hoursukify: add --policy-digest optionLuca Boccassi3-3/+35
Uses the newly added policy-digest verb of systemd-measure, for the same purpose: build a UKI and get digests for the .pcrsig section out, so that they can be offline signed and reattached
35 hoursmeasure: add policy-digest verbLuca Boccassi3-25/+69
When doing offline signing we need to know the exact payload to sign, and the 'calculate' verb doesn't really show that, it shows the PCR values. But what we sign is the hash of the policy. So add a new verb that outputs the json payload that goes in the .pcrsig section, without the .sig object, so that we can take them and give the .pol object to an offline and asynchronous signing service, such as SUSE's Open Build Service, and then add the .sig object to the json and attach it to a UKI.
38 hoursupdate TODOLennart Poettering1-3/+3
38 hoursnotify: add support for MANAGERPIDFDIDLennart Poettering1-14/+41
38 hourspid1: pass pidfdids to invoked services in $MAINPIDFDID and $MANAGERPIDFDIDLennart Poettering2-9/+39
38 hoursrandom-util: include pidfdid in fallback RNG bufferLennart Poettering1-0/+3
This doesn't make the RNG cryptographic strength, but if we have it easily accessible, why not include the pidfd id. It is after all not vulnerable to reuse.
38 hourspidref: now that we have the cached pidfdid of our own process, use itLennart Poettering9-26/+43
Note that this drops a lot of "const" qualifiers on PidRef arguments. That's because pidref_is_self() suddenly might end changing the PidRef because it acquires the pidfd ID. We had this previously already with pidfd_equal(), but this amplifies the problem. I guess we C's "const" doesn't really work for stuff that contains caches, that is just conceptually constant, but not actually.
38 hourspidfd-util: add helper for getting our own pidfdidLennart Poettering3-0/+48
let's start caching our own pidfd id, since it's somewhat involved to get but a much better identifier for things than the classic PID is.
38 hourspidfd-util: dont open a new pidfd unnecessarily in pidfd_check_pidfs()Lennart Poettering1-7/+5
38 hoursbuild: fail the build if we accidentally drop a "const" qualifier on a parameterLennart Poettering1-0/+1
let's be strict here, our codebase allows it.
38 hoursnspawn: downgrade log message about usrquota to debugLuca Boccassi1-1/+1
This is shown every time nspawn is started, which is annoying and there's nothing a user can do about it, since it depends on an extremely new kernel. Downgrade to debug. Follow-up for 611ae598889471830b2f1d7251c271b79884b1c4
39 hoursudevadm-control: allow to enable/disable trace logging in systemd-udevdYu Watanabe5-2/+37
Should be useful for debugging udev rules.
39 hoursudev-varlink: allow to enable/disable trace logging through varlinkYu Watanabe4-0/+44
This introduces io.systemd.Udev.SetTrace varlink method. With the method, trace logging by udev worker can be dynamically controlled.
39 hoursudev-config: allow to enable trace logging through kernel command lineYu Watanabe5-6/+49
This adds udev.trace[=BOOL] kernel command line option to control trace logging.
39 hoursudev-control: move setting of log level to manager_adjust_config()Yu Watanabe1-2/+2
No functional change, just refactoring.
40 hoursresolved: empty "ipv4hint" and "ipv6hint" SvcParams are invalidTommi Rantala1-2/+2
According to RFC 9460 "An empty list of addresses is invalid." https://www.rfc-editor.org/rfc/rfc9460.html#section-7.3
40 hoursintegritysetup: use dispatch_verb()Yu Watanabe1-85/+86
40 hoursveritysetup: use dispatch_verb()Yu Watanabe1-119/+123
40 hourscryptsetup: use dispatch_verb()Yu Watanabe1-232/+235
40 hourscryptsetup: drop doubled spaceYu Watanabe1-1/+1
40 hourscryptsetup: use mangle_none() at one more placeYu Watanabe1-1/+2
46 hoursmkosi: Don't set ToolsTreeRepositories= for CentOS Stream toolsDaan De Meyer1-7/+0
mkosi does this itself so no need to do it in systemd.