fix cloned_binary fallback corner case#2016
Conversation
Signed-off-by: Lifubang <lifubang@acmcoder.com>
|
I really don't like how complicated this fallback code is getting -- not to mention how complicated such a trivial fix has become. If I'm of a mixed mind about using |
Runc's default state dir is in |
|
Is this still relevant? |
So yes, it's not relevant; closing. |
Because the
/runfolder in all my linux cloud server havenoexecmount flag. So if cloned_binary fallback to temp file copy, there will bensenter: could not ensure we are a cloned binary: Permission deniederror.I think we can check
noexecmount flag first before we clone binary.I think this is a corner case, so it is not important. It may just only effect kernel < 3.17 .
Signed-off-by: Lifubang lifubang@acmcoder.com