aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-01-26 20:06:48 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-01-26 20:06:48 +0000
commitfa753f920b64a3f2c50295356e577a7c980c8408 (patch)
tree77236e83cc0583411a75b752a6152d445eb680e0 /internal.h
parent67c5194a104e193ec26bad4013c2a9aa9d73312f (diff)
downloadbusybox-w32-fa753f920b64a3f2c50295356e577a7c980c8408.tar.gz
busybox-w32-fa753f920b64a3f2c50295356e577a7c980c8408.tar.bz2
busybox-w32-fa753f920b64a3f2c50295356e577a7c980c8408.zip
mount and umount could leak loop device allocations causing the system to
quickly run out. Also disable init's SIGHUP handler during shutdown. -Erik git-svn-id: svn://busybox.net/trunk/busybox@341 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 500a63e62..9611c1922 100644
--- a/internal.h
+++ b/internal.h
@@ -175,6 +175,10 @@ extern int check_wildcard_match(const char* text, const char* pattern);
175extern long getNum (const char *cp); 175extern long getNum (const char *cp);
176extern pid_t findInitPid(); 176extern pid_t findInitPid();
177 177
178#if defined BB_FEATURE_MOUNT_LOOP
179extern int del_loop(const char *device);
180#endif
181
178#if defined BB_GUNZIP || defined BB_GZIP || defined BB_PRINTF || defined BB_TAIL 182#if defined BB_GUNZIP || defined BB_GZIP || defined BB_PRINTF || defined BB_TAIL
179extern void *xmalloc (size_t size); 183extern void *xmalloc (size_t size);
180extern void error(char *msg); 184extern void error(char *msg);