]> granicus.if.org Git - strace/commit
clone: use separate flag list for unshare
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 19 Oct 2016 18:09:58 +0000 (21:09 +0300)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 28 Oct 2016 23:54:01 +0000 (02:54 +0300)
commit951f1b1163eefa5cbf3cc42b6450f44dee6484f3
treef9791a64b86390d8da23613ee86f82bd5b319026
parent3fa672fa7acb57ed762b38da2a300b9879c83836
clone: use separate flag list for unshare

Not all clone flags could be passed to unshare (see check_unshare_flags
function in kernel/fork.c).

* xlat/unshare_flags.in: New file.
* clone.c (SYS_FUNC(unshare)): Use unshare_flags for printing flags
parameter.
clone.c
xlat/unshare_flags.in [new file with mode: 0644]