logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

un.h (384B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _LINUX_UN_H
  3. #define _LINUX_UN_H
  4. #include <linux/socket.h>
  5. #define UNIX_PATH_MAX 108
  6. struct sockaddr_un {
  7. __kernel_sa_family_t sun_family; /* AF_UNIX */
  8. char sun_path[UNIX_PATH_MAX]; /* pathname */
  9. };
  10. #define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0) /* open a socket file with O_PATH */
  11. #endif /* _LINUX_UN_H */