Searched refs:nsType (Results 1 – 4 of 4) sorted by relevance
36 int UnshareNamespace(int nsType) in UnshareNamespace() argument38 if (nsType == CLONE_NEWNS) { in UnshareNamespace()39 if (unshare(nsType) < 0) { in UnshareNamespace()51 int SetNamespace(int nsFd, int nsType) in SetNamespace() argument57 if (nsType != CLONE_NEWNS) { in SetNamespace()61 return setns(nsFd, nsType); in SetNamespace()
55 int32_t nsType = 0; in Unmarshalling() local56 if (!parcel.ReadInt32(nsType)) { in Unmarshalling()59 ptr->networkShareType_ = nsType; in Unmarshalling()
25 int UnshareNamespace(int nsType);26 int SetNamespace(int nsFd, int nsType);
226 static int SetPidNamespace(int nsPidFd, int nsType) in SetPidNamespace() argument228 APPSPAWN_LOGI("SetPidNamespace 0x%{public}x", nsType); in SetPidNamespace()230 if (setns(nsPidFd, nsType) < 0) { in SetPidNamespace()231 APPSPAWN_LOGE("set pid namespace nsType:%{public}d failed", nsType); in SetPidNamespace()