- Apr 19, 2017
-
-
Bryant Mairs authored
These constants aren't available from the system headers so don't expose them here.
-
Bryant Mairs authored
-
Bryant Mairs authored
-
- Apr 06, 2017
- Apr 05, 2017
-
-
bors authored
Link libc crate against pthread pthread_* functions are defined in libpthread thus we need to link against this library.
-
- Apr 04, 2017
-
-
Anatol Pomozov authored
pthread_* functions are defined in libpthread thus we need to link against this library.
-
bors authored
Add IPC,SHM,MSG for Freebsd INFO for the patch: FREEBSD [https://github.com/freebsd/freebsd] /sys/sys/_types.h typedef long __key_t; /sys/sys/types.h typedef __key_t key_t; /sys/sys/ipc.h #define IPC_CREAT 001000 #define IPC_EXCL 002000 #define IPC_NOWAIT 004000 #define IPC_PRIVATE (key_t)0 #define IPC_RMID 0 #define IPC_SET 1 #define IPC_STAT 2 #define IPC_INFO 3 #define IPC_R 000400 #define IPC_W 000200 #define IPC_M 010000 struct ipc_perm { uid_t cuid; gid_t cgid; uid_t uid; gid_t gid; mode_t mode; unsigned short seq; key_t key; }; key_t ftok(const char *, int); /sys/sys/msg.h #define MSG_NOERROR 010000 typedef unsigned long msglen_t; typedef unsigned long msgqnum_t; struct msqid_ds { struct ipc_perm msg_perm; struct msg *msg_first; struct msg *msg_last; msglen_t msg_cbytes; msgqnum_t msg_qnum; msglen_t msg_qbytes; pid_t msg_lspid; pid_t msg_lrpid; time_t msg_stime; time_t msg_rtime; time_t msg_ctime; }; struct msg { struct msg *msg_next; long msg_type; u_short msg_ts; short msg_spot; struct label *label; }; struct msginfo { int msgmax, msgmni, msgmnb, msgtql, msgssz, msgseg; }; int msgctl(int, int, struct msqid_ds *); int msgget(key_t, int); ssize_t msgrcv(int, void *, size_t, long, int); int msgsnd(int, const void *, size_t, int); /sys/sys/shm.h #define SHM_RDONLY 010000 #define SHM_RND 020000 #define SHMLBA PAGE_SIZE #define SHM_R (IPC_R) #define SHM_W (IPC_W) #define SHM_LOCK 11 #define SHM_UNLOCK 12 #define SHM_STAT 13 #define SHM_INFO 14 typedef unsigned int shmatt_t; struct shmid_ds { struct ipc_perm shm_perm; size_t shm_segsz; pid_t shm_lpid; pid_t shm_cpid; shmatt_t shm_nattch; time_t shm_atime; time_t shm_dtime; time_t shm_ctime; }; void *shmat(int, const void *, int); int shmget(key_t, size_t, int); int shmctl(int, int, struct shmid_ds *); int shmdt(const void *); /sys/security/mac/mac_internal.h #define MAC_MAX_SLOTS 4 struct label { int l_flags; intptr_t l_perpolicy[MAC_MAX_SLOTS]; };
-
superriva authored
INFO for the patch: FREEBSD [https://github.com/freebsd/freebsd] /sys/sys/_types.h typedef long __key_t; /sys/sys/types.h typedef __key_t key_t; /sys/sys/ipc.h struct ipc_perm { uid_t cuid; gid_t cgid; uid_t uid; gid_t gid; mode_t mode; unsigned short seq; key_t key; }; key_t ftok(const char *, int); /sys/sys/msg.h typedef unsigned long msglen_t; typedef unsigned long msgqnum_t; struct msqid_ds { struct ipc_perm msg_perm; struct msg *msg_first; struct msg *msg_last; msglen_t msg_cbytes; msgqnum_t msg_qnum; msglen_t msg_qbytes; pid_t msg_lspid; pid_t msg_lrpid; time_t msg_stime; time_t msg_rtime; time_t msg_ctime; }; struct msg { struct msg *msg_next; long msg_type; u_short msg_ts; short msg_spot; struct label *label; }; struct msginfo { int msgmax, msgmni, msgmnb, msgtql, msgssz, msgseg; }; int msgctl(int, int, struct msqid_ds *); int msgget(key_t, int); ssize_t msgrcv(int, void *, size_t, long, int); int msgsnd(int, const void *, size_t, int); /sys/sys/shm.h typedef unsigned int shmatt_t; struct shmid_ds { struct ipc_perm shm_perm; size_t shm_segsz; pid_t shm_lpid; pid_t shm_cpid; shmatt_t shm_nattch; time_t shm_atime; time_t shm_dtime; time_t shm_ctime; }; void *shmat(int, const void *, int); int shmget(key_t, size_t, int); int shmctl(int, int, struct shmid_ds *); int shmdt(const void *); /sys/security/mac/mac_internal.h struct label { int l_flags; intptr_t l_perpolicy[MAC_MAX_SLOTS]; }; Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update build.rs Update mod.rs Update mod.rs Update build.rs Update mod.rs Update build.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update mod.rs Update build.rs Update build.rs Update mod.rs Update mod.rs
-
bors authored
Added O_EXEC, O_SEARCH to solaris and musl, O_PATH to musl. See #566.
-
- Apr 03, 2017
- Apr 01, 2017
-
-
bors authored
Make networking on Solaris/Illumos great again
-
- Mar 31, 2017
-
-
Vojtech Kral authored
-
- Mar 30, 2017
-
-
bors authored
Add fchown
-
bors authored
add UTIME_OMIT, UTIME_NOW on linux
-
Jörg Thalheim authored
-
- Mar 29, 2017
-
-
Jörg Thalheim authored
-
- Mar 27, 2017
- Mar 25, 2017
-
-
Jörg Thalheim authored
-
Jörg Thalheim authored
-
Jörg Thalheim authored
-
Jörg Thalheim authored
-
bors authored
Add FIONREAD for apple/b64 Adds the FIONREAD constant for macos/x86_64 machines.
-
Geoff Cant authored
-
- Mar 24, 2017
-
-
bors authored
add fdopendir
-
Jörg Thalheim authored
-
- Mar 23, 2017
-
-
bors authored
Solaris/Illumos: Add several more filio ioctls MIO needs these
-
bors authored
move *at family to unix apparently supported on all platforms.
-
bors authored
Get CI working again A few changes have necessitated some updates on our end
-
Alex Crichton authored
A few changes have necessitated some updates on our end
-
- Mar 21, 2017
-
-
Vojtech Kral authored
MIO needs these
-
- Mar 20, 2017
-
-
Jörg Thalheim authored
-
- Mar 03, 2017
-
-
bors authored
Add support for the `accept4` system call for FreeBSD* & NetBSD* As outlined in #540. However since support for this system call seems to be committed, but not yet released in NetBSD & BitRig (is BitRig actually still be developed at all, btw?), I'm not sure whether it wouldn't be a better idea to only add OpenBSD support instead? What's the official policy on this?
-
Alexander Schlarb authored
-
- Mar 02, 2017
-
-
bors authored
Bump to 0.2.21 closes https://github.com/rust-lang/libc/issues/539
-
Kamal Marhubi authored
closes https://github.com/rust-lang/libc/issues/539
-
- Mar 01, 2017
-
-
bors authored
Adds many socket related constants Started off adding a few constants to help cleaning up some `nix-rust/nix` issues. Went a little.. further. Adds lots of socket-related constants (`PF_*`, `MSG_*`, `AF_*`, `SO_*`, `SOL_*`, etc.) to linux/bsd flavors. Added constants to `bsd/frebsdlike/dragonfly` for completeness, though they aren't covered by CI. Did not touch `notbsd/linux/s390x.rs`
-
Zac Berkowitz authored
-