lkml.org 
[lkml]   [2004]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] - UML - remove some dead code
Date
On Maandag 15 November 2004 00:04, Jeff Dike wrote:
> Bodo pointed out that arch/um/kernel/skas/exec_user.c is dead code, so
> this removes it.

Speaking of dead code: I think you should be able to mostly get rid of
the KERNEL_CALL hack in include/asm-um/unistd.h, since all kernel syscalls
except execve are now gone.

It should be enough to have an out of line version of execve and do

#undef __KERNEL_SYSCALLS
#include "asm/arch/unistd.h"
extern int execve(const char *filename, char *const argv[],
char *const envp[]);

Arnd <><
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.039 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site