]> git.neil.brown.name Git - history.git/commit
[PATCH] remove getname32
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Jun 2002 03:55:28 +0000 (20:55 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 18 Jun 2002 03:55:28 +0000 (20:55 -0700)
commit640889850ea54ba4a8b3a8b23a07eba21f4c8a1d
tree52c30c1ceb2521d12d837aecb62f87079e880f63
parent1f60ade2a44d22a67c75a165b70d66f9d4e0b76e
[PATCH] remove getname32

arch/ppc64/kernel/sys_ppc32.c has a getname32 function.  The only
difference between it and getname() is that it calls do_getname32()
instead of do_getname() (see fs/namei.c).  The difference between
do_getname and do_getname32 is that the former checks to make sure that
the pointer it is passed is less that TASK_SIZE and restricts the length
copied to the lesser of PATH_MAX and (TASK_SIZE - pointer).
do_getname32 uses PAGE_SIZE instead of PATH_MAX.

Anton Blanchard says it is OK to remove getname32.

arch/ia64/ia32/sys_ia32.c defined a getname32(), but nothing used it.

This patch removes both.
arch/ia64/ia32/sys_ia32.c
arch/ppc64/kernel/sys_ppc32.c