diff options
| author | Simran Kathpalia <skathpalia3@gmail.com> | 2021-06-23 03:24:30 +0530 |
|---|---|---|
| committer | Mark Johnston <markjdb@gmail.com> | 2021-06-29 14:59:07 -0400 |
| commit | 42aeb8b9fb0a362fdc001aa87b6e908709e5a35b (patch) | |
| tree | 8fa57b7075236833f1f92a1a1b26f2033c14d690 | |
| parent | b4bbe51376e8953f0a69ffe1e95655f9d943cfce (diff) | |
sys/freebsd: added __specialfd syscall
| -rw-r--r-- | sys/freebsd/sys.txt | 7 | ||||
| -rw-r--r-- | sys/freebsd/sys.txt.const | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/freebsd/sys.txt b/sys/freebsd/sys.txt index 285251715..180e96f79 100644 --- a/sys/freebsd/sys.txt +++ b/sys/freebsd/sys.txt @@ -20,6 +20,7 @@ include <time.h> include <signal.h> include <sys/wait.h> include <sys/time.h> +include <sys/specialfd.h> type signo int32[0:SIGRTMAX] @@ -136,6 +137,7 @@ copy_file_range(infd fd, inoffp ptr[inout, fileoff[int64]], outfd fd, outoffp pt __realpathat(dirfd fd, path ptr[in, filename], buf ptr[out, string], size len[buf], flags flags[realpathat_flags]) undelete(path ptr[in, filename]) acct(filename ptr[in, filename, opt]) +__specialfd$eventfd(type const[SPECIALFD_EVENTFD], req ptr[in, eventfd], len len[req]) fd getrusage(who flags[rusage_who], usage ptr[out, rusage]) getrlimit(res flags[rlimit_type], rlim ptr[out, rlimit]) @@ -324,6 +326,11 @@ linger { linger int32 } +eventfd { + initval int32 + flags int32 +} + pollfd_events = POLLIN, POLLPRI, POLLOUT, POLLERR, POLLHUP, POLLNVAL, POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND, POLLINIGNEOF mknod_mode = S_IFREG, S_IFCHR, S_IFBLK, S_IFIFO, S_IFSOCK, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH at_flags = 0, AT_SYMLINK_NOFOLLOW, AT_SYMLINK_FOLLOW, AT_RESOLVE_BENEATH, AT_EMPTY_PATH diff --git a/sys/freebsd/sys.txt.const b/sys/freebsd/sys.txt.const index 750d3e780..6a8b471cd 100644 --- a/sys/freebsd/sys.txt.const +++ b/sys/freebsd/sys.txt.const @@ -104,8 +104,10 @@ SIGRTMAX = 126 SIG_BLOCK = 1 SIG_SETMASK = 3 SIG_UNBLOCK = 2 +SPECIALFD_EVENTFD = 1 SYS___getcwd = 326 SYS___realpathat = 574 +SYS___specialfd = 577 SYS_access = 33 SYS_acct = 51 SYS_chdir = 12 |
