[patch] tux3-2.6.5-A3

Alex Kiernan alex.kiernan at thus.net
Tue May 4 12:56:53 UTC 2004


Anton Blanchard <anton at samba.org> writes:

> > 
> > the latest Tux patch merged to 2.6.5 is available at:
> > 
> >     	redhat.com/~mingo/TUX-patches/tux3-2.6.5-A3
> >  
> > this patch also includes the x86-64 fixes from Alex Kiernan.
> 
> I removed almost all of the in kernel syscalls on ppc64 and it broke
> tux. I think we can use syscalls.h now and call them directly.
> 

Works for me on x86-64 - I added in this fragment to remove unused stuff:

--- linux-2.6.5/include/asm-x86_64/unistd.h.orig	2004-04-26 09:07:51.502573104 +0000
+++ linux-2.6.5/include/asm-x86_64/unistd.h	2004-04-26 09:08:03.705717944 +0000
@@ -724,16 +724,6 @@
 	return sys_wait4(pid, wait_stat, flags, NULL);
 }
 
-static inline long chroot(const char *filename)
-{
-	return sys_chroot(filename);
-}
-
-static inline long chdir(const char *filename)
-{
-	return sys_chdir(filename);
-}
-
 extern long sys_mmap(unsigned long addr, unsigned long len,
 			unsigned long prot, unsigned long flags,
 			unsigned long fd, unsigned long off);


-- 
Alex Kiernan, Principal Engineer, Development, THUS plc





More information about the tux-list mailing list