Skip to content
Snippets Groups Projects
  1. Jun 14, 2017
  2. Jun 08, 2017
  3. Jun 07, 2017
    • Andrew Salmon's avatar
      add a number of syscalls · c98b9f7d
      Andrew Salmon authored
      vfork, wait4, getresuid, getresgid, personality, vhangup,
      swapon, swapoff, getdomainname, setdomainname, iopl, ioperm
      c98b9f7d
  4. May 29, 2017
  5. May 26, 2017
  6. May 18, 2017
  7. May 07, 2017
  8. May 06, 2017
  9. May 03, 2017
  10. May 02, 2017
    • NODA, Kai's avatar
      Add Linux-specific recvmmsg(2) and sendmmsg(2) · 61c23fb9
      NODA, Kai authored
      
      There is a compatibility issue regarding the type of a flag parameter:
      int vs uint. Linux does declare the syscall to use uint and musl
      followed it, but it is incompatible with other POSIX recv*/send*
      syscalls. So it seems to be wise to follow the glibc version of
      prototypes with int.
      
      Signed-off-by: default avatarNODA, Kai <nodakai@gmail.com>
      61c23fb9
  11. Apr 29, 2017
  12. Apr 28, 2017
  13. Apr 27, 2017
  14. Apr 21, 2017
  15. Apr 20, 2017
  16. Apr 19, 2017
  17. Apr 04, 2017
    • superriva's avatar
      Add IPC,SHM,MSG for Freebsd · 21226161
      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
      21226161
  18. Feb 24, 2017
  19. Feb 21, 2017
  20. Feb 20, 2017
  21. Jan 16, 2017
  22. Dec 04, 2016
  23. Nov 17, 2016
    • Alex Crichton's avatar
      Share the host's `target` directory for tests · c2842463
      Alex Crichton authored
      This helps caching between runs and can help speed up turnaround time for
      various operations. The old android container didn't work out for some reason
      due to permissions so the definition has now been vendored locally to just
      rebuild it each time.
      c2842463
  24. Nov 16, 2016
    • Alan Somers's avatar
      Fix tests on FreeBSD 11 · 9860c293
      Alan Somers authored
      FreeBSD svn r262489 removed some *_MAXID definitions in sys/sysctl.h.  They never
      should've been used outside of the FreeBSD base system anyway.  Mark them as
      deprecated, hide them from the API docs, and disable their tests.
      
      r273250 removed MAP_RENAME and MAP_NORESERVE, flags used by mmap(2), but old
      binaries that use them will still work.  Suppress their test errors.
      
      r294930 changed stack_t.ss_sp from a char* to a void*.  Suppress its test error.
      9860c293
  25. Nov 13, 2016
  26. Nov 05, 2016
  27. Oct 21, 2016
  28. Oct 09, 2016
  29. Sep 30, 2016
Loading