aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/bits/linux.zig
AgeCommit message (Collapse)Author
2020-10-04implement {get, set}rlimit for linuxxackus
2020-10-03Add IORING_FEAT_POLL_32BITSJoran Dirk Greef
2020-09-21Define SPLICE, PROVIDE_BUFFERS, REMOVE_BUFFERS and TEE opcodes and flagsJoran Dirk Greef
2020-09-20Add IORING_FEAT_FAST_POLLJoran Dirk Greef
2020-09-19Fix io_uring_sqe to use the names of the first member of each unionJoran Dirk Greef
Now we're really future-proof... no more `opflags` creeping in. When anonymous unions land, we can start using `accept_flags` etc. Until then, code using this struct won't break when the kernel adds features. Refs: https://github.com/ziglang/zig/issues/6349 Refs: https://github.com/ziglang/zig/issues/985
2020-09-19Remove default values from io_uring_sqe structJoran Dirk Greef
2020-09-19Add splice_fd_in to io_uring_sqe and future-proof for anonymous unionsJoran Dirk Greef
2020-09-17Add IORING_SQ_CQ_OVERFLOW to std/os/bits/linux.zigJoran Dirk Greef
2020-09-11std: add securebits definitions for linuxIsaac Freund
2020-09-11std: add prctl definition for linuxIsaac Freund
2020-09-10Merge pull request #5527 from shawnanastasio/ppc64leAndrew Kelley
Implement support for powerpc64{,le}
2020-09-08Add the Linux TCP socket optionsJens Goldberg
2020-09-05Merge pull request #6246 from Vexu/fieldVeikka Tuominen
Remove deprecated fields on `type`
2020-09-03update uses of deprecated type field accessVexu
2020-09-03std: fix linux uid_t, use uid_t/gid_t in std.osIsaac Freund
- correct uid_t from i32 to u32 on linux - define uid_t and gid_t for OSes missing definitions - use uid_t/gid_t instead of plain u32s throughout std.os
2020-08-22Bpf: move under os/linux instead of bits (#6126)Matthew Knight
* moved bpf syscall, added some bpf instructions and tests * had to move bpf out of bits so that a freestanding target could import it * removed line * fixed imports
2020-08-21fixed bpf namespaceMatt Knight
2020-08-20add UTIME_NOW and UTIME_OMIT constants for use in utimensat/futimensheidezomp
copied from lib/libc/include/generic-musl/sys/stat.h
2020-08-20add license header to all std lib filesAndrew Kelley
add SPDX license identifier copyright ownership is zig contributors
2020-08-17added bpf() syscall and some supporting structs (#6061)Matthew Knight
* added bpf syscall and some supporting structs * moved bpf to bits and added flags
2020-07-22Add signalfd support (#5322)luna
* add signalfd_siginfo to linux bits * Cast sigaddset's shift value to u5 * linux: add signalfd4 * os: add signalfd
2020-07-01Implement std.os for powerpc64{,le}Shawn Anastasio
2020-06-02cleanupsAndrew Kelley
* improve docs * add TODO comments for things that don't have open issues * remove redundant namespacing of struct fields * guard against ioctl returning EINTR * remove the general std.os.ioctl function in favor of the specific ioctl_SIOCGIFINDEX function. This allows us to have a more precise error set, and more type-safe API.
2020-06-02Make ifru fields sentinel-terminatedLuna
2020-06-02Replace C types in declarationsLuna
2020-06-02Replace C shorts by integer typesLuna
2020-06-02Fix ifreq definitionLuna
2020-06-02Only resolve scope id when neededLuna
2020-06-02Add some interface structs to linux bitsLuna
2020-05-30linux: fix IOSQE_BIT decl and io_uring_sqe flagsVincent Rischmann
2020-05-17linux: remove duplicated fieldsVincent Rischmann
2020-05-05zig fmtTadeo Kondrak
2020-04-28std.meta.IntType -> std.meta.IntTadeo Kondrak
2020-04-24Add mips support to standard libraryTimon Kruiper
2020-04-18update std lib to decls being disallowed between fieldsVexu
2020-04-01Workaround for #4789LemonBoy
2020-04-01std: Fix more NetBSD bitsLemonBoy
Fix some more libc definitions.
2020-03-30std: update for linux 5.6 releasedaurnimator
2020-03-18std: Introduce fnctl wrapperLemonBoy
2020-03-10std: Fix detection of Linux kernel versionLemonBoy
2020-03-09std: add some definitions for netlink socketsdaurnimator
2020-02-24remove uses of `@ArgType` and `@IntType`Vexu
2020-02-05std: Make TCSA enum ABI-compliantLemonBoy
2020-02-04Add basic linux termios implementationnofmal
2020-01-31std: update for linux 5.5 releasedaurnimator
2020-01-19Small cleanupsLemonBoy
2020-01-14Correct dlpi_name field typeLemonBoy
2020-01-05std.os.getrusage: add C extern fn and reserved fieldAndrew Kelley
* add reserved field to match musl struct definition so that it will work with musl libc. * add libc getrusage so that it will work with libc what's not done in this branch is: * test coverage. See #1629, which should also aim to provide general test coverage for the std lib. * rusage struct bits for non-linux operating systems
2020-01-05Add std.os.getrusagedata-man
2019-12-31os: add memfd_createLuna
currently only linux is supported