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

ntsync.h (483B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * Kernel support for NT synchronization primitive emulation
  4. *
  5. * Copyright (C) 2021-2022 Elizabeth Figura <zfigura@codeweavers.com>
  6. */
  7. #ifndef __LINUX_NTSYNC_H
  8. #define __LINUX_NTSYNC_H
  9. #include <linux/types.h>
  10. struct ntsync_sem_args {
  11. __u32 sem;
  12. __u32 count;
  13. __u32 max;
  14. };
  15. #define NTSYNC_IOC_CREATE_SEM _IOWR('N', 0x80, struct ntsync_sem_args)
  16. #define NTSYNC_IOC_SEM_POST _IOWR('N', 0x81, __u32)
  17. #endif