guix/guix
Ludovic Courtès 34c79c6ae8
syscalls: ‘processes’ really omits kernel threads.
Fixes a bug whereby ‘processes’ would include kernel threads, thereby
leading the ‘stop’ method of ‘user-processes’ to wait indefinitely for a
kernel thread.  Code taken from the Shepherd.

Fixes <https://issues.guix.gnu.org/68800>.

* guix/build/syscalls.scm (kernel?): Remove.
(linux-process-flags, linux-kernel-thread?, pseudo-process?): New
procedures.
(PF_KTHREAD): New variable.
(processes): Use ‘pseudo-process?’ instead of ‘kernel?’.

Reported-by: Tomas Volf <~@wolfsden.cz>
Change-Id: I8c439cdaf868a8f899de7fe500ce8bf10e5fc290
2024-02-20 10:57:16 +01:00
..
build syscalls: ‘processes’ really omits kernel threads. 2024-02-20 10:57:16 +01:00
build-system build-system: perl: Accept Gexps for #:module-build-flags. 2024-02-10 10:33:18 +00:00
import import/cran: Use downstream name when using specifications. 2024-02-20 10:32:24 +01:00
platforms guix: Add ork1-elf platform. 2024-01-22 11:26:56 +01:00
scripts git-download: Download from SWH by nar hash when possible. 2024-02-12 12:03:53 +01:00
store
tests
android-repo-download.scm
avahi.scm
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm
channels.scm channels: ‘latest-channel-instances’ traverses user-provided channels first. 2024-01-31 09:07:25 +01:00
ci.scm
colors.scm
combinators.scm
config.scm.in
cpio.scm
cpu.scm
cve.scm
cvs-download.scm
d3.v3.js
deprecation.scm
derivations.scm
describe.scm
diagnostics.scm
discovery.scm
docker.scm guix: docker: Build layered images. 2024-01-08 21:04:44 +03:00
download.scm download: Update Apache mirror list. 2023-12-17 01:00:00 +01:00
elf.scm
ftp-client.scm
gexp.scm
git-authenticate.scm
git-download.scm git-download: Download from SWH by nar hash when possible. 2024-02-12 12:03:53 +01:00
git.scm
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.js
graph.scm
hash.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm
ipfs.scm
least-authority.scm
licenses.scm
lint.scm lint: archival: Check with ‘lookup-directory-by-nar-hash’. 2024-02-12 12:03:53 +01:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
narinfo.scm
openpgp.scm
packages.scm
pki.scm
platform.scm
profiles.scm
profiling.scm
progress.scm
quirks.scm
read-print.scm guix: import: Optionally import necessary yanked crates. 2024-01-09 09:38:38 +02:00
records.scm
remote.scm
repl.scm
rpm.scm
scripts.scm
search-paths.scm
self.scm gnu: disarchive: Update to 0.6.0. 2024-02-12 21:26:01 -06:00
serialization.scm
sets.scm
ssh.scm
status.scm
store.scm
substitutes.scm
svn-download.scm
swh.scm swh: Fix docstring of ‘lookup-directory’. 2024-02-12 12:03:53 +01:00
tests.scm
transformations.scm
ui.scm ui: It’s 2024 now! 2024-01-05 17:27:21 +01:00
upstream.scm upstream: update-package-inputs: Sort extra inputs. 2024-02-19 11:44:47 +01:00
utils.scm gnu: Add target-x32?. 2024-01-04 21:48:17 +02:00
workers.scm