diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 68097d161..c28f3bf18 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2005-04-07 Shaun Jackman + + * libc/sys/linux/inode.c (lchown): New function. + 2005-04-07 Shaun Jackman * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no diff --git a/newlib/libc/sys/linux/inode.c b/newlib/libc/sys/linux/inode.c index ed468c19b..837dae396 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)