Add gingko_suid to save open mode.
uncompiled version for baomijiancha.