summaryrefslogtreecommitdiff
path: root/src/lib/syscall/file_linux.go
AgeCommit message (Collapse)AuthorFilesLines
2009-06-01auto-generated, renamed, and deleted filesRuss Cox1-193/+0
associated with CL 29709. R=r DELTA=6444 (3476 added, 2958 deleted, 10 changed) OCL=29710 CL=29724
2009-05-18add Getwd, Fchdir, testsRuss Cox1-20/+40
R=r DELTA=215 (186 added, 0 deleted, 29 changed) OCL=28968 CL=28995
2009-05-15os: MkdirAll, RemoveAll, Chmod, Chown, Truncate, Getgroups.Russ Cox1-0/+40
Getuid, etc drop their errors -- they cannot error R=r DELTA=605 (547 added, 12 deleted, 46 changed) OCL=28919 CL=28929
2009-05-13Add os.Link, os.Symlink, os.Readlink.Ian Lance Taylor1-0/+20
R=r,rsc DELTA=161 (161 added, 0 deleted, 0 changed) OCL=28745 CL=28747
2009-04-13lib miscRuss Cox1-0/+6
* exec.LookPath * flag.Args * os.Remove * strings.HasPrefix * strings.HasSuffix * syscall.Rmdir TBR=r DELTA=100 (100 added, 0 deleted, 0 changed) OCL=27373 CL=27392
2009-04-07ChdirRuss Cox1-0/+5
R=r DELTA=17 (17 added, 0 deleted, 0 changed) OCL=27146 CL=27153
2009-02-08First pass at reading directories.Rob Pike1-0/+10
Syscall support. Readdirnames returns array of strings of contents of directory. R=rsc DELTA=216 (201 added, 0 deleted, 15 changed) OCL=24642 CL=24655
2009-02-06portable stat for osRob Pike1-27/+13
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-23/+23
TBR=r OCL=23121 CL=23127
2009-01-16casify syscall and sequelaeRob Pike1-19/+19
R=rsc DELTA=337 (0 added, 1 deleted, 336 changed) OCL=22950 CL=22950
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox1-5/+5
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-09replace assembly casts with unsafe.pointerRuss Cox1-11/+14
R=r DELTA=178 (18 added, 101 deleted, 59 changed) OCL=20822 CL=20826
2008-12-03preparation for exec.Russ Cox1-0/+6
* 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-10-29update linux for int/int32Russ Cox1-1/+1
R=r DELTA=7 (0 added, 0 deleted, 7 changed) OCL=18050 CL=18069
2008-10-29the end of life as we know itKen Thompson1-1/+1
int is new type R=r OCL=18023 CL=18023
2008-10-09Adding Mkdir.Cary Hull1-0/+8
R=rsc APPROVED=rsc DELTA=21 (21 added, 0 deleted, 0 changed) OCL=16794 CL=16803
2008-10-07update code to follow new semicolon rules:Russ Cox1-1/+1
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-09-29* implement Linux epoll for polling i/oRuss Cox1-1/+6
* isolate OS-specific polling goop in Pollster type * move generic poll loop out of fd_darwin.go into fd.go R=r DELTA=782 (448 added, 281 deleted, 53 changed) OCL=16108 CL=16119
2008-09-26move src/syscall to src/lib/syscall.Russ Cox1-0/+84
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