...XIT_FAILURE); } while (0) int main(void) { int sfd, cfd; socklen_t peer_addr_size; struct sockaddr_un my_addr, peer_addr; sfd = socket(AF_UNIX, SOCK_STREAM, 0); if (sfd == -1) h…get name of connected peer socket NAME getpeername - get name of connected peer socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/socket.h> int getpeername(in…set the process execution domain NAME personality - set the process execution domain LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/personality.h> int personality…accept a connection on a socket NAME accept, accept4 - accept a connection on a socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/socket.h> int accept(int soc…accept a connection on a socket NAME accept, accept4 - accept a connection on a socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/socket.h> int accept(int soc…operations on a process or thread NAME prctl - operations on a process or thread LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/prctl.h> /* Definition of PR_* c…apply or remove an advisory lock on an open file NAME flock - apply or remove an advisory lock on an open file LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/file…synchronous I/O multiplexing NAME select, pselect - synchronous I/O multiplexing LIBRARY Standard C library ( libc , -lc ) SYNOPSIS See select (2) DESCRIPTION The select () and pse…set group identity NAME setgid - set group identity LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <unistd.h> int setgid(gid_t gid ); DESCRIPTION setgid () sets the ef…set group identity NAME setgid - set group identity LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <unistd.h> int setgid(gid_t gid ); DESCRIPTION setgid () sets the ef…change properties of a mount or mount tree NAME mount_setattr - change properties of a mount or mount tree LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/fcntl.…send multiple messages on a socket NAME sendmmsg - send multiple messages on a socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #define _GNU_SOURCE /* See feature_test_mac…initiate a connection on a socket NAME connect - initiate a connection on a socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/socket.h> int connect(int sockfd…mount filesystem NAME mount - mount filesystem LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/mount.h> int mount(const char * source , const char * target , const…get socket name NAME getsockname - get socket name LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/socket.h> int getsockname(int sockfd , struct sockaddr *restrict…receive a message from a socket NAME recv, recvfrom, recvmsg - receive a message from a socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/socket.h> ssize_t re…receive a message from a socket NAME recv, recvfrom, recvmsg - receive a message from a socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/socket.h> ssize_t re…receive a message from a socket NAME recv, recvfrom, recvmsg - receive a message from a socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/socket.h> ssize_t re…receive multiple messages on a socket NAME recvmmsg - receive multiple messages on a socket LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #define _GNU_SOURCE /* See feature_te…set user identity NAME setuid - set user identity LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <unistd.h> int setuid(uid_t uid ); DESCRIPTION setuid () sets the effe…