summaryrefslogtreecommitdiffstats
path: root/libgo/go/syscall
Commit message (Collapse)AuthorAgeFilesLines
* runtime: Use the clone system call on GNU/Linux.ian2014-09-051-2/+2
| | | | | | | | Without this we weren't supporting the standard Cloneflags field of SysProcAttr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214971 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Set SizeofSockaddrAny to the value the go distribution usesian2013-11-251-1/+1
| | | | | | | | | | | | In particular this means that the names Getsockname returns are not truncated to 26 characters. Fixes issue 6829 https://codereview.appspot.com/31840043/ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205368 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Only call varargs libc functions from C code.ian2013-11-245-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205321 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to October 24 version of master library.ian2013-11-0618-34/+277
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204466 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Add Dup3, {Get,List,Remove,Set}xattr, {Get,Set}priority.ian2013-10-172-0/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203788 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Change AWK split call to use []+ rather than []*.ian2013-08-021-2/+2
| | | | | | | | Using []* fails with the awk that is part of busybox: https://groups.google.com/d/msg/gofrontend-dev/NbQsG_AMDpY/sXCc03kkwn4J git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201455 138bc75d-0d04-0410-961f-82ee72b054a4
* net: Only use GNU/Linux unix socket abstract paths on GNU/Linux.ian2013-07-245-47/+49
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201217 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.1.1.ian2013-07-1614-143/+188
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200974 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/56171ian2013-02-204-25/+72
| | | | | | | | | syscall: Solaris fixes for passing file descriptor. From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196180 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Always use _C_int for C libcalls.ian2013-02-089-48/+48
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195897 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update Go library to master revision 15489/921e53d4863c.ian2013-01-297-168/+174
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/46986ian2013-01-243-13/+16
| | | | | | | | all: prepend #__USER_LABEL_PREFIX__ to mangled Go symbols For old-fashioned Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195438 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to revision 15193:6fdc1974457c of master library.ian2012-12-224-17/+85
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194692 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current master library sources.ian2012-12-121-0/+205
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194460 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Fix splice syscall.ian2012-12-051-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194185 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Fix handling of Unix domain @ addresses.ian2012-11-242-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193783 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current version of master library.ian2012-11-212-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193688 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Force first letter of error message to lower case.ian2012-11-123-6/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193449 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, libgo: Fixes to prepare for 64-bit int.ian2012-11-061-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193254 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall, mksysinfo: Prepare syscall package for 64-bit int.ian2012-11-0213-136/+141
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193112 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: More steps toward separating int and intgo.ian2012-11-011-4/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193059 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: fix creds_test to reliably close os.Fileian2012-10-261-2/+6
| | | | | | | | | | | | | | | | | | | | Uncovered by Uros Bizjak. Before this patch the test would close the file descriptor but not the os.File. When the os.File was GC'ed, the finalizer would close the file descriptor again. That would cause problems if the same file descriptor were returned by a later call to open in another test. On my system: > GOGC=30 go test --- FAIL: TestPassFD (0.04 seconds) passfd_test.go:62: FileConn: dup: bad file descriptor FAIL git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192854 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Solaris portability patches.ian2012-10-251-0/+13
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192819 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current sources.ian2012-10-2311-43/+363
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192704 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.3.ian2012-10-036-36/+143
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192025 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Better SWIG interface for allocating Go memory from C/C++.ian2012-06-041-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188164 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Use -fgo-pkgpath.ian2012-05-143-12/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187485 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52586ian2012-04-301-1/+5
| | | | | | | | | mksysinfo, syscall: Make sure SYS_GETDENTS64 is defined. Fixes build on MIPS GNU/Linux. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186986 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo: More fixes to emulate master Go library.ian2012-04-222-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186685 138bc75d-0d04-0410-961f-82ee72b054a4
* * godump.c (go_output_typedef): Dump size of structs.ian2012-04-221-2/+2
| | | | | | | mksysinfo, syscall: Change Sizeof names from var to const. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186678 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Additional constants, some type corrections.ian2012-04-212-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186655 138bc75d-0d04-0410-961f-82ee72b054a4
* net, syscall: Use native endianness for GNU/Linux netlink code.ian2012-04-201-37/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186640 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall, net: Fix GNU/Linux netlink code for big-endian systems.ian2012-04-031-17/+37
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186123 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Convert errno to error after Exitsyscall.ian2012-03-301-1/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186020 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, libgo: unsafe.{Sizeof,Alignof,Offsetof} return uintptr.ian2012-03-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185946 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Fix errno handling in syscall.Syscall and friends.ian2012-03-231-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185746 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Export {enter,exit}syscall and use it for getaddrinfo.ian2012-03-134-10/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185363 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-03-04 release.ian2012-03-061-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185010 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-02-14 release.ian2012-03-028-13/+70
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184798 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Fill out GNU/Linux support.ian2012-02-293-43/+94
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184669 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Add mount flags, fallocate, statfs.ian2012-02-181-9/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184365 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Change Dup2 to only return an error.ian2012-02-144-18/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184222 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-02-07.ian2012-02-095-44/+466
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184034 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, libgo: Use //extern comments rather than __asm__.ian2012-02-072-6/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183981 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Add syscall.Times.ian2012-02-021-6/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183826 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Add Gettid on GNU/Linux systems.ian2012-01-311-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183775 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Don't use PtraceRegs if it is not defined.ian2012-01-314-40/+62
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183758 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Support socket control messages.ian2012-01-302-15/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183745 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Define IPV6 constants for Irix.ian2012-01-271-0/+9
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183652 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Fix merge errors shown on Solaris.ian2012-01-271-5/+4
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183651 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud