]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Merge branch 'unshare_clear_environ' of https://github.com/cgoesche/util-linux-fork
authorKarel Zak <kzak@redhat.com>
Wed, 15 Apr 2026 08:41:57 +0000 (10:41 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 15 Apr 2026 08:41:57 +0000 (10:41 +0200)
* 'unshare_clear_environ' of https://github.com/cgoesche/util-linux-fork:
  nsenter: use clearenv() only when it is available
  tests: (unshare) add --clear-env option tests
  tests: (test_strerror.c) use ARRAY_SIZE for better readability/portability
  tests: (test_strerror.c) add EPERM errno support
  bash-completion: (unshare) add --clear-env option
  unshare: (manpage) fix minor typos
  unshare: new option to prevent environment variable inheritance

# Conflicts:
# tests/helpers/test_strerror.c

1  2 
sys-utils/nsenter.c
sys-utils/unshare.c
tests/helpers/test_strerror.c

Simple merge
Simple merge
index 322ce659bef9bfd9d293f52d1f1f7d7cb941bfaf,3775a46a33fc90676a3ce31b200713fd47019ff6..e0ad21e6d60e2b51119927f053d9e90fc646fe84
@@@ -21,7 -24,7 +24,8 @@@ static struct 
        E(ENOTTY),
        E(EILSEQ),
        E(EINVAL),
 +      E(ERANGE),
+       E(EPERM),
  };
  
  int main(int argc, const char *argv[])