OSDN Git Service

Use lstat() instead of stat so /init being a symlink doesn't screw people up.
authorRob Landley <rob@landley.net>
Mon, 20 Mar 2006 01:43:29 +0000 (01:43 -0000)
committerRob Landley <rob@landley.net>
Mon, 20 Mar 2006 01:43:29 +0000 (01:43 -0000)
commite2b428cbb1fcbb71d56cdf6e5f640d11a2523c33
tree5fbb2bc94d163222fcfb9b0a0de1507444a7d088
parent99a072d5240a31ae414b4fc031fa5744a227d35f
Use lstat() instead of stat so /init being a symlink doesn't screw people up.
(And use it consistently, for size reasons.)
util-linux/switch_root.c