From 4914bc8a18259aff174d286c1845ea684bcdc1a4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 13 Feb 2022 21:06:50 +0000 Subject: 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 --- CODE-OF-CONDUCT.md | 2 +- README.md | 2 +- SECURITY.md | 2 +- bubblewrap.c | 4 ++-- 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)"); -- cgit v1.2.1