summaryrefslogtreecommitdiff
path: root/src/linux/pivot_root.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-02-21 11:59:34 -0500
committerRich Felker <dalias@aerifal.cx>2018-02-21 12:01:29 -0500
commit6d6102427d8d5450bd28788c792f97ef90cce274 (patch)
treebb45d9493b530154a8f5a856cc1fcc22527c84ee /src/linux/pivot_root.c
parent8e0b38060d7a9916fc2b5de0dd7c166ef60be9c1 (diff)
downloadmusl-6d6102427d8d5450bd28788c792f97ef90cce274.tar.gz
musl-6d6102427d8d5450bd28788c792f97ef90cce274.tar.bz2
musl-6d6102427d8d5450bd28788c792f97ef90cce274.tar.xz
musl-6d6102427d8d5450bd28788c792f97ef90cce274.zip
convert execvp error handling to switch statement
this is more extensible if we need to consider additional errors, and more efficient as long as the compiler does not know it can cache the result of __errno_location (a surprisingly complex issue detailed in commit a603a75a72bb469c6be4963ed1b55fabe675fe15).
Diffstat (limited to 'src/linux/pivot_root.c')
0 files changed, 0 insertions, 0 deletions