diff options
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/sys/linux/inode.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 68097d1..c28f3bf 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,9 @@ 2005-04-07 Shaun Jackman <sjackman@gmail.com> + * libc/sys/linux/inode.c (lchown): New function. + +2005-04-07 Shaun Jackman <sjackman@gmail.com> + * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no ELIX level is defined. * libc/unix/Makefile.in: Regenerated. diff --git a/newlib/libc/sys/linux/inode.c b/newlib/libc/sys/linux/inode.c index ed468c1..837dae3 100644 --- a/newlib/libc/sys/linux/inode.c +++ b/newlib/libc/sys/linux/inode.c @@ -35,6 +35,7 @@ _syscall3(int,getdents,int,fd,struct dirent *,dirp,unsigned int,count) _syscall2(int,chmod,const char *,path,mode_t,mode) _syscall3(int,chown,const char *,path,uid_t,owner,gid_t,group) _syscall2(int,fchmod,int,filedes,mode_t,mode) +_syscall3(int,lchown,const char *,path,uid_t,owner,gid_t,group) _syscall2(int,lstat,const char *,file_name,struct stat *,buf) _syscall3(int,readlink,const char *,path,char *,buf,size_t,bufsiz) _syscall2(int,symlink,const char *,oldpath,const char *,newpath) |