summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-02-13 21:06:50 +0000
committerSimon McVittie <smcv@collabora.com>2022-02-13 21:06:50 +0000
commit4914bc8a18259aff174d286c1845ea684bcdc1a4 (patch)
treea1c52d3feb99d7fc20b97a81e2f41173aea167ec
parent40de94244ae16f0ff1720708fefcf9ab2061f83e (diff)
downloadbubblewrap-4914bc8a18259aff174d286c1845ea684bcdc1a4.tar.gz
Use HEAD to refer to other projects' default branches in documentation
This makes the URL independent of the name they have chosen for their default branches. Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--CODE-OF-CONDUCT.md2
-rw-r--r--README.md2
-rw-r--r--SECURITY.md2
-rw-r--r--bubblewrap.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/CODE-OF-CONDUCT.md b/CODE-OF-CONDUCT.md
index 6260919..8c417a6 100644
--- a/CODE-OF-CONDUCT.md
+++ b/CODE-OF-CONDUCT.md
@@ -1,3 +1,3 @@
## The bubblewrap Project Community Code of Conduct
-The bubblewrap project follows the [Containers Community Code of Conduct](https://github.com/containers/common/blob/master/CODE-OF-CONDUCT.md).
+The bubblewrap project follows the [Containers Community Code of Conduct](https://github.com/containers/common/blob/HEAD/CODE-OF-CONDUCT.md).
diff --git a/README.md b/README.md
index 4d50b5f..f7eb85f 100644
--- a/README.md
+++ b/README.md
@@ -117,7 +117,7 @@ Seccomp filters: You can pass in seccomp filters that limit which syscalls can b
Related project comparison: Firejail
------------------------------------
-[Firejail](https://github.com/netblue30/firejail/tree/master/src/firejail)
+[Firejail](https://github.com/netblue30/firejail/tree/HEAD/src/firejail)
is similar to Flatpak before bubblewrap was split out in that it combines
a setuid tool with a lot of desktop-specific sandboxing features. For
example, Firejail knows about Pulseaudio, whereas bubblewrap does not.
diff --git a/SECURITY.md b/SECURITY.md
index 455bf0f..d914d4a 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -1,3 +1,3 @@
## Security and Disclosure Information Policy for the bubblewrap Project
-The bubblewrap Project follows the [Security and Disclosure Information Policy](https://github.com/containers/common/blob/master/SECURITY.md) for the Containers Projects.
+The bubblewrap Project follows the [Security and Disclosure Information Policy](https://github.com/containers/common/blob/HEAD/SECURITY.md) for the Containers Projects.
diff --git a/bubblewrap.c b/bubblewrap.c
index c043158..2f2fca5 100644
--- a/bubblewrap.c
+++ b/bubblewrap.c
@@ -3068,8 +3068,8 @@ main (int argc,
* Both runc and LXC are using this "alternative" method for
* setting up the root of the container:
*
- * https://github.com/opencontainers/runc/blob/master/libcontainer/rootfs_linux.go#L671
- * https://github.com/lxc/lxc/blob/master/src/lxc/conf.c#L1121
+ * https://github.com/opencontainers/runc/blob/HEAD/libcontainer/rootfs_linux.go#L671
+ * https://github.com/lxc/lxc/blob/HEAD/src/lxc/conf.c#L1121
*/
if (pivot_root (".", ".") != 0)
die_with_error ("pivot_root(/newroot)");