| Age | Commit message (Collapse) | Author | Files | Lines |
|
* tests/utils.scm: Move to tests/import/utils.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/npm-binary.scm: Move to tests/import/npm-binary.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/composer.scm: Move to tests/import/composer.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/texlive.scm: Move to tests/import/texlive.scm.
* Makefile.am: Refresh it.
* CODEOWNERS: Refresh it.
* etc/teams.scm: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/luanti.scm: Move to tests/import/luanti.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/import-github.scm: Move to tests/import/github.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/print.scm: Move to tests/import/print.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/hexpm.scm: Move to tests/import/hexpm.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/opam.scm: Move to tests/import/opam.scm.
* Makefile.am: Refresh it.
* CODEOWNERS: Refresh it.
* etc/teams.scm: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/elpa.scm: Move to tests/import/elpa.scm.
* Makefile.am: Refresh it.
* CODEOWNERS: Refresh it.
* etc/teams.scm: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/cran.scm: Move to tests/import/cran.scm.
* Makefile.am: Refresh it.
* CODEOWNERS: Refresh it.
* etc/teams.scm: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/import-git.scm: Move to tests/import/git.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/gem.scm: Move to tests/import/gem.scm.
* Makefile.am: Refresh it.
* CODEOWNERS: Update.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/elm.scm: Move to tests/import/elm.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/egg.scm: Move to tests/import/egg.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/go.scm: Move to tests/import/go.scm.
* Makefile.am: Refresh it.
* CODEOWNERS: Refresh it.
* etc/teams.scm: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/crate.scm: Move to tests/import/crate.scm.
* Makefile.am: Refresh it.
* CODEOWNERS: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/cpan.scm: Move to tests/import/cpan.scm.
* gnu/packages/admin.scm (ansible): Update comment.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/hackage.scm: Move to tests/import/hackage.scm.
* Makefile.am: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/pypi.scm: Move to tests/import/pypi.scm
* CODEOWNERS: Refresh it.
* Makefile.am: Refresh it.
* etc/teams.scm: Refresh it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
To save a lot of disk space, keep only actually translated messages in
Gettext PO files. Ignore the guix domain, which is more complicated
and is tiny.
* build-aux/keep-only-translated.scm: New file.
* Makefile.am (download-po): Run it.
Change-Id: I6442ce0ef8d62f7e48e667c766b86d0ebf9c5415
|
|
* Makefile.am (download-po): Replace msgfilter by msgconv.
Change-Id: Ic60af4cd605708a7152dd674182adde212ab0fd0
|
|
Enables the use of guix as a package manager for neovim, compatible with
the outputs of `vim-build-system`.
* gnu/packages/vim.scm (neovim)[arguments]: Added another phase to
install the system init file to the correct place.
* gnu/packages/aux-files/guix-nvim.vim: New file.
* Makefile.am (AUX_FILES): Register file.
Change-Id: I375e3e0d051da27d065dff5456cb298a01bc90b1
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
|
|
This reverts commit a7db92d9b389cbe565395523882c34c6eff2c21a, this time with
the more careful command, to avoid a world rebuild:
grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
--exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
|
|
This reverts commit d0d87a744d724b7e7d5ac013c586039652087bb3. Oops! This
caused a world rebuild.
Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
|
|
The change was automated via:
git grep -l maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
* .mailmap: New entry.
Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
|
|
The 6.15 kernel series is no longer supported upstream.
* gnu/packages/linux.scm (linux-libre-6.15-version,
linux-libre-6.15-gnu-revision, deblob-scripts-6.15,
linux-libre-6.15-pristine-source, linux-libre-6.15-source,
linux-libre-headers-6.15, linux-libre-6.15): Remove variables.
* gnu/packages/aux-files/linux-libre/6.15-arm.conf,
gnu/packages/aux-files/linux-libre/6.15-arm64.conf,
gnu/packages/aux-files/linux-libre/6.15-i686.conf,
gnu/packages/aux-files/linux-libre/6.15-riscv.conf,
gnu/packages/aux-files/linux-libre/6.15-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
Change-Id: I89fb56d4153589da7205d55458e1c4d8ab53c206
|
|
* gnu/packages/linux.scm (linux-libre-6.16-version,
linux-libre-6.16-gnu-revision, deblob-scripts-6.16,
linux-libre-6.16-pristine-source, linux-libre-6.16-source,
linux-libre-headers-6.16, linux-libre-6.16): New variables.
(linux-libre-headers-latest): Use linux-libre-headers-6.16.
* gnu/packages/aux-files/linux-libre/6.16-arm64.conf,
gnu/packages/aux-files/linux-libre/6.16-i686.conf,
gnu/packages/aux-files/linux-libre/6.16-riscv.conf,
gnu/packages/aux-files/linux-libre/6.16-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
Co-authored-by: Dariqq <dariqq@posteo.net>
Change-Id: I2ec0b54aa3b6ba509cb80daaf8175ddc822da382
|
|
* guix/import/crate/cargo-lock.scm: New file.
* Makefile.am (MODULES): Regisiter it.
* etc/teams.scm (rust)[#:scope]: Add it.
* CODEOWNERS: Add it.
* guix/import/crate.scm (cargo-lock->expressions): New procedure.
* tests/crate.scm (temp-file): New variable.
("crate-lockfile-import"): New test.
Co-authored-by: Murilo <murilo@disroot.org>
Co-authored-by: Luis Guilherme Coelho <lgcoelho@disroot.org>
Change-Id: I95421e9e2ba11a671b4bc4e1323c6d31a1b012c5
|
|
This kernel series is no longer supported upstream.
* gnu/packages/linux.scm (linux-libre-6.14-version,
linux-libre-6.14-gnu-revision, deblob-scripts-6.14,
linux-libre-6.14-pristine-source, linux-libre-6.14-source,
linux-libre-headers-6.14, linux-libre-6.14): Remove variables.
* gnu/packages/aux-files/linux-libre/6.14-arm.conf,
gnu/packages/aux-files/linux-libre/6.14-arm64.conf,
gnu/packages/aux-files/linux-libre/6.14-i686.conf,
gnu/packages/aux-files/linux-libre/6.14-riscv.conf,
gnu/packages/aux-files/linux-libre/6.14-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
Change-Id: I59b84296f21c6204990442a817ec3727403169de
|
|
* gnu/packages/luanti.scm: New file.
(luanti, luanti-server, luanti-topic, luanti-moreores, luanti-sound-api-core)
(luanti-basic-materials, luanti-coloredwood, luanti-ethereal)
(luanti-homedecor-modpack, luanti-mesecons, luanti-mineclone, luanti-mobs)
(luanti-mobs-animal, luanti-mobs-monster, luanti-pipeworks, luanti-technic)
(luanti-throwing, luanti-throwing-arrows, luanti-worldedit)
(luanti-unifieddyes, luanti-unified-inventory, luanti-advtrains)
(luanti-basic-trains, luanti-oneblock, luanti-wielded-light): New variables.
* gnu/packages/minetest.scm:
(minetest, minetest-server, minetest-topic, minetest-moreores)
(minetest-sound-api-core, minetest-basic-materials, minetest-coloredwood)
(minetest-ethereal, minetest-homedecor-modpack, minetest-mesecons)
(minetest-mineclone, minetest-mobs, minetest-mobs-animal)
(minetest-mobs-monster, minetest-pipeworks, minetest-technic)
(minetest-throwing, minetest-throwing-arrows, minetest-worldedit)
(minetest-unifieddyes, minetest-unified-inventory, minetest-advtrains)
(minetest-basic-trains, minetest-oneblock, minetest-wielded-light): Deprecate
in favor of the above.
(minetest-game): Move to…
* gnu/packages/luanti.scm (minetest-game): … here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register luanti.scm.
* guix/build-system/luanti.scm: New file.
(luanti-mod-build-system): New public variable.
* guix/build-system/minetest.scm (minetest-mod-build-system): Deprecate in
favor of luanti-mod-build-system.
* guix/build/luanti-build-system.scm: New file, renamed from…
* guix/build/minetest-build-system.scm: … this. Deprecate in favor of
luanti-build-system.
* guix/import/luanti.scm: New file, renamed from guix/import/minetest.scm.
(%contentdb-api): Switch to “https://content.luanti.org/api/”.
(luanti-package?, latest-luanti-release, luanti->guix-package)
(luanti-recursive-import, %luanti-updater): New public variables.
* guix/import/minetest.scm (minetest-package?, latest-minetest-release)
(minetest->guix-package, minetest-recursive-import, %minetest-updater):
Deprecate in favor of the luanti variants above.
* guix/scripts/import/luanti.scm: New file, renamed from
guix/scripts/import/minetest.scm.
(guix-import-luanti): New public variable.
* guix/scripts/import/minetest.scm (guix-import-minetest): Deprecate in favor
of guix-import-luanti.
* tests/minetest.scm: Rename to…
* tests/luanti.scm: … this.
* Makefile.am (MODULES, SCM_TESTS): Adjust accordingly.
* etc/teams.scm (games): Adjust accordingly.
* CODEOWNERS: Adjust accordingly.
|
|
* Makefile.am (WEBLATE_REPO): Update.
Change-Id: I93b97fa296c3b7a393bdff3cbc3357a24c660154
|
|
* gnu/packages/linux.scm (linux-libre-6.15-version,
linux-libre-6.15-gnu-revision, deblob-scripts-6.15,
linux-libre-6.15-pristine-source, linux-libre-6.15-source,
linux-libre-headers-6.15, linux-libre-6.15): New variables.
(linux-libre-headers-latest): Use linux-libre-headers-6.15
* gnu/packages/aux-files/linux-libre/6.15-arm.conf,
gnu/packages/aux-files/linux-libre/6.15-arm64.conf,
gnu/packages/aux-files/linux-libre/6.15-i686.conf,
gnu/packages/aux-files/linux-libre/6.15-riscv.conf,
gnu/packages/aux-files/linux-libre/6.15-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
Change-Id: I7edd9dc48744065785a5e84cdf6c404b956b03fd
|
|
* Makefile.am (.git/hooks/): Add.
(.git/hooks/%, .git/hooks/commit-msg): Depend on .git/hooks/.
Change-Id: I5e027d22ec71b8cb080dca2971fabb85c593cb35
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* Makefile.am (MODULES): Add guix/import/nuget.scm.
Change-Id: I4a96f81c1ecd34a82e015889868bb0559259165f
Signed-off-by: Zheng Junjie <z572@z572.online>
|
|
Fixes: guix/guix#812
* Makefile.am (CODEOWNERS): wrap it with in_git_p and !CROSS_COMPILING.
Change-Id: I65389947d3065d470739ca1a12398551be2178c1
|
|
The container that slirp4netns runs in should already be quite difficult to do
anything malicious in beyond basic denial of service or sending of network
traffic. There is, however, one hole remaining in the case in which there is
an adversary able to run code locally: abstract unix sockets. Because these
are governed by network namespaces, not IPC namespaces, and slirp4netns is in
the root network namespace, any process in the root network namespace can
cooperate with the slirp4netns process to take over its user.
To close this, we use seccomp to block the creation of unix-domain sockets by
slirp4netns. This requires some finesse, since slirp4netns absolutely needs
to be able to create other types of sockets - at minimum AF_INET and AF_INET6
Seccomp has many, many pitfalls. To name a few:
1. Seccomp provides you with an "arch" field, but this does not uniquely
determine the ABI being used; the actual meaning of a system call number
depends on both the number (which is often the result of ORing a related
system call with a flag for an alternate ABI) and the architecture.
2. Seccomp provides no direct way of knowing what the native value for the
arch field should be; the user must do configure/compile-time testing for
every architecture+ABI combination they want to support. Amusingly enough,
the linux-internal header files have this exact information
(SECCOMP_ARCH_NATIVE), but they aren't sharing it.
3. The only system call numbers we naturally have are the native ones in
asm/unistd.h. __NR_socket will always refer to the system call number for
the target system's ABI.
4. Seccomp can only manipulate 32-bit words, but represents every system call
argument as a uint64.
5. New system call numbers with as-yet-unknown semantics can be added to the
kernel at any time.
6. Based on this comment in arch/x86/entry/syscalls/syscall_32.tbl:
# 251 is available for reuse (was briefly sys_set_zone_reclaim)
previously-invalid system call numbers may later be reused for new system
calls.
7. Most architecture+ABI combinations have system call tables with many gaps
in them. arm-eabi, for example, has 35 such gaps (note: this is just the
number of distinct gaps, not the number of system call numbers contained in
those gaps).
8. Seccomp's BPF filters require a fully-acyclic control flow graph.
Any operation on a data structure must therefore first be fully
unrolled before it can be run.
9. Seccomp cannot dereference pointers. Only the raw bits provided to the
system calls can be inspected.
10. Some architecture+ABI combos have multiplexer system calls. For example,
socketcall can perform any socket-related system call. The arguments to
the multiplexed system call are passed indirectly, via a pointer to user
memory. They therefore cannot be inspected by seccomp.
11. Some valid system calls are not listed in any table in the kernel source.
For example, __ARM_NR_cacheflush is an "ARM private" system call. It does
not appear in any *.tbl file.
12. Conditional branches are limited to relative jumps of at most 256
instructions forward.
13. Prior to Linux 4.8, any process able to spawn another process and call
ptrace could bypass seccomp restrictions.
To address (1), (2), and (3), we include preprocessor checks to identify the
native architecture value, and reject all system calls that don't use the
native architecture.
To address (4), we use the AC_C_BIGENDIAN autoconf check to conditionally
define WORDS_BIGENDIAN, and match up the proper portions of any uint64 we test
for with the value in the accumulator being tested against.
To address (5) and (6), we use system call pinning. That is, we hardcode a
snapshot of all the valid system call numbers at the time of writing, and
reject any system call numbers not in the recorded set. A set is recorded for
every architecture+ABI combo, and the native one is chosen at compile-time.
This ensures that not only are non-native architectures rejected, but so are
non-native ABIs. For the sake of conciseness, we represent these sets as sets
of disjoint ranges. Due to (7), checking each range in turn could add a lot
of overhead to each system call, so we instead binary search through the
ranges. Due to (8), this binary search has to be fully unrolled, so we do
that too.
It can be tedious and error-prone to manually produce the syscall ranges by
looking at linux's *.tbl files, since the gaps are often small and
uncommented. To address this, a script, build-aux/extract-syscall-ranges.sh,
is added that will produce them given a *.tbl filename and an ABI regex (some
tables seem to abuse the ABI field with strange values like "memfd_secret").
Note that producing the final values still requires looking at the proper
asm/unistd.h file to find any private numbers and to identify any offsets and
ABI variants used.
(10) used to have no good solution, but in the past decade most architectures
have gained dedicated system call alternatives to at least socketcall, so we
can (hopefully) just block it entirely.
To address (13), we block ptrace also.
* build-aux/extract-syscall-ranges.sh: new script.
* Makefile.am (EXTRA_DIST): register it.
* config-daemon.ac: use AC_C_BIGENDIAN.
* nix/libutil/spawn.cc (setNoNewPrivsAction, addSeccompFilterAction): new
functions.
* nix/libutil/spawn.hh (setNoNewPrivsAction, addSeccompFilterAction): new
declarations.
(SpawnContext)[setNoNewPrivs, addSeccompFilter]: new fields.
* nix/libutil/seccomp.hh: new header file.
* nix/libutil/seccomp.cc: new file.
* nix/local.mk (libutil_a_SOURCES, libutil_headers): register them.
* nix/libstore/build.cc (slirpSeccompFilter, writeSeccompFilterDot):
new functions.
(spawnSlirp4netns): use them, set seccomp filter for slirp4netns.
Change-Id: Ic92c7f564ab12596b87ed0801b22f88fbb543b95
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
guix/build/po.go is not installed and this speeds up convert-xref.scm when
cross-compiling for a host with incompatible guile bytecode.
Fixes: guix/guix#141
* Makefile.am (guile-compilation-rule): Parameterize the host variable.
(make-core-go,make-packages*-go, make-system-go,make-cli-go): Compile for the
host triplet.
(guix/build/po.go): Compile for the build triplet.
Change-Id: I9bad5f7743dd736a2958fb8ae8dd0ee8efc190ec
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* gnu/packages/emacs.scm (emacs-minimal): Update to 30.1.
(guile-emacs): Remove now unneeded phase.
* gnu/packages/aux-files/emacs/comp-integrity.el: Replace with…
* gnu/packages/aux-files/emacs/comp-integrity-next.el: … this.
Delete file.
* Makefile.am: Unregister it.
* gnu/packages/patches/emacs-exec-path.patch: Replace with…
* gnu/packages/patches/emacs-next-exec-path.patch: … this.
* gnu/packages/patches/emacs-native-comp-driver-options.patch: Replace with…
* gnu/packages/patches/emacs-next-native-comp-driver-options.patch: … this.
* gnu/packages/patches/emacs-native-comp-fix-filenames.patch: Replace with…
* gnu/packages/patches/emacs-next-native-comp-fix-filenames.patch: … this.
Change-Id: Ic144329bfe5a126a5d7e86dd0fdb726cf92de175
|
|
* Makefile.am (CODEOWNERS): Depend on scripts/guix .
Fixes: #470
Reported-by: Dtelsing
Change-Id: I6fd0676eb42842d4ef35e563c779fca7bd9f0a70
|
|
* Makefile.am: Make scripts/guix depend on local guile.
* build-aux/pre-inst-env.in: Require scripts/guix.
Change-Id: Ib248da80a1e8215c4c5e6c485ade41a893ac0fd5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* Makefile.am (CODEOWNERS): New rule.
(BUILT_SOURCES): Add ‘CODEOWNERS’.
Change-Id: Ie4a3b7b1d90d87049567061886763aa360675eb2
Change-Id: I399396b7465cd74dab1c6adffe523ad46284bce9
|
|
* Makefile.am (EXTRA_DIST): Add ‘etc/teams.scm’.
Change-Id: Ic8898434865ba0012db83bd8599ee6670760077b
|
|
This kernel series is no longer supported upstream.
* gnu/packages/linux.scm (linux-libre-6.13-version,
linux-libre-6.13-gnu-revision, deblob-scripts-6.13,
linux-libre-6.13-pristine-source, linux-libre-6.13-source,
linux-libre-headers-6.13, linux-libre-6.13): Remove variables.
* gnu/packages/aux-files/linux-libre/6.13-arm.conf,
gnu/packages/aux-files/linux-libre/6.13-arm64.conf,
gnu/packages/aux-files/linux-libre/6.13-i686.conf,
gnu/packages/aux-files/linux-libre/6.13-riscv.conf,
gnu/packages/aux-files/linux-libre/6.13-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
Change-Id: Ied843a009392752dd4baefa2880994965019779d
|
|
* gnu/packages/linux.scm (linux-libre-6.14-version,
linux-libre-6.14-gnu-revision, deblob-scripts-6.14,
linux-libre-6.14-pristine-source, linux-libre-6.14-source,
linux-libre-headers-6.14, linux-libre-6.14): New variables.
(linux-libre-headers-latest): Use linux-libre-headers-6.14.
* gnu/packages/aux-files/linux-libre/6.14-arm.conf,
gnu/packages/aux-files/linux-libre/6.14-arm64.conf,
gnu/packages/aux-files/linux-libre/6.14-i686.conf,
gnu/packages/aux-files/linux-libre/6.14-riscv.conf,
gnu/packages/aux-files/linux-libre/6.14-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
Change-Id: I09bc4e47fbe0172b5172f27b03a1b6bd88421fff
|
|
* gnu/packages/firmware.scm (ovmf-x86-64)
[phases] {install-qemu-firmware-metadata}: New phase.
(ovmf-aux-file): New procedure.
* gnu/packages/aux-files/ovmf/51-edk2-ovmf-2m-raw-x64-nosb.json: New file.
* Makefile.am (AUX_FILES): Register it.
Change-Id: I301eac8b79aed523f3b4cdedb7b3925d8fd0ad3d
|
|
* Makefile.am (GUIX_SYSTEM_SUPPORTED_SYSTEMS): Rename to
GUIX_SYSTEM_INSTALLER_SYSTEMS.
Change-Id: I5c15e6916583bcd56e535733f284f3a735d7600b
|
|
* Makefile.am (SUPPORTED_SYSTEMS): Add riscv64-linux.
Change-Id: Ie8a18500b73b39f0702af64a5c9cb988ffd77250
|
|
* Makefile.am (SCM_TESTS): Add tests/hexpm.scm, tests/ipfs.scm.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/tests/lightdm.scm,
gnu/tests/sddm.scm.
* po/doc/local.mk (EXTRA_DIST): Add po/doc/po4a.cfg.
Change-Id: I05da61e50e2311edad50c8c7eb7850b9e9496f2a
|
|
* Makefile.am (EXAMPLES): Add missing hurd and hurd64 examples.
|