openat_cut for LBS@2013.2.21