| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
First hunk: grammar.
Second hunk: (a) mentioning BSD ptys and not UNIX98 ones is odd,
(b) mentioning /only/ ptys is odder still.
Third hunk: mesg is found in the UNIX Programmer's Manual;
it takes its modern form in V7
(it's unclear to me why V6 specifically is mentioned,
since it's still default-invert + always-report-"was X").
|
|\
| |
| |
| |
| |
| | |
* 'nsenter-keep-caps' of https://github.com/dgibson/util-linux:
Add --keep-caps option to nsenter, similar to the one in unshare
unshare: Move implementation of --keep-caps option to library function
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When entering a user namespace at the kernel level, whether with clone(2),
unshare(2) or setns(2), a process always gains full capabilities in the
new userns.
unshare(1) allows using that from the shell with the --keep-caps option,
which transfers that full permitted capability set to the ambient set so
it's available to the spawned shell or other process.
nsenter(1) currently has no equivalent option, despite the fact that
setns(2) grants capabilities in just the same way. This patch adds a
--keep-caps to nsenter(1) that works just like the one in unshare(1).
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
| |
| |
| |
| |
| |
| |
| |
| | |
unshare.c open codes some logic to copy the permitted capability set to the
ambient set in order to implement the --keep-caps option. Move this logic
to lib/caputils.c so that we can reuse it in nsenter.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 'enosys' of https://github.com/t-8ch/util-linux:
enosys: properly block execve syscall
enosys: don't require end-of-options marker
enosys: find syscalls at build time
enosys: remove long jumps from BPF
enosys: add --list
enosys: validate syscall architecture
enosys: add manpage
enosys: add bash completion
enosys: make messages useful for users
enosys: translate messages
enosys: add common arguments
enosys: add test
enosys: fix native arch for s390x
enosys: syscall numbers are "long"
enosys: mark variable static
enosys: remove unneeded inline variable declaration
enosys: improve checks for EXIT_NOTSUPP
enosys: move from tests/helpers/test_enosys.c
c.h: make err_nonsys available
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
BPF encodes the jump distance in a uint8_t. To avoid overflows of this
value reorganize the generated bytecode to work without long jumps.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
s390 also defines __s390__ so we first have to check for __s390x__.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 'mkswap/offset' of https://github.com/t-8ch/util-linux:
mkswap: implement --offset
mkswap: (tests) don't overwrite logfiles
mkswap: (tests) validate existence of truncate command
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Addresses #2166
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 'blockdev/zonesz' of https://github.com/t-8ch/util-linux:
blockdev: add support for BLKGETZONESZ
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* 'mount/tests/fstab' of https://github.com/t-8ch/util-linux:
mount: (tests) reuse well-known per-test fstab location
tests: (functions.sh) use per-test fstab file
mount: (tests) explicitly use test fstab location
tests: (functions.sh) create variable for test fstab location
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Karel Zak <kzak@redhat.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Karel Zak <kzak@redhat.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Karel Zak <kzak@redhat.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Karel Zak <kzak@redhat.com>
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|