This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc-2.0.99 build problems


On 24 Oct 1998, Ulrich Drepper wrote:

> Matt McLean <keys@yikes.com> writes:
> 
> > Try this patch, I think the part that fixes this is where the extra
> > pread/write get removed in the syscalls list. The other pread/write entry
> > has already been fixed for this.
> 
> The patch seems not to be 100% ok.
> 
> > 	* sysdeps/unix/sysv/linux/powerpc/setgid.c: New file.
> > 	* sysdeps/unix/sysv/linux/powerpc/setresgid.c: New file.
> > 	* sysdeps/unix/sysv/linux/powerpc/setresuid.c: New file.
> > 	* sysdeps/unix/sysv/linux/powerpc/setuid.c: New file.
> > 	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_setgid,
> > 	s_setresgid, s_setresuid, and s_setuid.
> 
> Why do you do this?  For PPCs the size of the uid_t and gid_t tpy ein
> the kernel and userland is the same.  Therefore you shouldn't need the
> wrappers.
> 
> If this
> 
> > -s_pread64	pread64	pread		4	__syscall_pread64 
> > -s_pwrite64	pwrite64 pwrite		4	__syscall_pwrite64 
> 
> fixes the problem it's fine.
> 
> Could someone give me a final analysis?

Whoops, my mistake...

10-25-98  Matt McLean  <keys@yikes.com>

	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Remove extraneous
	pread64 and pwrite 64.

Index: sysdeps/unix/sysv/linux/powerpc/syscalls.list
===================================================================
RCS file: /glibc/cvsfiles/libc/sysdeps/unix/sysv/linux/powerpc/syscalls.list,v
retrieving revision 1.8
diff -u -r1.8 syscalls.list
--- libc/sysdeps/unix/sysv/linux/powerpc/syscalls.list	1998/10/22 14:38:02	1.8
+++ libc/sysdeps/unix/sysv/linux/powerpc/syscalls.list	1998/10/25 21:03:20
@@ -1,10 +1,8 @@
 # File name	Caller	Syscall name	# args	Strong name	Weak names
 
+s_chown		chown	chown		3	__syscall_chown
 s_ioctl		ioctl	ioctl		3	__syscall_ioctl
 s_llseek	llseek	_llseek		5	__sys_llseek
-s_chown		chown	chown		3	__syscall_chown
-s_pread64	pread64	pread		4	__syscall_pread64 
-s_pwrite64	pwrite64 pwrite		4	__syscall_pwrite64 
 
 # System calls with wrappers.
 rt_sigaction	-	rt_sigaction	4	__syscall_rt_sigaction



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]