summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mesg.1 cleanups/updatesHEADmasterнаб2023-05-171-3/+4
| | | | | | | | | | 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").
* Merge branch 'nsenter-keep-caps' of https://github.com/dgibson/util-linuxKarel Zak2023-05-175-38/+56
|\ | | | | | | | | | | * '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
| * Add --keep-caps option to nsenter, similar to the one in unshareDavid Gibson2023-03-292-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Move implementation of --keep-caps option to library functionDavid Gibson2023-03-293-36/+42
| | | | | | | | | | | | | | | | 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>
* | Merge branch 'libmount/syscall'Karel Zak2023-05-171-14/+9
|\ \
| * | libmount: report failed syscall nameKarel Zak2023-04-251-14/+9
| | | | | | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | | Merge branch 'enosys' of https://github.com/t-8ch/util-linuxKarel Zak2023-05-1718-126/+451
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '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
| * | | enosys: properly block execve syscallThomas Weißschuh2023-05-174-6/+41
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: don't require end-of-options markerThomas Weißschuh2023-05-162-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: find syscalls at build timeThomas Weißschuh2023-05-166-6/+39
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: remove long jumps from BPFThomas Weißschuh2023-05-161-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | enosys: add --listThomas Weißschuh2023-05-163-1/+14
| | | |
| * | | enosys: validate syscall architectureThomas Weißschuh2023-05-161-4/+8
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: add manpageThomas Weißschuh2023-05-163-0/+60
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: add bash completionThomas Weißschuh2023-05-163-0/+37
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: make messages useful for usersThomas Weißschuh2023-05-161-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: translate messagesThomas Weißschuh2023-05-161-5/+6
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: add common argumentsThomas Weißschuh2023-05-161-3/+27
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: add testThomas Weißschuh2023-05-167-0/+98
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: fix native arch for s390xThomas Weißschuh2023-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | s390 also defines __s390__ so we first have to check for __s390x__. Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: syscall numbers are "long"Thomas Weißschuh2023-05-161-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: mark variable staticThomas Weißschuh2023-05-161-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: remove unneeded inline variable declarationThomas Weißschuh2023-05-161-8/+7
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: improve checks for EXIT_NOTSUPPThomas Weißschuh2023-05-161-2/+8
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | enosys: move from tests/helpers/test_enosys.cThomas Weißschuh2023-05-167-16/+29
| | | |
| * | | c.h: make err_nonsys availableThomas Weißschuh2023-05-162-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* | | | Merge branch 'mkswap/offset' of https://github.com/t-8ch/util-linuxKarel Zak2023-05-174-6/+52
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '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
| * | | | mkswap: implement --offsetThomas Weißschuh2023-05-114-3/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses #2166 Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | | mkswap: (tests) don't overwrite logfilesThomas Weißschuh2023-05-111-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | | mkswap: (tests) validate existence of truncate commandThomas Weißschuh2023-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* | | | | Merge branch 'blockdev/zonesz' of https://github.com/t-8ch/util-linuxKarel Zak2023-05-173-0/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * 'blockdev/zonesz' of https://github.com/t-8ch/util-linux: blockdev: add support for BLKGETZONESZ
| * | | | | blockdev: add support for BLKGETZONESZThomas Weißschuh2023-05-053-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* | | | | | Merge branch 'mount/tests/fstab' of https://github.com/t-8ch/util-linuxKarel Zak2023-05-1718-57/+55
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '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
| * | | | | | mount: (tests) reuse well-known per-test fstab locationThomas Weißschuh2023-05-141-20/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | | | | tests: (functions.sh) use per-test fstab fileThomas Weißschuh2023-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | | | | mount: (tests) explicitly use test fstab locationThomas Weißschuh2023-05-1416-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
| * | | | | | tests: (functions.sh) create variable for test fstab locationThomas Weißschuh2023-05-142-7/+8
| | |/ / / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* | | | | | build-sys: release++ (v2.39)v2.39Karel Zak2023-05-172-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | | | | | docs: update v2.39-ReleaseNotesKarel Zak2023-05-171-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | | | | | po-man: merge changesKarel Zak2023-05-178-29006/+105823
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | | | | | po: merge changesKarel Zak2023-05-1731-2301/+2280
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | | | | | po-man: update uk.po (from translationproject.org)Yuri Chornoivan2023-05-171-18174/+4857
| | | | | |
* | | | | | po-man: update sr.po (from translationproject.org)Мирослав Николић2023-05-171-27652/+8228
| | | | | |
* | | | | | po-man: update fr.po (from translationproject.org)Frédéric Marchal2023-05-171-36307/+8127
| | | | | |
* | | | | | po-man: update de.po (from translationproject.org)Mario Blättermann2023-05-171-21344/+5012
| | | | | |
* | | | | | po-man: update cs.po (from translationproject.org)Petr Písař2023-05-171-4627/+14503
| | | | | |
* | | | | | po: update uk.po (from translationproject.org)Yuri Chornoivan2023-05-171-36/+35
| | | | | |
* | | | | | po: update pl.po (from translationproject.org)Jakub Bogusz2023-05-171-35/+34
| | | | | |
* | | | | | po: update ko.po (from translationproject.org)Seong-ho Cho2023-05-171-37/+36
| | | | | |
* | | | | | po: update hr.po (from translationproject.org)Božidar Putanec2023-05-171-42/+41
| | | | | |