RE: memory leak in call_usermodehelper()
From: Srikumar Subramanian
Date: Wed Dec 31 2003 - 14:43:22 EST
Basically, I am not intended to have my own syscall.
I am generating a report on all deleted file and directory. For that I
trapped sys_unlink() function and calling a external program using
call_usermodehelper(). Since sys_unlink() is called very frequently in my
case, memory leak caused by calling call_usermodehelper kills all the
process in the system.
Just to narrow down the problem, I introduced my own syscall.
-----Original Message-----
From: Arjan van de Ven [mailto:arjanv@xxxxxxxxxx]
Sent: Wednesday, December 31, 2003 7:13 AM
To: Srikumar Subramanian
Cc: 'Andrew Morton'; 'linux-kernel@xxxxxxxxxxxxxxx'; Boopathi Veerappan
Subject: RE: memory leak in call_usermodehelper()
On Wed, 2003-12-31 at 06:22, Srikumar Subramanian wrote:
>
> Is there any alternative to call_usermodehelper in kernel 2.4.20?
>
most of all don't implement your own syscalls!
> Hi,
> I am using 2.4.20-8 Redhat 9 kernel.
>
well clearly not quite since you're adding syscalls to it.
Also 2.4.20-8 isn't the current Red Hat Linux 9 kernel; 2.4.20-27.9 is.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/