open("some_prog", O_PATH); snprintf(buf, PATH_MAX, "/proc/self/fd/%d", fd); execl(buf, "some ... call above can be replaced with: snprintf(path, PATH_MAX, "/proc/self/fd/%d", fd); …open("some_prog", O_PATH); snprintf(buf, PATH_MAX, "/proc/self/fd/%d", fd); execl(buf, "some ... call above can be replaced with: snprintf(path, PATH_MAX, "/proc/self/fd/%d", fd); …open("some_prog", O_PATH); snprintf(buf, PATH_MAX, "/proc/self/fd/%d", fd); execl(buf, "some ... call above can be replaced with: snprintf(path, PATH_MAX, "/proc/self/fd/%d", fd); …char procMemPath[PATH_MAX]; ssize_t nread; snprintf(procMemPath, sizeof(procMemPath), "/proc/%d/mem/proc/PID directory of the target process. */ snprintf(path, sizeof(path), "/proc/%s", argv[1]); pidfdstruct msgbuf msg; msg.mtype = msgtype; time(&t); snprintf(msg.mtext, sizeof(msg.mtext), "a messagestruct msgbuf msg; msg.mtype = msgtype; time(&t); snprintf(msg.mtext, sizeof(msg.mtext), "a messagestruct msgbuf msg; msg.mtype = msgtype; time(&t); snprintf(msg.mtext, sizeof(msg.mtext), "a messagewhich old root will be pivoted. */ snprintf(path, sizeof(path), "%s/%s", new_rootbreak; if (dp->d_type == DT_LNK) { snprintf(path, sizeof(path), "/proc/self/fd