summaryrefslogtreecommitdiff
path: root/src/lib/syscall/syscall.go
AgeCommit message (Collapse)AuthorFilesLines
2009-06-09mv src/lib to src/pkgRob Pike1-37/+0
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-01new syscall package: manually maintained files and scripts.Russ Cox1-12/+17
auto-generated files and deletions are in another CL. goals for new syscall: * automate as much as possible * do not let clients do unsafe things * use simple types (int not int64) * fewer files the files are renamed from foo_amd64_linux to foo_linux_amd64, both because it reads better (all the linux are related, all the amd64 less so) and because it made it easier to replace the existing ones. R=r DELTA=2336 (2260 added, 6 deleted, 70 changed) OCL=29709 CL=29723
2009-03-06document syscall. all we do is redirect elsewhere.Rob Pike1-0/+7
R=rsc DELTA=7 (7 added, 0 deleted, 0 changed) OCL=25859 CL=25871
2009-02-06portable stat for osRob Pike1-7/+4
add name to os.FD clean up some interfaces R=rsc DELTA=318 (231 added, 44 deleted, 43 changed) OCL=24624 CL=24627
2009-01-20delete exportRuss Cox1-4/+4
TBR=r OCL=23121 CL=23127
2008-12-18convert *[] to [].Russ Cox1-1/+1
R=r OCL=21563 CL=21571
2008-12-09replace assembly casts with unsafe.pointerRuss Cox1-5/+0
R=r DELTA=178 (18 added, 101 deleted, 59 changed) OCL=20822 CL=20826
2008-12-03preparation for exec.Russ Cox1-0/+2
* syscall: add syscall.RawSyscall, which doesn't use sys.entersyscall/sys.exitsyscall add syscall.dup2 add syscall.BytePtrPtr add syscall.Rusage, RusagePtr add syscall.F_GETFD, F_SETFD, FD_CLOEXEC * runtime: clean up, correct signal handling. can now survive (continue running after) a signal. R=r DELTA=394 (286 added, 51 deleted, 57 changed) OCL=20351 CL=20369
2008-09-26move src/syscall to src/lib/syscall.Russ Cox1-0/+31
enforce rule: all kernel data structures and constants go in syscall module. move things that should be in syscall out of net. make net a single package. R=r OCL=15985 CL=15994