guix/guix
Chris Marusich 341dfe7eda
syscalls: mounts: Fix a matching bug.
On some systems, the columns in /proc/self/mountinfo look like this:

23 28 0:21 / /proc rw,nosuid,nodev,noexec,relatime shared:11 - proc proc rw

Before this change, the mounts procedure was written with the assumption that
the type and source could always be found in columns 8 and 9, respectively.
However, the proc(5) man page explains that there can be zero or more optional
fields starting at column 7 (e.g., "shared:11" above), so this assumption is
false in some situations.

* guix/build/syscalls.scm (mounts): Update the match pattern to use ellipsis
to match zero or more optional fields followed by a single hyphen.  Remove the
trailing ellipsis, since multiple ellipses are not allowed in the same level.
The proc(5) man page indicates that there are no additional columns, so it is
probably OK to match an exact number of columns at the end like this.
2021-03-15 21:22:43 -07:00
..
build syscalls: mounts: Fix a matching bug. 2021-03-15 21:22:43 -07:00
build-system build-system/cargo: Propagate crates across builds. 2021-03-14 19:52:44 +02:00
import import: go: Compute the hash of Git checkouts. 2021-03-10 18:01:48 +01:00
scripts time-machine: Fail when unrecognized option. 2021-03-11 23:19:53 +01:00
store database: Validate #:nar-size and #:time when registering store items. 2021-01-31 21:49:58 +01:00
tests tests: do not hard code HTTP ports 2021-03-06 11:41:48 +01:00
android-repo-download.scm
avahi.scm
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm
channels.scm channels: Add the channel branch in sexp->channel. 2021-03-10 16:53:51 +01:00
ci.scm ci: Add missing imports. 2021-01-31 21:49:58 +01:00
colors.scm
combinators.scm
config.scm.in build: Add '--with-channel-commit' and related configure flags. 2021-02-04 09:23:39 +01:00
cpio.scm
cve.scm
cvs-download.scm
d3.v3.js
deprecation.scm
derivations.scm
describe.scm describe: Make sure package-channels always returns a list. 2021-02-25 10:24:11 +01:00
diagnostics.scm
discovery.scm
docker.scm docker: Pass '--hard-dereference' to 'tar' to ensure reproducible builds. 2021-02-08 23:50:35 +01:00
download.scm download: 'url-fetch/tarbomb' and 'url-fetch/zipbomb' refer to native tools. 2021-03-05 12:49:28 +01:00
elf.scm
ftp-client.scm ftp-client: Before 'PASV', try 'EPSV' first for IPv6. 2021-02-15 08:38:00 +08:00
gexp.scm gexp: Honor #:target in 'compiled-modules'. 2021-03-05 12:49:28 +01:00
git-authenticate.scm channels: Consider the current channel commit as authentic. 2021-02-04 09:23:39 +01:00
git-download.scm
git.scm
glob.scm
gnu-maintenance.scm gnu-maintenance: Autoload (zlib). 2021-03-13 22:51:18 +01:00
gnupg.scm
grafts.scm grafts: Inline 'grafting?' and 'set-grafting'. 2021-02-23 15:24:47 +01:00
graph.js
graph.scm
hg-download.scm
http-client.scm http-client: Accept #:open-connection in http-fetch. 2021-02-22 20:43:10 +00:00
i18n.scm
inferior.scm inferior: Add <inferior> printer. 2021-03-13 22:51:18 +01:00
licenses.scm licenses: Add Zero-Clause BSD License. 2021-03-06 11:41:49 +01:00
lint.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
narinfo.scm guix: Split (guix substitutes) from (guix scripts substitute). 2021-03-05 21:06:03 +00:00
openpgp.scm openpgp: Remove now unnecessary procedure. 2021-03-02 23:12:37 +01:00
packages.scm ci: Remove hydra support. 2021-03-10 08:49:48 +01:00
pki.scm
profiles.scm profiles: 'package->manifest-entry' preserves transformations by default. 2021-03-05 12:49:27 +01:00
profiling.scm
progress.scm
quirks.scm
records.scm
remote.scm
repl.scm
scripts.scm guix: scripts: Fix corner cases of hint for option typo. 2021-02-24 23:50:13 +01:00
search-paths.scm
self.scm import: Add Go importer. 2021-03-10 18:01:48 +01:00
serialization.scm serialization: Micro-optimize string literal output in 'write-file-tree'. 2021-03-01 17:45:51 +01:00
sets.scm
ssh.scm
status.scm
store.scm store: Micro-optimize object cache lookup. 2021-02-23 15:24:49 +01:00
substitutes.scm guix: substitutes: Make progress reporting configurable. 2021-03-09 20:19:33 +00:00
svn-download.scm
swh.scm
tests.scm Revert "tests: Refer to '%derivation-cache' in the right module." 2021-03-06 11:41:48 +01:00
transformations.scm
ui.scm ui: Bug-report URL in '--help' can be translated. 2021-02-24 23:44:10 +01:00
upstream.scm
utils.scm utils: Use Guile-zlib for gzip compression and decompression. 2021-03-12 15:59:46 +01:00
workers.scm