taglinefilesource code
S_IFSOCK59include/linux/stat.h#define S_ISSOCK(m)  (((m) & S_IFMT) == S_IFSOCK)
S_IFSOCK168net/socket.cSOCK_INODE(sock)->i_mode = S_IFSOCK;
S_IFSOCK262net/unix.ci = do_mknod(fname, S_IFSOCK | 0777, 0);
S_IFSOCK264net/unix.ci = open_namei(fname, 0, S_IFSOCK, &upd->inode);