debian-forge/osbuild
Christian Kellner 36356342b0 buildroot: mask /proc/cmdline
Since we bind `/proc` inside the container, we leak certain information
that comes with it. One of this is the kernel command line. None of the
decisions done by software running inside the container should depend
on the kernel command line on the host, so overwrite the kernel command
line by creating a temporary directory and mapping it inside the build-
root. For now we default to a simple `root=/dev/osbuild` fake kernel
command line.
Add a simple check for it as well.
2021-11-30 12:01:13 +01:00
..
formats formats/v2: fix describe for mount without source 2021-11-08 11:26:37 +00:00
util util/rhsm: Check if repositories is None before iterating 2021-09-03 20:52:17 +02:00
__init__.py pipeline: remove Assembler class 2021-01-19 10:42:26 +01:00
__main__.py osbuild: always return exit code 2020-10-27 22:04:09 +01:00
api.py api: remove host side arguments facility 2021-07-08 15:01:33 +01:00
buildroot.py buildroot: mask /proc/cmdline 2021-11-30 12:01:13 +01:00
devices.py devices: add device path helper functions 2021-10-30 15:32:44 +01:00
host.py host: check reply_fds before sending them 2021-09-24 12:14:04 +01:00
inputs.py inputs: convert to host service 2021-06-09 18:37:47 +01:00
loop.py loop: helper to call ioctl_blockdev_flushbuf 2021-08-13 17:35:32 +02:00
main_cli.py sources: port to host services 2021-09-22 00:00:20 +02:00
meta.py meta: allow mounts for all stages 2021-10-30 15:32:44 +01:00
monitor.py monitor/log: print pipeline information 2021-02-12 15:55:43 +01:00
mounts.py mounts: include tree directory in arguments 2021-10-30 15:32:44 +01:00
objectstore.py objectstore: use recursive bind mounts 2021-07-09 18:09:37 +01:00
pipeline.py mounts: introduce new mount manager class 2021-10-30 15:32:44 +01:00
remoteloop.py remoteloop: close loop device controller 2021-08-11 20:59:51 +02:00
sources.py sources: pass items via temporary file 2021-09-24 08:27:19 +01:00
treesum.py treesum: handle special device files 2021-02-16 23:00:13 +00:00