may_linkat
int may_linkat(struct mnt_idmap *idmap, const struct path *link);
error = may_linkat(idmap, &old_path);